aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-09-11Add Micrometer [bff]montrealFiete Ostkamp8-29/+96
- 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 Ostkamp4-27/+27
- 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 Ostkamp10-72/+72
- 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 Ostkamp9-27/+26
- 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 Ostkamp58-298/+264
- 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 Ostkamp16-41/+40
Issue-ID: PORTALNG-48 Change-Id: I8e8a410bd4ea399550975fc509a9d34bb2fe9c92 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-22Migrate away from legacy gradle buildscript syntaxFiete Ostkamp9-186/+210
- replace the buildscript way of declaring plugins with the plugins {} block - have duplicate openapi client declarations since programmatic way of registering openapiGenerate task does not seem to be working Issue-ID: PORTALNG-47 Change-Id: I9e007127726e558363409d1b224dc7b2b9e52719 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-21Upgrade gradle wrapper to 8 [bff]Fiete Ostkamp2-2/+2
Issue-ID: PORTALNG-43 Change-Id: I8e80b4ec996afb11cb09b47b8daf0b197c7ce466 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-21Use more of the new plugin syntax in the bff build.gradle filesFiete Ostkamp8-51/+122
- replace apply plugin with plugin {} block syntax - ultimately the buildscript should be replaced, but that currently leads to a StackOverflow during the build Issue-ID: PORTALNG-42 Change-Id: I6c65127c3f6b8e095ccffb7e930576461fd5901c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-08-16Consistently use the bff name in the bff code baseFiete Ostkamp73-338/+329
- 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-21Upgrade bff openapi generator to 6.6.0Fiete Ostkamp2-1/+8
Issue-ID: PORTALNG-21 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I0cf78784b216a80cf6b31fd47fe6ed7e4a8844f5
2023-07-19Remove vavr from the bff - part 2Fiete Ostkamp4-63/+61
Issue-ID: PORTALNG-18 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I54dece01debdc487bdc6c38df1141ddae1f2e97f
2023-07-18Rename bff artefactFiete Ostkamp3-10/+10
Issue-ID: PORTALNG-17 Change-Id: I1d22a38826891aad79c2250128f941c930987536 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2023-07-11Remove vavrFiete Ostkamp25-500/+123
Issue-ID: PORTALNG-12 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I13cc4998d082b1dbd3ab1c8986e4525cd177cf89
2023-05-15Switch bff docker base imageFiete Ostkamp3-17/+6
Issue-ID: PORTALNG-1 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I7afde9193743e42851e698a1f826883e2c8161d7
2023-04-14Upload bffFiete Ostkamp116-0/+11848
Issue-ID: PORTAL-1083 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I50f0a2db2dab28354c32c1ebf5a5e22afb0faade
2023-04-05Merge "Automation adds INFO.yaml"Kevin Sandi1-0/+65
2023-03-29Automation adds INFO.yamlLF Jenkins CI1-0/+65
Issue-ID: CIMAN-33 Change-Id: I3451dc61f5f0dd906ef6dcd549395a7926325e9a Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2023-03-29Chore: Automation adds .gitreviewlf-jobbuilder1-0/+5
Issue-ID: CIMAN-33 Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org> Change-Id: I26b92dba674445cc790b2ec4f117f876e03c80a4
2023-03-29Initial empty repositoryLF Jenkins CI0-0/+0