aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/main
AgeCommit message (Collapse)AuthorFilesLines
2024-10-23add KeycloakPermissionFilterStefan Dierichs8-68/+151
Issue-ID: PORTALNG-117 Change-Id: If3ba5969dbbdd6fbf7488e7f46831d6f9ff5550c Signed-off-by: Stefan Dierichs <s.dierichs@telekom.de>
2024-09-04Update spring-boot in bffFiete Ostkamp4-23/+17
- update spring-boot (3.2.4 -> 3.3.3) - add micrometer-registry-prometheus dependency for metrics Issue-ID: PORTALNG-116 Change-Id: Iebda696126bdd42bdd4c48d363fe61a781a20f13 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-16Make rbac excluded endpoints configurablenewdelhiFiete Ostkamp4-28/+30
- introduce bff.rbac.endpoints-excluded config - add some performance improvements for role checking - resolve compilation warning related to missing swagger dependency Issue-ID: PORTALNG-100 Change-Id: I38ac942f0731a3297a797a09402f20aa6efc3b58 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-07Read app version from version.propertiesFiete Ostkamp1-5/+7
- read app version from version.properties - make openapi dependencies compileOnly - run spotless formatter Issue-ID: PORTALNG-94 Change-Id: I3d3b9f057bc998d90763101ac8f3b32a0df280c1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-04-11Remove hardcoded /auth from the keycloak urls in bffFiete Ostkamp1-1/+1
- 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>
2023-09-11Add Micrometer [bff]montrealFiete Ostkamp2-27/+60
- 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-08-29Change role prefix from onap_ to portal_ [bff]Fiete Ostkamp1-1/+1
- 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-6/+6
- 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 Ostkamp13-56/+53
- 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-22Update to spring boot 3Fiete Ostkamp8-27/+25
Issue-ID: PORTALNG-48 Change-Id: I8e8a410bd4ea399550975fc509a9d34bb2fe9c92 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-16Consistently use the bff name in the bff code baseFiete Ostkamp28-148/+147
- 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-07-19Remove vavr from the bff - part 2Fiete Ostkamp3-59/+61
Issue-ID: PORTALNG-18 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I54dece01debdc487bdc6c38df1141ddae1f2e97f
2023-07-11Remove vavrFiete Ostkamp8-207/+34
Issue-ID: PORTALNG-12 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I13cc4998d082b1dbd3ab1c8986e4525cd177cf89
2023-04-14Upload bffFiete Ostkamp31-0/+2562
Issue-ID: PORTAL-1083 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I50f0a2db2dab28354c32c1ebf5a5e22afb0faade