summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Fiete Ostkamp [Tue, 7 May 2024 12:20:16 +0000 (14:20 +0200)]
Read app version from version.properties
- 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>
Jessica Wagantall [Thu, 2 May 2024 15:12:54 +0000 (08:12 -0700)]
Fix: Release 0.0.9 version
Issue-ID: CIMAN-33
Change-Id: I67a122f40b3c7f8f0eaa7daa2f315a197e8bf2f6
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Jessica Wagantall [Mon, 29 Apr 2024 18:25:27 +0000 (11:25 -0700)]
Fix: Add version.properties file
Needed by Docker stage to manage the image version
Issue-ID: CIMAN-33
Change-Id: Ia30e043fd516aa62bc3b7e53b6a6844754131d3a
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Fiete Ostkamp [Thu, 11 Apr 2024 11:57:10 +0000 (13:57 +0200)]
Remove hardcoded /auth from the keycloak urls in bff
- 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>
Fiete Ostkamp [Mon, 8 Apr 2024 13:26:28 +0000 (15:26 +0200)]
Update openapi generator and spring boot in bff
Issue-ID: PORTALNG-84
Change-Id: Ie6a1bd0a93354828f176ba1ed4a92cabbcef3310
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Jessica Wagantall [Wed, 6 Mar 2024 01:36:09 +0000 (17:36 -0800)]
CI: Add call to GHA workflow for gradle verify and CLM
- This call is silent and does not add a vote.
Issue-ID: CIMAN-33
Change-Id: Ib847186ea1361903ce2b196e045f70395d70118a
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Fiete Ostkamp [Mon, 4 Mar 2024 08:03:11 +0000 (09:03 +0100)]
Update bff dependencies
- 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>
Fiete Ostkamp [Fri, 1 Mar 2024 11:54:20 +0000 (12:54 +0100)]
portal-ng pods run under root user
- use non-root 'nobody' user
Issue-ID: PORTALNG-67
Change-Id: I9f5c90b1dc51565630309ce4f55fc7cfe8840145
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 6 Sep 2023 06:32:33 +0000 (08:32 +0200)]
Add Micrometer [bff]
- 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>
Fiete Ostkamp [Mon, 4 Sep 2023 14:32:37 +0000 (16:32 +0200)]
Adjust mongo related environment variables in bff docker-compose file
- 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>
Fiete Ostkamp [Tue, 29 Aug 2023 08:30:45 +0000 (10:30 +0200)]
Change role prefix from onap_ to portal_ [bff]
- 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>
Fiete Ostkamp [Tue, 29 Aug 2023 07:34:06 +0000 (09:34 +0200)]
Consistently use the preferences and history names in the bff code base - Part 2
- 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>
Fiete Ostkamp [Wed, 23 Aug 2023 07:54:43 +0000 (09:54 +0200)]
Consistently use the preferences and history names in the bff code base
- 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>
Fiete Ostkamp [Tue, 22 Aug 2023 14:04:30 +0000 (16:04 +0200)]
Update to spring boot 3
Issue-ID: PORTALNG-48
Change-Id: I8e8a410bd4ea399550975fc509a9d34bb2fe9c92
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 22 Aug 2023 09:58:20 +0000 (09:58 +0000)]
Migrate away from legacy gradle buildscript syntax
- 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>
Fiete Ostkamp [Mon, 21 Aug 2023 09:32:13 +0000 (09:32 +0000)]
Upgrade gradle wrapper to 8 [bff]
Issue-ID: PORTALNG-43
Change-Id: I8e80b4ec996afb11cb09b47b8daf0b197c7ce466
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 21 Aug 2023 08:51:07 +0000 (08:51 +0000)]
Use more of the new plugin syntax in the bff build.gradle files
- 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>
Fiete Ostkamp [Wed, 16 Aug 2023 08:01:39 +0000 (08:01 +0000)]
Consistently use the bff name in the bff code base
- 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
Fiete Ostkamp [Fri, 21 Jul 2023 07:50:50 +0000 (07:50 +0000)]
Upgrade bff openapi generator to 6.6.0
Issue-ID: PORTALNG-21
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I0cf78784b216a80cf6b31fd47fe6ed7e4a8844f5
Fiete Ostkamp [Wed, 19 Jul 2023 09:12:31 +0000 (09:12 +0000)]
Remove vavr from the bff - part 2
Issue-ID: PORTALNG-18
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I54dece01debdc487bdc6c38df1141ddae1f2e97f
Fiete Ostkamp [Tue, 18 Jul 2023 07:51:34 +0000 (07:51 +0000)]
Rename bff artefact
Issue-ID: PORTALNG-17
Change-Id: I1d22a38826891aad79c2250128f941c930987536
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 11 Jul 2023 08:18:56 +0000 (08:18 +0000)]
Remove vavr
Issue-ID: PORTALNG-12
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I13cc4998d082b1dbd3ab1c8986e4525cd177cf89
Fiete Ostkamp [Mon, 15 May 2023 07:35:26 +0000 (07:35 +0000)]
Switch bff docker base image
Issue-ID: PORTALNG-1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I7afde9193743e42851e698a1f826883e2c8161d7
Fiete Ostkamp [Fri, 14 Apr 2023 11:44:19 +0000 (11:44 +0000)]
Upload bff
Issue-ID: PORTAL-1083
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I50f0a2db2dab28354c32c1ebf5a5e22afb0faade
Kevin Sandi [Wed, 5 Apr 2023 17:17:55 +0000 (17:17 +0000)]
Merge "Automation adds INFO.yaml"
LF Jenkins CI [Wed, 29 Mar 2023 15:21:33 +0000 (15:21 +0000)]
Automation adds INFO.yaml
Issue-ID: CIMAN-33
Change-Id: I3451dc61f5f0dd906ef6dcd549395a7926325e9a
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
lf-jobbuilder [Wed, 29 Mar 2023 15:21:31 +0000 (15:21 +0000)]
Chore: Automation adds .gitreview
Issue-ID: CIMAN-33
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
Change-Id: I26b92dba674445cc790b2ec4f117f876e03c80a4
LF Jenkins CI [Wed, 29 Mar 2023 15:21:26 +0000 (15:21 +0000)]
Initial empty repository