aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/policy/config
AgeCommit message (Collapse)AuthorFilesLines
2021-03-15policy csit moved to policy repoTaka Cho15-766/+0
removed all files related to policy csit. already moved csit to policy project level Issue-ID: POLICY-2895 Change-Id: I00312533e395a80972cf62da01a2a3723d5c9b8c Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-02-18Update CSIT to check for 202 response during PAP Deploymenta.sreekumar1-0/+1
Xacml pdp-type is now configurable - added it to the config file. Change-Id: I026f62efb8eb07b4e4ca42cf34f8ca2af9662df6 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-14fix drools-apps csit failureTaka Cho1-2/+2
bash package has been removed found a related bash script is the cause Issue-ID: POLICY-2847 Change-Id: Id4940324d939adea9135ae6f00d53d38ec05589c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-07Make stand-alone Policy environmentJim Hahn18-1053/+229
This is a first cut at making it possible to easily run Policy components within a stand-alone environment. Made the following changes: - enhanced wait_for_port.sh to accept a list of hosts/ports - enhanced wait_for_port.sh to accept an optional command to execute when the wait completes - consolidated all of the yml files into a single file - removed "extra" services from the yml so that a component and its dependents can be brought up in a single invocation - modified the component setup.sh With these changes, a developer can clone the csit repo, run detmVers.sh to set the docker image version env variables, and then bring up a component (and its dependents) using: docker-compose -f scripts/policy/docker-compose-all.yml up --detach <component> Note: this does not preload or deploy any policies; that must be done manually via curl. Modified to use new simulator docker image. Also fixed drools-apps CSIT broken due to disabling frankfurt controller. Also removed operational.Apex policy. The csar file used in policy-distribution test is also updated to reflect this change. Issue-ID: POLICY-2742 Change-Id: I412dbd5db9219ad2cdece9693f0b4b9fe7b2eb69 Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-05-28Default CSIT to master branchJim Hahn1-1/+5
Added "defaultbranch=master" to .gitreview file. Also modified Policy CSITs to get the branch from the .gitreview file instead of hard-coding it in a config file. Issue-ID: POLICY-2597 Change-Id: I05e969d3efdaf09c4fca4012131983ca26423ab0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-13Change SO Actor simulator to use httpjhh1-1/+1
Issue-ID: POLICY-2560 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If1c706dbb108ce3265dcab0da09fcf4081464c2a
2020-04-14Add CSITs for vCPE, vDNS, and vFW policiesJim Hahn4-51/+123
Runs xacml and drools, but does not currently run api or pap. PAP actions are simulated by injecting messages onto the dmaap topic read by xacml-pdp and drools-pdp. All other systems (e.g., dmaap, aai) are simulated using policy-models-simulators. Issue-ID: POLICY-2491 Change-Id: Ic05e3a6514e84040f5a965aa8d2cac9ed2e9abc2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-06remove usecases testsjhh1-4/+2
Issue-ID: POLICY-2474 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If69a11c7c690d8a5ac2d3b2a5b81f9d7d5fe5197 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-02Move policy preload to robot scriptJim Hahn2-261/+0
Moved the policy preload for the PAP CSIT from setup.sh to the robot script; policy type preload isn't needed, so it was removed altogether. Also cleaned up some unneeded entries related to networking and ports in the docker yml files. Issue-ID: POLICY-2464 Change-Id: I1794dd905f2dcbdbe5f8da8c106b43b98d9a97ea Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-25Add trailing slash to context URIsJim Hahn2-10/+19
Also added various properties to drools/base.conf to keep it consistent with drools-apps/base.conf, as much as possible. I believe the old SO actor will break if we use the CONTEXT_URI, thus I'm leaving the SO_URL intact for now. Issue-ID: POLICY-2441 Change-Id: I1c4122ecec86ef1ef0e165560464e74ace2bdf34 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-24Update CSIT properties for new actorsJim Hahn1-0/+6
Aded new context URI properties to the config for use with related changes in drools-apps. Left the XXX_URL properties intact for removal later, once drools-apps changes have been merged. Issue-ID: POLICY-2441 Change-Id: Ia7ef38d8cf01e3189c7accc1affd7cbb2c3e1bd0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-17Add frankfurt to drools-apps CSITJim Hahn2-0/+11
Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I92ce55b8f024e6bb935b21812ceb633976b0ddf8
2020-03-16Remove amsterdam from drools-apps CSITJim Hahn1-3/+1
Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2ef8317050f469afdbb2ae586b55d8bf9231a56e
2020-03-11Fixing policy csits with the tosca version changea.sreekumar2-8/+5
Also making the apex test policy changes related to rhino migration. Change-Id: I20f6c87bf6e2208840eb62a8109f8a98d67e0327 Issue-ID: POLICY-1402 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-03CSIT fixes for frankfurt breakagea.sreekumar22-5/+1319
CSITs as per the latest policy type validation changes. Drools and drools apps fixes. Removed policy-health. Change-Id: I086bf747059435e12d15e0481b00c97c20eaadc1 Issue-ID: POLICY-1402 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-20Updating the jdk version from jdk8 to jdk11 for CSITsBilal A2-2/+2
Removes JAVA_HOME for drools pdp Updates Policy API tests Updates XACML-PDP database connection Downloads dmaap simulator instead of compiling it for xacml-pdp,apex-pdp and distribution Changes from Jim, Jorge and Chenfei Issue-ID: POLICY-2325 Change-Id: I28ff3384f9ae9b7d1ce6940eb62aa87278e7a9c5 Signed-off-by: Bilal A <bilal@research.att.com>
2019-09-09Fix policy type json files as per new modelramverma1-211/+201
As per updated model, policy type & data type are represented as Map directly instead of List of Map earlier. Updating the json files to adapt to this change. Issue-ID: POLICY-2047 Change-Id: Id46b6d20f3c1cb727909b0825066e4763120e46a Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-07-03Pull correct docker images for master branchBilal A1-0/+2
Enables Policy CSITs for API, PAP, Distribution, Drools-applications, Apex-PDP and XACML-PDP to pull correct docker images based on the code branch. -------------- Updating the policy model json in apex-pdp csit Changes were made to read the policy model as proper json instead of json formatted string in APEX-PDP. With this fix in place, the policy tosca json file need to be updated with the proper json. Issue-ID: POLICY-1836 Issue-ID: POLICY-1796 Change-Id: I6b99c8ae9cb78dd8ebddc522bc2a7080ec6e5735 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> Signed-off-by: Bilal A <bilal@research.att.com>
2019-04-19Flesh out PAP CSITsJim Hahn2-0/+274
This exercises all of the PAP REST APIs, except for the simple policy "deploy" API. Change-Id: I681c4c40f05f6e343a782e764f7f939ecbb31258 Issue-ID: POLICY-1672 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-04-18Finish drools CSIT infrapdragosh2-0/+137
Basic health check for now. Need to have ci-management jobs enabled for this to work on every merge. Cleaning out unused scripts and mock server. Renaming policy engine script so its obvious that is what it is for. Issue-ID: POLICY-1651 Change-Id: I469823795d4a9f5531d150610ba2ed0b75585677 Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-15DB Connection Setup for API and PAP for CSITBilal A2-0/+38
1) Adds CSIT Test for API 2) Adds a mariadb container setup and configuration for API. 3) Adds a mariadb container setup and configuration for PAP. Change-Id: I9beea4f2445215bc95962ebceb4ec626dd0d5521 Issue-ID: POLICY-1270 Signed-off-by: Bilal A <bilal@research.att.com>