aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/tutorial-xacml-application/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18Update to XACML Tutorial README to better reflect process for running imageisaac1-379/+36
Issue-ID: POLICY-4316 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I62f217fdbcc621c61869d6dfb85c83da8edda36d
2022-10-18Fix hard coded versions in XACML-PDP tutorialsliamfallon2-5/+66
This commit adds variables to the docker-compse file for the xacml-applicaiton tutorial and adds a startup script that downloads files fromt he docker/csit repo to run the tutorial This commit also removes the separate docker-compose file that was used for xacml-enforcement tutorial and replaces it with instructions on how to use the csit docker-compose to run the enforcement. Issue-ID: POLICY-4186 Change-Id: Id1476e6c0949d3d57bdea9a696b985b60220ec78 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-11Removing unnecessary files and adding documentation for improved Docker ↵isaac2-36/+395
procedure. Issue-ID: POLICY-4316 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: Ia8a1b78e35a6b3d0d13199b60db16bafbc58aa96
2022-07-18Parameterize xacml-pdp tutorial docker fileliamfallon1-2/+10
This change parameterizes the XACML PDP tutorial so that it always works off the version of XACML PDP on which it is released. Issue-ID: POLICY-4186 Change-Id: If3891a21d6f60518da9d395228e700fe6d506dc2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-27Merge "Update Docker Tag related configurations in XACML Tutorial code"Liam Fallon2-7/+5
2022-05-27Update Docker Tag related configurations in XACML Tutorial codexudan162-7/+5
Issue-ID: POLICY-4171 Signed-off-by: xudan16 <xudan16@huawei.com> Change-Id: I8e6274d55520ccb664209698f77a2cdef050f5e4
2022-05-17Support postgres in XACML-PDPwaynedunican1-0/+25
Issue-ID: POLICY-4187 Change-Id: Ifed655e214ce95b9cc8208cd5b0907e7bb00b463 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-02-11Fix xacml pdp to accommodate Object values in policy metadatarameshiyer271-2/+2
Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I276bf28d3fdaad6e1d7cde315cdb049343cbde3f
2021-07-30Add tutorial example for multi-decisionsPamela Dragosh6-28/+380
Issue-ID: POLICY-3514 Change-Id: Ifcaa56d35ef359f2b24cc111ca9af4021000514f Signed-off-by: Pamela Dragosh <pd1248@att.com>
2021-07-21Add attribute return example into TutorialPamela Dragosh4-16/+80
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>
2021-07-19Use new RestClientParameters class in xacml-pdpJim Hahn1-2/+1
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>
2021-05-07Merge "Fix sonars in xacml-pdp"Pamela Dragosh2-15/+14
2021-05-06Fix sonars in xacml-pdpJim Hahn2-15/+14
Fixed: - use "var" instead of actual type Issue-ID: POLICY-3285 Change-Id: Id17142d1f2e3e5f9dfbffcb96aff7fe76321a56b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-06Update tutorials to point to honolulu imagesPamela Dragosh1-5/+5
These should point to released images so that the user can perform the tutorial without any problems. They can certainly update the docker-compose.yml with whatever image they want. Issue-ID: POLICY-3292 Change-Id: I85b9bb90bb959d0f1078238344c4aa25ef2b2a35 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-17Change RestServerParameters to BusTopicParamsJim Hahn1-3/+3
HTTP client parameters should be based on BusTopicParams instead of RestServerParameters, modified the policyApiParameters. Issue-ID: POLICY-3147 Change-Id: I73aa34bec3ab7e27e7a3474260f411ed55b6f933 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon1-5/+6
The policy models tosca classes ToscaPolicyIdentifier and ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA concept, not just TOSCA policies so they are renamed to ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion respectively. The class ToscaPolicyTypeIdentifier is redundant and is replaced by ToscaConceptIdentifier. Issue-ID: POLICY-2900 Change-Id: Id614bbed34ed8897e7e882b70147b98ffe90bf57 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-10-27Submit Policy TutorialsPamela Dragosh17-0/+825
So app developers can more easily download and test client code etc. Issue-ID: POLICY-2876 Change-Id: I360cd0d637150cd0c2353c6284803f4438e96556 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>