Age | Commit message (Collapse) | Author | Files | Lines |
|
*** Release Phase 7: This commit is generated by a PF release script ***
This is the seventh release phase, it updates parent, common and models
references in policy/xacml-pdp.
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id9163c2d99d260d94959fe4416f80d84ca77bc81
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3788
Change-Id: Ic67a1c8fc53b03d6c0105ec3663a5164ed9c52a9
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3780
Change-Id: I296f9e6e2e8e127e73e3ad118ddc0f7520434fac
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Issue-ID: POLICY-3696
Change-Id: If5e83b9ab94f62fa8063e565f9dd1daf8d9880b2
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3696
Change-Id: I892219ee37f689eaa250142d0a1e6610a8b227ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3696
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idb999cd821d49f7a3da6973ba98e659e577f4794
|
|
Issue-ID: POLICY-3696
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie32f21167799dc367702309be02823723d82d75f
|
|
Issue-ID: POLICY-3696
Change-Id: Ie0edcbcd7bd7d351f13d415553aa04744b5ab285
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: I4e912da513ba8ecaf4bdc71659b7b273c0aaab05
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3587
Change-Id: I43d23553f26050010477614cee7e2636121f432e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3587
Change-Id: I62e8466153769f91c90d5e0b27d01f2be88c65b3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3587
Change-Id: I71cfb4a8f554618d48bfd9e3696934450b8c4f5e
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: I0ac07acbd91523d448f6004e07531c8736b88848
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3587
Change-Id: I3ef745b1051e5fbdbbc563d64ff28077496fd6c5
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Update the INFO.yaml file with latest information.
Issue-ID: POLICY-3552
Change-Id: I9e06af4343686af920e09a7aa7c5e4d91fe3c04d
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-3611
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I63b78252f7c46d039d3709c4356ebdef4f4a96c6
|
|
Issue-ID: POLICY-3531
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516
|
|
Issue-ID: POLICY-3587
Change-Id: I30c13c533635147d0ce70f58d42aaa8ac1a09604
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added a filter class for the REST server that only allows "API" services
(i.e., decision API services) through when the API is enabled,
disallowing them otherwise. The filter always allows PDP-wide services
(e.g., "healthcheck").
Per review comments:
- modified the new class to "implement Filter" rather than "extends
AafFilter"
Issue-ID: POLICY-3531
Change-Id: I7055e21045eea270e454a47a443b29476d9a85ee
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Issue-ID: POLICY-3531
Change-Id: I5eadaa6dbb0c66940a5af0c552894a3d874d51a1
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: Ifae3e0bd9eac90ce843e7b987088dc86907dbd23
Issue-ID: POLICY-3538
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
This reverts commit 031a0fe51dff21445034befc8a6d8732622acd07.
Issue-ID: POLICY-3531
Change-Id: I20eddfc11589b6ab4822a93b8c8c3d3f209537c0
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added code to use the new topic-checker functionality to verify
communication on the PDP-PAP topic before sending the first heartbeat.
This functionality can be disabled by setting probeHeartbeatTopicMs to
0 in the xacml config file.
Issue-ID: POLICY-3531
Change-Id: I113792c67aa26fbb188767d3e973b21dbe04f570
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Perhaps this will fix the issue wherein xacml-pdp heartbeats continue to
say "PASSIVE" even after it's set to "ACTIVE".
Issue-ID: POLICY-3531
Change-Id: I6639ed7ca793a899f62e5c80b336408f5e8b2dc6
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
use groovy url resource from docker repo
to identify the tag for docker.
Also, rename to dist.project.version for
the unified docker-tag.groovy
Issue-ID: POLICY-3378
Change-Id: I68c739b315d3d794baa4685a3f141e3b7cf9ef31
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Liveness checks depend on the xacml-pdp REST server being available.
However, the REST server is only running when PAP puts it in an active
state. Modified the code to always leave it running.
In a subsequent review, we should split the healthcheck REST service
onto its own port so it can be left running, while the other services
are started/stopped in response to PAP active/passive requests.
Issue-ID: POLICY-3531
Change-Id: I412064abaf91bb966d40adc46cee771b3a0a5dfc
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3514
Change-Id: Ifcaa56d35ef359f2b24cc111ca9af4021000514f
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
Used the tutorial to demonstrate returning of attributes
back into the Decision response.
Needed to update the docker compose for both tutorials to
ensure they are using the master branch versions of api
and pap.
Issue-ID: POLICY-2865
Change-Id: Ia568dfae27d659d940217ddf8d9295dd8409f0e3
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
|
|
|
|
Issue-ID: POLICY-3374
Change-Id: I492d69bcebb394219d0a70bac0be6caa289abda8
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Adds new method to return attributes in a decision, which
can be configurable.
By default it is turned off which ensures that the current
functionality is maintained for our client applications.
Enhanced the JUnits for the applications to ensure that no
extra information is passed, thus maintaining backward
compatibility.
Issue-ID: POLICY-2865
Change-Id: Ia533e5462c0cb475cb1f72f34e95f128d6c52678
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
Replaced generic BusTopicParams with more specific RestClientParameters.
Also modified code to pass the HttpClient around instead of passing the
client parameters around.
Issue-ID: POLICY-3456
Change-Id: Ic07b710645eeab696e6df0a015171578ad08ca83
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3163
Change-Id: I116b9f1f3aa4b17b83d1d56de733b58840d682f4
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
Adds the exclusions parameter to exclude applications
that are in the java classpath. This allows overriding
default packaged applications with another that can
support new policy types and/or modify existing
functionality.
Issue-ID: POLICY-3326
Change-Id: Iaad8d26fc4122ad17226ad1e83b72c9f284e6ebd
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
Also:
- changed a few fields to private/protected.
- swwapped out gson for coder
Issue-ID: POLICY-3400
Change-Id: I9a4dba939b77078f78583ada00af182b1a7d95c5
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
First step for configuration which applications should
be loaded and mapped to actions is to add a new parameter
group for application parameters.
Issue-ID: POLICY-3326
Change-Id: I3867b4e927d57e1e81519dee32d10eed3dabc667
Signed-off-by: Pamela Dragosh <pd1248@att.com>
|
|
Added unique name to PdpStatus and HealthCheckReports.
Issue-ID: POLICY-3410
Change-Id: Ife2248ffee9afae76f3eaab7f8b33dba8bdb4019
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updates are indentation changes on annotations.
Issue-ID: POLICY-3209
Change-Id: I64ee5517996dbb2ae8a043d215c7ccddad121fe3
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Application and common code in xacml-pdp is meant to be
available for developers to re-use and/or extend as desired.
Private methods are unnecessary at this time, but could be
re-visited in a later release.
For Honolulu, simply moving to protected to keep functionality
the same. Possibly for Istanbul we can make more changes to
support mixing of ONAP application with custom applications
during runtime.
Issue-ID: POLICY-3305
Change-Id: I6db23bda3c81fdbbf86e39cc2cd2e706d8bee63d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 8e0aa0ffa5cef537de1c841acf38300832c52a56)
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
The new version of checkstyle identified new issues. Fixed those.
Issue-ID: POLICY-3288
Change-Id: I334e9eb67c9270c4e53b2fb34e576b8bfbf8ec8b
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Fixed sonars:
- use "var"
Issue-ID: POLICY-3288
Change-Id: If4f685e0d645f6d6fbdd2cdb86c6b67336f6839a
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Now that the bean validator uses the serialized field name in its error
messages, updated the junits to use the serialized names, too.
Issue-ID: POLICY-3333
Change-Id: I017aa654480baef06f2869116d4b5264bb32c721
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Instead of having code to validate various values, created POJOs to
represent the decoded data so that bean validation annotations could be
used instead.
Didn't see any obvious ways to use annotations in the Optimization code,
but did notice a bug (passed role instead of provisions). Extracted a
common method which fixed the bug as a side-effect.
Issue-ID: POLICY-2418
Change-Id: I9ef589086fc8f7f66810b66405fbf302d7570e5a
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
This is the companion change to that made in policy-models.
Per review comments:
- added index to s3p sql script
Issue-ID: POLICY-2874
Change-Id: Ic270b8da92be8b921b3a865ff1ce923af21faaab
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updated xacml-pdp to use the deploy & undeploy lists in the PDP-UPDATE
message.
Added more code coverage to the junit test class.
Per review:
- added logging for unexpected cases
Issue-ID: POLICY-3188
Change-Id: I0f899abcd497f7eb711d4df358e455fd2d50e904
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.
Issue-ID: POLICY-3257
Change-Id: I54e93a2b43de0e4b36ac74a5cd94eda741bad5fa
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|