Age | Commit message (Collapse) | Author | Files | Lines |
|
updated references in the policy/api pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Icadaa830ac0e013029bee6d1f65dc05bb2997e29
|
|
Issue-ID: POLICY-4482
Change-Id: Ib61e0f3349d2741d990311fe661957500f8b7343
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
- Trigger S3P test execution
Issue-ID: POLICY-4156
Change-Id: If4d6401a6c8e9ee4767f8910956a7026bc971518
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
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: Idde5d41c667644610d1cdb070a6ddf9dbaa44b75
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Fixed cognitive complexity reported by sonar.
Issue-ID: POLICY-4536
Change-Id: Ic3b5b7d79165afed15a1593e03b8374fb2122e12
Signed-off-by: Suresh Charan <suresh.charan@bell.ca>
|
|
Adding Contract tests, verifying the stubbed implementation.
Issue-ID: POLICY-4533
Change-Id: I729d0c2316b185967e0d7c292eb3c8c3da23ac23
Signed-off-by: lapentafd <francesco.lapenta@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: Id003bd0fecbdc7fe96a529cd6178a9a373d33963
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Added server stubs for policy-api with profile "stub",
with very simple implementation, and unit tests
Added context-path in the application.yaml
Issue-ID: POLICY-4143
Change-Id: Ibcf4cf2f6d3e6a87ac7eea365b387d75e19e96c0
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
This commit removes the Swagger V2 annotations on the
ApiRestController in policy-api. 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 no code changes tot he controller except that the order of the
parameters is switched in some cases.
Adds unit test for SpingDoc swagger document generator endpoint.
Issue-ID: POLICY-4404
Change-Id: Ic8976362481a0b49ad05cebb2f4f9ce4147f3965
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
policy/api 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: I6e0e8be495ba56a259245c8452813a0a5d1d1a6a
|
|
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I10204c945dbeca860f5d7ee294d116d838aa012c
|
|
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1aed07cbc7eaf48ce445509e5c30df58ff423690
|
|
updated references in the policy/api pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icf8ccc5d5874eab7a9fbb3b784a5d110a5d2f322
|
|
This commit removes the Swagger V2 annotations on the
NodeTemplateController in policy-api. 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 no code changes tot he controller except that the order of the
parameters is switched in some cases.
Issue-ID: POLICY-4404
Change-Id: Iab49c7f3f197a85d3314a879d39fe2c95be041b8
Signed-off-by: liamfallon <liam.fallon@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: I5fb62e104c3a77e167a722a83f62dbddf2abedf1
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: I8b2c69440032056641f5ba1bf1f9863678dc1dad
|
|
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: Idf3763fe99fc9dfa5739d9074213fa7d293fbba6
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/api 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: I02910c3a06fb00167ba366281f5e06663395683f
|
|
policy/api 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: I3156e55b0bc6557e3ff157b3f07339c1d165d29e
|
|
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If84375933ecc583380fd60df38984dca7590cbc4
|
|
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ife46f4daf3b2860565d91ba4124ea3f5ec7d7874
|
|
updated references in the policy/api pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ica25ba4472653ab47c604ee20cfe99692eadd8fd
|
|
Issue-ID: POLICY-4393
Change-Id: Iec8b134a9a23edd13048c58b1054e413be05add8
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
THe springboot actuator was on a different version of springboot than
the rest of springboot due to an upadted dependency. Now that springboot
itself is updated, we should not use a different version for actuator.
Issue-ID: POLICY-4393
Change-Id: I58151e85859ef4f4ba1ad13ca4eee71114e66d3f
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/api 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: I5309004eb6e4bda552ed9896d61a9a0b92a18ea0
|
|
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7dc7387b176c5e85c44e9fd83c6906a3f3915292
|
|
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia1bfd3943805e02846071eb554731bb735031d74
|
|
updated references in the policy/api pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icb28267afb10efd92eb5cd63627cb68c3aec64d9
|
|
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: Ia4b352eef8f5eece99f6cdc1bbec9226e5b701ff
|
|
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: Iebfa6f3bcfeccf70675231acd4b6d7f629f56223
|
|
Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I8885ddbc942a40081583194e0ff03ff700b77975
|
|
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: Ie1831cad682864c35cf0f7c08308a1f8e78ec656
|
|
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% (956MB to 259MB)
Reduce size of OpenSuse image by 62% (1.12GB to 423MB)
Issue-ID: POLICY-4265
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I321cd42ade294a8af40c64612037d3ca1cf58341
|
|
Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ibf51c9dcda5a666ffe04df89bbd50bd8b8e1d9f6
|
|
Issue-ID: POLICY-4253
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I994f16f3c6432a77b1b4c1468e0ca299a0db9624
|
|
|
|
Issue-ID: POLICY-4228
Change-Id: I83f18201133693765d56183d280edc0db3f79672
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Prevent dockerfile from swallowing errors during build
Issue-ID: POLICY-4188
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1db4a6ad71d99cf6ab80c09b75461738c5f01e6c
|
|
Create OpenSuse docker file
Add build profile for OpenSuse docker image
Issue-ID: POLICY-4188
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I843cb59b5d6279c01a396998b12fc5c0c0691215
|
|
policy/api 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: I92164d86463228070bbc96eefb66ebea72617b77
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
policy/api 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: Ia04701c92ff14ba783ae59884192ee35fc2309cd
|
|
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iedd85ef468fdb63eea8ec250d779bb57bf5c89de
|
|
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6d3385bc4b014585050f9848587016cc39856de0
|
|
updated references in the policy/api pom
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I924f7541fade3884a3bed0926ad7a598e278a06d
|
|
Dependency versions are handled from managed dependencies in
policy/parent
Issue-ID: POLICY-4070
Change-Id: If4d86742e769b879d59bc839e44d63a355d20602
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Policy-API S3P test files are being updated according to Jakarta release
Issue-ID: POLICY-4007
Change-Id: Ic07020b387d94b85fe7f02ff5401daa5f90a90dc
Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
|
|
policy/api 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: I4f7a7b041d7f681a0975f673725abfad249d5671
|
|
This commit releases docker images for repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I995955355d54769e887bfbc1f368dc1abfc0ffa2
|
|
This commit releases repo policy/api.
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I9360ae195bfcf05b0a1555ce9d6fede8a3875d1e
|