Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve docs and oracle development #534

Merged
merged 12 commits into from
Oct 26, 2023
Merged

Conversation

RMCampos
Copy link
Collaborator

@RMCampos RMCampos commented Oct 2, 2023

Description

These changes mostly update readme files providing more accurate information. But also create a new service in the docker compose for Oracle API.

You can run oracle locally with:

docker compose --profile oracle up

Note you'll need VPN.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested locally;

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Any successful deployments (not always required) will be available below.
Backend
Frontend
Oracle-API

Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.
.gitignore Show resolved Hide resolved
@DerekRoberts DerekRoberts marked this pull request as draft October 4, 2023 00:00
@RMCampos RMCampos marked this pull request as ready for review October 24, 2023 12:38
oracle-api/jssecacerts Outdated Show resolved Hide resolved
@RMCampos RMCampos requested a review from craigyu October 24, 2023 18:26
@RMCampos RMCampos merged commit 70a2839 into main Oct 26, 2023
20 checks passed
@RMCampos RMCampos deleted the chore/update-readmes branch October 26, 2023 14:38
craigyu pushed a commit that referenced this pull request Nov 8, 2023
* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481
RMCampos added a commit that referenced this pull request Nov 9, 2023
* Feat/480 replace keycloak by fam for authentication on fe (#578)

* feat: replace keycloak by fam

Issue #480

These changes are the first changes to get FAM working with SPAR since
FAM is the preferred authentication library for the ministry
applications.

* feat: remove context not required anymore

Issue #480

This change removes the Context Authentication file created when using
keycloak, not needed anymore, because now there's an authentication
service created that will handle everything.

* feat: fam working locally in the front end

Issue #480

This change updates files in the front end in order of getting it
working with FAM and AWS Cognito authentication.
Note that this is a working in progress, which means you may find some
console log.

* feat: disable authentication in the back end

Issue #480

This commit update the back end service to remove all authentication and
authorization handling for now, since it will be tackled in a future
task issue #481.

* fix: wrong docker compose yml identation

Issue #480

Simply fix the docker-compose.yml file identation.

* feat: disable backend security

Issue #480

This change disables the security in the back end REST api and allows
actuator endpoints to be accessed.

* feat: add context provider for a better usage

Issue #480

This change get back all context-related files and components to work
closely with what we have for keycloak.

* feat: create header between FE and BE

Issue #480

A simple header was created to enable users to keep using SPAR client
with usual activities until we get #481 finished.

* test: fix user authentication helper test

Issue #480

Fix tests and javadoc broken checkstyle.

* test: split context and provider and fix land test

Issue #480

Having context and provider splited into two files make it possible to
mock values for testing components.

* tests: get all tests passing related to auth

Issue #480

Now all tests are working and passing. There's still issues related to
favourite activities mock and morage js, though.

* feat: remove old use auth hook created

Issue #480

Remove use auth and replace it by use context with the authentication
context name.

* feat: add runtime hint for http servlet request

Issue #480

Runtime Hints required for graal vm and cloud native.

* chore: add javadoc comments

Issue #480

* feat: add runtime hints for cloud native

Issue #480

* ci: add new env vars to workflows

Issue #480

Yep, just that.

* feat: prevent access from missing env var

Issue #480

* chore: fix warnings and issues raised by vscode

Issue #480

* test: add user authentication test for temporary case

* VITE_AWS_DOMAIN

* VITE_AWS_DOMAIN try 2

* VITE_AWS_DOMAIN try 3

* chore: remove unused code

issue #480

* chore: remove all keycloak related references

issue #480

* chore: improve vite init global

issue #480

* ci: crated docker compose test file and fix dockerfiles

issue #480

* feat: improve login redirects for a better ux

issue #480

* feat: add try catch on signout

issue #480

* feat: remove await from logout

* Test heap size builds

* Dial down max-old-space-size

* feat: add refresh token function

issue #480

* feat: get cypress working with FAM

issue #480

* chore: fix authentication issues on oracle-api

* feat: improve authentication for business bce-id

issue #480

* test: get cypress working with fam

issue #480

* test: update cypress test workflow to use oracle dev

issue #480

* chore: remove uneeded variable from landing page

* fix: refactor routing, fix cypress, housekeeping

* fix: remove code smells

* fix: change sonar exclusion

* feat: sign out feature redirect issue

issue #480

* test: fix cypress test user name

issue #480

* fix: remove try catch blocks

* fix: remove role req

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* feat: replace jwt decode and roles to use fam authorization on be (#585)

* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 13, 2024
* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 13, 2024
* Feat/480 replace keycloak by fam for authentication on fe (#578)

* feat: replace keycloak by fam

Issue #480

These changes are the first changes to get FAM working with SPAR since
FAM is the preferred authentication library for the ministry
applications.

* feat: remove context not required anymore

Issue #480

This change removes the Context Authentication file created when using
keycloak, not needed anymore, because now there's an authentication
service created that will handle everything.

* feat: fam working locally in the front end

Issue #480

This change updates files in the front end in order of getting it
working with FAM and AWS Cognito authentication.
Note that this is a working in progress, which means you may find some
console log.

* feat: disable authentication in the back end

Issue #480

This commit update the back end service to remove all authentication and
authorization handling for now, since it will be tackled in a future
task issue #481.

* fix: wrong docker compose yml identation

Issue #480

Simply fix the docker-compose.yml file identation.

* feat: disable backend security

Issue #480

This change disables the security in the back end REST api and allows
actuator endpoints to be accessed.

* feat: add context provider for a better usage

Issue #480

This change get back all context-related files and components to work
closely with what we have for keycloak.

* feat: create header between FE and BE

Issue #480

A simple header was created to enable users to keep using SPAR client
with usual activities until we get #481 finished.

* test: fix user authentication helper test

Issue #480

Fix tests and javadoc broken checkstyle.

* test: split context and provider and fix land test

Issue #480

Having context and provider splited into two files make it possible to
mock values for testing components.

* tests: get all tests passing related to auth

Issue #480

Now all tests are working and passing. There's still issues related to
favourite activities mock and morage js, though.

* feat: remove old use auth hook created

Issue #480

Remove use auth and replace it by use context with the authentication
context name.

* feat: add runtime hint for http servlet request

Issue #480

Runtime Hints required for graal vm and cloud native.

* chore: add javadoc comments

Issue #480

* feat: add runtime hints for cloud native

Issue #480

* ci: add new env vars to workflows

Issue #480

Yep, just that.

* feat: prevent access from missing env var

Issue #480

* chore: fix warnings and issues raised by vscode

Issue #480

* test: add user authentication test for temporary case

* VITE_AWS_DOMAIN

* VITE_AWS_DOMAIN try 2

* VITE_AWS_DOMAIN try 3

* chore: remove unused code

issue #480

* chore: remove all keycloak related references

issue #480

* chore: improve vite init global

issue #480

* ci: crated docker compose test file and fix dockerfiles

issue #480

* feat: improve login redirects for a better ux

issue #480

* feat: add try catch on signout

issue #480

* feat: remove await from logout

* Test heap size builds

* Dial down max-old-space-size

* feat: add refresh token function

issue #480

* feat: get cypress working with FAM

issue #480

* chore: fix authentication issues on oracle-api

* feat: improve authentication for business bce-id

issue #480

* test: get cypress working with fam

issue #480

* test: update cypress test workflow to use oracle dev

issue #480

* chore: remove uneeded variable from landing page

* fix: refactor routing, fix cypress, housekeeping

* fix: remove code smells

* fix: change sonar exclusion

* feat: sign out feature redirect issue

issue #480

* test: fix cypress test user name

issue #480

* fix: remove try catch blocks

* fix: remove role req

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* feat: replace jwt decode and roles to use fam authorization on be (#585)

* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* Feat/480 replace keycloak by fam for authentication on fe (#578)

* feat: replace keycloak by fam

Issue #480

These changes are the first changes to get FAM working with SPAR since
FAM is the preferred authentication library for the ministry
applications.

* feat: remove context not required anymore

Issue #480

This change removes the Context Authentication file created when using
keycloak, not needed anymore, because now there's an authentication
service created that will handle everything.

* feat: fam working locally in the front end

Issue #480

This change updates files in the front end in order of getting it
working with FAM and AWS Cognito authentication.
Note that this is a working in progress, which means you may find some
console log.

* feat: disable authentication in the back end

Issue #480

This commit update the back end service to remove all authentication and
authorization handling for now, since it will be tackled in a future
task issue #481.

* fix: wrong docker compose yml identation

Issue #480

Simply fix the docker-compose.yml file identation.

* feat: disable backend security

Issue #480

This change disables the security in the back end REST api and allows
actuator endpoints to be accessed.

* feat: add context provider for a better usage

Issue #480

This change get back all context-related files and components to work
closely with what we have for keycloak.

* feat: create header between FE and BE

Issue #480

A simple header was created to enable users to keep using SPAR client
with usual activities until we get #481 finished.

* test: fix user authentication helper test

Issue #480

Fix tests and javadoc broken checkstyle.

* test: split context and provider and fix land test

Issue #480

Having context and provider splited into two files make it possible to
mock values for testing components.

* tests: get all tests passing related to auth

Issue #480

Now all tests are working and passing. There's still issues related to
favourite activities mock and morage js, though.

* feat: remove old use auth hook created

Issue #480

Remove use auth and replace it by use context with the authentication
context name.

* feat: add runtime hint for http servlet request

Issue #480

Runtime Hints required for graal vm and cloud native.

* chore: add javadoc comments

Issue #480

* feat: add runtime hints for cloud native

Issue #480

* ci: add new env vars to workflows

Issue #480

Yep, just that.

* feat: prevent access from missing env var

Issue #480

* chore: fix warnings and issues raised by vscode

Issue #480

* test: add user authentication test for temporary case

* VITE_AWS_DOMAIN

* VITE_AWS_DOMAIN try 2

* VITE_AWS_DOMAIN try 3

* chore: remove unused code

issue #480

* chore: remove all keycloak related references

issue #480

* chore: improve vite init global

issue #480

* ci: crated docker compose test file and fix dockerfiles

issue #480

* feat: improve login redirects for a better ux

issue #480

* feat: add try catch on signout

issue #480

* feat: remove await from logout

* Test heap size builds

* Dial down max-old-space-size

* feat: add refresh token function

issue #480

* feat: get cypress working with FAM

issue #480

* chore: fix authentication issues on oracle-api

* feat: improve authentication for business bce-id

issue #480

* test: get cypress working with fam

issue #480

* test: update cypress test workflow to use oracle dev

issue #480

* chore: remove uneeded variable from landing page

* fix: refactor routing, fix cypress, housekeeping

* fix: remove code smells

* fix: change sonar exclusion

* feat: sign out feature redirect issue

issue #480

* test: fix cypress test user name

issue #480

* fix: remove try catch blocks

* fix: remove role req

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* feat: replace jwt decode and roles to use fam authorization on be (#585)

* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* Feat/480 replace keycloak by fam for authentication on fe (#578)

* feat: replace keycloak by fam

Issue #480

These changes are the first changes to get FAM working with SPAR since
FAM is the preferred authentication library for the ministry
applications.

* feat: remove context not required anymore

Issue #480

This change removes the Context Authentication file created when using
keycloak, not needed anymore, because now there's an authentication
service created that will handle everything.

* feat: fam working locally in the front end

Issue #480

This change updates files in the front end in order of getting it
working with FAM and AWS Cognito authentication.
Note that this is a working in progress, which means you may find some
console log.

* feat: disable authentication in the back end

Issue #480

This commit update the back end service to remove all authentication and
authorization handling for now, since it will be tackled in a future
task issue #481.

* fix: wrong docker compose yml identation

Issue #480

Simply fix the docker-compose.yml file identation.

* feat: disable backend security

Issue #480

This change disables the security in the back end REST api and allows
actuator endpoints to be accessed.

* feat: add context provider for a better usage

Issue #480

This change get back all context-related files and components to work
closely with what we have for keycloak.

* feat: create header between FE and BE

Issue #480

A simple header was created to enable users to keep using SPAR client
with usual activities until we get #481 finished.

* test: fix user authentication helper test

Issue #480

Fix tests and javadoc broken checkstyle.

* test: split context and provider and fix land test

Issue #480

Having context and provider splited into two files make it possible to
mock values for testing components.

* tests: get all tests passing related to auth

Issue #480

Now all tests are working and passing. There's still issues related to
favourite activities mock and morage js, though.

* feat: remove old use auth hook created

Issue #480

Remove use auth and replace it by use context with the authentication
context name.

* feat: add runtime hint for http servlet request

Issue #480

Runtime Hints required for graal vm and cloud native.

* chore: add javadoc comments

Issue #480

* feat: add runtime hints for cloud native

Issue #480

* ci: add new env vars to workflows

Issue #480

Yep, just that.

* feat: prevent access from missing env var

Issue #480

* chore: fix warnings and issues raised by vscode

Issue #480

* test: add user authentication test for temporary case

* VITE_AWS_DOMAIN

* VITE_AWS_DOMAIN try 2

* VITE_AWS_DOMAIN try 3

* chore: remove unused code

issue #480

* chore: remove all keycloak related references

issue #480

* chore: improve vite init global

issue #480

* ci: crated docker compose test file and fix dockerfiles

issue #480

* feat: improve login redirects for a better ux

issue #480

* feat: add try catch on signout

issue #480

* feat: remove await from logout

* Test heap size builds

* Dial down max-old-space-size

* feat: add refresh token function

issue #480

* feat: get cypress working with FAM

issue #480

* chore: fix authentication issues on oracle-api

* feat: improve authentication for business bce-id

issue #480

* test: get cypress working with fam

issue #480

* test: update cypress test workflow to use oracle dev

issue #480

* chore: remove uneeded variable from landing page

* fix: refactor routing, fix cypress, housekeeping

* fix: remove code smells

* fix: change sonar exclusion

* feat: sign out feature redirect issue

issue #480

* test: fix cypress test user name

issue #480

* fix: remove try catch blocks

* fix: remove role req

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* feat: replace jwt decode and roles to use fam authorization on be (#585)

* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>
DerekRoberts added a commit that referenced this pull request May 14, 2024
* Feat/480 replace keycloak by fam for authentication on fe (#578)

* feat: replace keycloak by fam

Issue #480

These changes are the first changes to get FAM working with SPAR since
FAM is the preferred authentication library for the ministry
applications.

* feat: remove context not required anymore

Issue #480

This change removes the Context Authentication file created when using
keycloak, not needed anymore, because now there's an authentication
service created that will handle everything.

* feat: fam working locally in the front end

Issue #480

This change updates files in the front end in order of getting it
working with FAM and AWS Cognito authentication.
Note that this is a working in progress, which means you may find some
console log.

* feat: disable authentication in the back end

Issue #480

This commit update the back end service to remove all authentication and
authorization handling for now, since it will be tackled in a future
task issue #481.

* fix: wrong docker compose yml identation

Issue #480

Simply fix the docker-compose.yml file identation.

* feat: disable backend security

Issue #480

This change disables the security in the back end REST api and allows
actuator endpoints to be accessed.

* feat: add context provider for a better usage

Issue #480

This change get back all context-related files and components to work
closely with what we have for keycloak.

* feat: create header between FE and BE

Issue #480

A simple header was created to enable users to keep using SPAR client
with usual activities until we get #481 finished.

* test: fix user authentication helper test

Issue #480

Fix tests and javadoc broken checkstyle.

* test: split context and provider and fix land test

Issue #480

Having context and provider splited into two files make it possible to
mock values for testing components.

* tests: get all tests passing related to auth

Issue #480

Now all tests are working and passing. There's still issues related to
favourite activities mock and morage js, though.

* feat: remove old use auth hook created

Issue #480

Remove use auth and replace it by use context with the authentication
context name.

* feat: add runtime hint for http servlet request

Issue #480

Runtime Hints required for graal vm and cloud native.

* chore: add javadoc comments

Issue #480

* feat: add runtime hints for cloud native

Issue #480

* ci: add new env vars to workflows

Issue #480

Yep, just that.

* feat: prevent access from missing env var

Issue #480

* chore: fix warnings and issues raised by vscode

Issue #480

* test: add user authentication test for temporary case

* VITE_AWS_DOMAIN

* VITE_AWS_DOMAIN try 2

* VITE_AWS_DOMAIN try 3

* chore: remove unused code

issue #480

* chore: remove all keycloak related references

issue #480

* chore: improve vite init global

issue #480

* ci: crated docker compose test file and fix dockerfiles

issue #480

* feat: improve login redirects for a better ux

issue #480

* feat: add try catch on signout

issue #480

* feat: remove await from logout

* Test heap size builds

* Dial down max-old-space-size

* feat: add refresh token function

issue #480

* feat: get cypress working with FAM

issue #480

* chore: fix authentication issues on oracle-api

* feat: improve authentication for business bce-id

issue #480

* test: get cypress working with fam

issue #480

* test: update cypress test workflow to use oracle dev

issue #480

* chore: remove uneeded variable from landing page

* fix: refactor routing, fix cypress, housekeeping

* fix: remove code smells

* fix: change sonar exclusion

* feat: sign out feature redirect issue

issue #480

* test: fix cypress test user name

issue #480

* fix: remove try catch blocks

* fix: remove role req

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* feat: replace jwt decode and roles to use fam authorization on be (#585)

* chore: improve docs and oracle development (#534)

* docs: update readme file with latest notes

No issue-related.

This change updates the repo readme file which contains information of
the existing services and applications.

* docs: improve documentation in general

No issue

* feat: allows oracle api to run and develop from docker

No issue

* test: vegetation code test improvements

* chore: fix checkstyle

* ci: add env var for oracle ca certs file

* feat: remove jssecacerts file and add script for fetching it

---------

Co-authored-by: Derek Roberts <[email protected]>

* fix: wrong keycloak realm url for prod (#580)

* fix: wrong keycloak realm url for prod

issue #553

* ci: disable triggers temporarily

* fix: spring pagination is zero-based (#584)

* fix: spring pagination is zero-based

issue #582

* fix: get triggers back wrongly merged in a previous pr

* fix: default page index value for swagger when finding seedlots by user

issue #582

* feat: backend and oracle decode fam cognito token

issue #481

* [Snyk] Security upgrade axios from 1.4.0 to 1.6.0 (#592)

* fix: frontend/package.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459

* package-lock.json

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>

* Update babel deps for subdep vulterability (#599)

* Bump vitest for subdep get-func-name vulerability (#601)

* Use override to bring postcss up to patched ver (#606)

* Feat/386 enable oracle api to send logs to opensearch (#436)

* feat: creating and adjusting scripts

* feat: creating new config files for fluentbit

* feat: adjusting scripts

* fix: fixing comment

* fix: adjusting property

* fix: fixing fluentbit deploy path on the workflows

* feat: scape double quotes for file logging

issue #386

* feat: update log patterns and logging levels

issue #386

* ci: add opensearch oracle-api environment flag

issue #386

* feat: add oracle-api config files for fluentbit

issue #386

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Craig Yu <[email protected]>

* feat: add user id provided by the idp and email

* chore: remove comment with real name

issue #481

* chore: remove comment with real information

issue #481

* ci: add build arg for backend

issue #481

* ci: add build arg for backend round 2

issue #481

* ci: add build arg for backend

issue #481

* feat: add default aws cognito issuer uri

issue #481

* ci: add missing env var to oracle api

issue #481

* ci: fix env var for postgres and oracle

issue #481

---------

Co-authored-by: Ricardo Campos <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants