bcgov/nr-forest-client-api

FSADT1-420: Update existing forest client api to use java

Closed this issue · 3 comments

FSADT1-420 Update existing forest client api to use java

  • Maria copy findbynumber and findallnonindividuals over to Maria’s branch
  • Maria continue with apis:
    • add findallnonindividuals request
    • add find by name, filter by client type
    • create a basic test
    • add more core config
    • redirect base url to swagger page
  • Catherine:
    • create oracle connection locally and basic api
    • create docker file
    • enable basic pipeline
    • check how to make oracle connection in openshift
    • enable swagger
    • check Postgres connection
    • update openshift API Gateway to the new api

Tutorial:
nr-arch-templates for remote oracle connection through openshift for java app
spring boot simple start
spring boot oracle db example

Support oracle connection in openshift:

  • InstallCert.java file is used to auto grab certificate (we can just use it, no need to modify anything)
  • startup.sh run the command to setup certificate automatically and then start the app

For this task we will use Spring Boot V2 and Maven aiming to upgrade to V3 as soon as it is available.

Here is what other teams are using and their reasons:

  • Quarkus because Spring Boot does not provide native image support
  • Quarkus does not have GA for Gradle
  • Native images are ideal for cloud native deployments
  • Native images are strongly encouraged if no oracle DB connection is required.

ref: #46
ref: #47
ref: #48
ref: #49