aboutsummaryrefslogtreecommitdiffstats
path: root/development
AgeCommit message (Collapse)AuthorFilesLines
2024-05-07Make openapi dependencies in bff compileOnly0.1.0Fiete Ostkamp1-1/+1
- make openapi deps compileOnly - adjust instructions for locally running the app Issue-ID: PORTALNG-95 Change-Id: I0be66ada6046b527b6a5b5c74546193b78535b51 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-11Remove hardcoded /auth from the keycloak urls in bffFiete Ostkamp3-5/+5
- it should be possible not to configure /auth in the Keycloak url since newer versions do not use it Issue-ID: PORTALNG-85 Change-Id: I288c8b954db185ed22793db0107d14e314d17c26 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-03-04Update bff dependenciesFiete Ostkamp1-4/+11
- update spring boot from 3.0.4 to 3.2.2 - update openapi generator from 7.0.0-beta to 7.3.0 - update micrometer from 1.0.0 to 1.1.4 - add localhost as valid redirect url for the keycloak realm Issue-ID: PORTALNG-74 Change-Id: I07da27d1b24bb15530d3de49c725ec9e28c40a8c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-09-11Add Micrometer [bff]montrealFiete Ostkamp2-1/+22
- add Micrometer dependencies - uses Zipkin as trace protocol, typically for port 9411 - requires changing dependency injection of WebClient.Builder [1] [1] Micrometer is injecting the trace context into the WebClient.Builder bean. To add the ExchangeFilterFunctions for authentication, errorhandling and logging, the existing bean needs to be modified instead of statically creating a new one Issue-ID: PORTALNG-57 Change-Id: I13dd18d297cd56fa2dfbb525723c79f4abb41f87 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-09-04Adjust mongo related environment variables in bff docker-compose fileFiete Ostkamp3-26/+25
- services are expecting MONGO_ prefix instead of <SERVICENAME>_ for mongo related settings - rename requests file Issue-ID: PORTALNG-55 Change-Id: I371485e5430955907de7ee58c60fd91dd021c2f2 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-29Change role prefix from onap_ to portal_ [bff]Fiete Ostkamp3-25/+25
- change the expected role prefix that is used for RBAC from onap_ to portal_ - fix docker-compose file Issue-ID: PORTALNG-32 Change-Id: Ie3d93d5659ce0573c99278afce5e08fc57d442fd Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-29Consistently use the preferences and history names in the bff code base - Part 2Fiete Ostkamp2-15/+15
- some history related properties still had a portal prefix Issue-ID: PORTALNG-50 Change-Id: Ia044b42c306b8a8837d1cda92f101aebe62283a1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-23Consistently use the preferences and history names in the bff code baseFiete Ostkamp2-16/+16
- rename openapi clients (client-portal-prefs -> client-preferences, client-portal-history -> client-history, client-portal-keycloak -> client-keycloak) - rename related spring configurations (portal-prefs -> preferences, portal-history -> history) - rename related environment variables (PORTAL_PREFS_URL -> PREFERENCES_URL, PORTAL_HISTORY_URL -> HISTORY_URL) Note that the changes to the configurations and variables affect external services using it and the bff chart Issue-ID: PORTALNG-49 Change-Id: I434abdf130a5a81534c2387143b296122408d452 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-16Consistently use the bff name in the bff code baseFiete Ostkamp1-3/+3
- rename package name from org.onap.portal.bff to org.onap.portalng.bff - replace all other occurences of portal-bff with bff Other: - remove Sonarqube plugin Issue-ID: PORTALNG-40 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I50548630212e46a0ab84c88ff5fef743dafe9d38
2023-04-14Upload bffFiete Ostkamp7-0/+580
Issue-ID: PORTAL-1083 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I50f0a2db2dab28354c32c1ebf5a5e22afb0faade