Age | Commit message (Collapse) | Author | Files | Lines |
|
The Policy Framework base image run under the "onap" user rather than
under the "root" user. This means that root access has to be enabled in
child Dockerfiles for configuraiton that requires root access.
Root access is turned off again later in the Dockerfile so that the
image will run under another user.
Issue-ID: POLICY-4558
Change-Id: I4da232b60353ce175465bb020db21f22a246f643
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-4533
Change-Id: I8ba51dce05f537778a92547bceff6eb6d6099144
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
- Upgrade Hibernate
- Upgrade Mockito
- Upgrade Mockserver
- Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils
- Upgrade Spring Framework
- Add spring-security to allow authentication on unit tests using MockMVC
Minor clean-up
- Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean
- Change @LocalPort include on tests to use test include rather than runtime include
- Remove unused imports
- Remove unused constants and variables
- Add deprecation annotations where required
Issue-ID: POLICY-4482
Change-Id: Ifcabd73e4130810ba2a99b842ffa4203836c0682
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Adding Contract tests, verifying the stubbed implementation.
Fixing name in application-stub.yaml
Issue-ID: POLICY-4534
Change-Id: I03d8b37ba2f57aa03ee814924b4e52dd0c643772
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
Added "stub" profile with simple endpoint implementation
Issue-ID: POLICY-4143
Change-Id: I8ad911f314e1d1428d05aa419f1322616d8ef835
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
This commit removes the Swagger V2 annotations on the
Rest Controllers in policy-pap. The OpeApi annotations (Swagger
v3 annotations) are on a generated Java Interface. The code is changed
so that the controller implements that interface.
There are minimal code changes to the controller and the order of the
parameters is switched in some cases.
Issue-ID: POLICY-4404
Change-Id: I060709806a8e5bc04d9873c8d212a5c9fe13c4d4
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
The latest verison of H2 does not allow colums called "user" or indexes
using an underscore in their name.
Issue-ID: POLICY-4488
Change-Id: I9ce7435b5dfa81daaf04e7f7a50f9db6582cdc0b
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I14d931b8d2f7a8f63a0a5ffbb2fd2cfafaddc33a
|
|
This commit releases docker images for repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ie7244ab6c230df8c3545f780d331ba0c9f9651f3
|
|
This commit releases repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I2a4d8f8843243dd88cfc6952494d23aa62a6ee23
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I2ee988f48734963c693712dc60024c4dfb930d8d
|
|
- undeploy policy timing
- deploy policy timing
- unit tests for actuator endpoints
Issue-ID: POLICY-4469
Change-Id: I3298888e59824347b8d2a57fb531c10f2f4ca125
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
This commit:
- Remove SpringFox
- Adds SpringDoc
- Enables the .../v3/api-docs endpoint
Note that the Swagger annotations from the OpenAPI specification
generated code need to be enabled so that the API specification is
available over the ..../v3/api-docs endpoint. THis will be done in
subsequent commits.
Issue-ID: POLICY-4404
Change-Id: I42c1575a3ce76d9b3e753ad51f85df027d12b980
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent
Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I2e46e014cbc277785a236b60603d395490e58220
|
|
|
|
This commit adds the Policy/API OpenAPI (Swagger) document as a source
document under source control.
This OpenAPI document was generated from the existing SpringFox
annotations in the source code, was uploaded to the online Swagger
editor and was converted into OpenAPI 3.0 format. It was then manually
edited to correct the return types and to match the input and putput
types to our Java classes.
The pom.xml is also amended to generate the API interface source doe in
the target/generated-sources directory.
The generated code does NOT replace the existing API code as yet.
Issue-ID: POLICY-4431
Change-Id: Iee1cc6a122deffcd05728e8f34172f8d423ebcef
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
- for using Kafka instead of dmaap, topics names need to be lowercase
- fix for unit/integration tests using default names and changed names
for topics and group
- fix for sonar lints found along the way
Issue-ID: POLICY-4455
Change-Id: I89e9e6f7dbb07462f1ae497755965cb5a3f223a3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I09bf91495a8ae93e7e3c4aaadf3ad14971c6bbfb
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I61b9bc417feeccbda2cf55d2f79327d01f362fae
|
|
This commit releases docker images for repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8fdbe2a706b85ab97cc142fe242bcaa68db2e461
|
|
This commit releases repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic6517fa17551d36465aa1b005b48a448705fd842
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id4f5ddedad25e513aaee953d17e5c323fa7487f1
|
|
Issue-ID: POLICY-4393
Change-Id: Ic091b5efa999461121e870d04d6524e44bc07e03
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-4134
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Id9b4609c9bf0656eb0c3a83e20f4161a07fbc6d7
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iacf22dfa0876db72b906b1b4e5b95611379be9b3
|
|
This commit releases docker images for repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8fb14976f09872e640800600ca9a5053840dbe1d
|
|
This commit releases repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I78c6e4ddca9882ecf67cc361cfa5616047b1baa1
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ie9178a197f5789b66bf0945839bdab302bdebccb
|
|
Issue-ID: POLICY-4045
Change-Id: I08c3cb1af3dbe2051dcbb0e2726906faff4a37b3
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Remove inactive committers from INFO.yaml
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4354
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I357869ac50932de3ea857194b4ed761dcc16c2a8
|
|
If building with an external dockerfile, e.g. using
mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.
Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ica6984b0460e5814df56ab6679003e98b983d397
|
|
Update docker base image to snapshot
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4287
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Idc09b2371c376dc32d4827cca8d28afe2184cae1
|
|
Remove unused jar files from image (not needed since spring boot)
Avoid creating extra layers when extracting tarball
Reduce size of Alpine image by 73% (959MB to 259MB)
Reduce size of OpenSuse image by 62% (1.12GB to 423MB)
Issue-ID: POLICY-4266
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5a0a3efc81b0cb8da899c12f65479fd2af935451
|
|
Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iafe1e311a22693eb30758949cdb1414d4c8d080a
|
|
Issue-ID: POLICY-4254
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ide30dc437f25846b569b5f4ac9a581880705a7c4
|
|
|
|
Issue-ID: POLICY-4228
Change-Id: I6abd4506c967e49ce093c521484f6e5a5f0c5bec
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Create OpenSuse docker file
Add build profile for OpenSuse docker image
Issue-ID: POLICY-4189
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4aca4c5d3486cecf012989e9227557587f83bbb6
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I71900f971ba646a97d54113351406398ada70a12
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I312fe988c4e2611dead50a7e7b28ab18de6cd75c
|
|
This commit releases docker images for repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I3b2e5a690b67ac6e818dea33f1096a3db2b21f89
|
|
This commit releases repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I568b12a3db25004ebc4039dc229af65c2a95c262
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic269481eed341f1c3043f53e76e6fa21b9856075
|
|
Change-Id: I48c719276d2a53f2e4de9f4c87e54d3f373111ed
Issue-ID: POLICY-4008
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
policy/pap updated to its latest own and reference snapshots
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia650fc73cb0af8e8b36b82791918e23e51367308
|
|
This commit releases docker images for repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I0121998e4e554442bbb9c45489903eddad6ded0a
|
|
This commit releases repo policy/pap.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1cb5fefb3e166515d26964f9af9b8949e16f61cb
|
|
updated references in the policy/pap pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icf68c7320c8e1b20dde8b0db2cfbd728ba2f77bf
|
|
Change-Id: I72bde10eae615e2c89ccc1a211c6385404b9b3c7
Issue-ID: POLICY-4088
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: I0194483f371e1140ad56029c23b6f400df0dcbdc
Issue-ID: POLICY-4068
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|