aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/policy/policy-distribution/config/distribution
AgeCommit message (Collapse)AuthorFilesLines
2021-03-15policy csit moved to policy repoTaka Cho1-0/+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>
2020-10-07Make stand-alone Policy environmentJim Hahn3-72/+0
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-03-20Fixing APEX and Distribution csit failures due to invalid key name in policya.sreekumar1-0/+0
When the key name doesn't match with the name field in policy, creation of policy is failing. Due to some recent changes in API and models. So, correcting the policy in this review. Change-Id: I8a57f734a25f46fef623edb078fabc2641722816 Issue-ID: POLICY-2438 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-11Fixing policy csits with the tosca version changea.sreekumar1-0/+0
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.sreekumar1-0/+0
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-02-03Remove content section from ToscaPolicy properties in APEXa.sreekumar1-0/+0
Currently APEX specific information is placed under properties|content in ToscaPolicy. Avoid keeping under "content" and keep the information directly under properties. Change-Id: Id322df2ae977d4901b81bb70e95ad7e55771869c Issue-ID: POLICY-2332 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-08unzip/rezip csar file from a Linux machinemrichomme2-0/+0
according to IT-18669, one of the issue to commit an INFO.yaml is due to the fact that the csar files include a CRLF causing warning then the impossibility to commit the INFO.yaml Issue-ID: INT-1386 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Ibaceef6a5278f9ba3e8f36eadabc0a14435b880a
2019-10-11Remove "Restricted" info from csarsjhh2-0/+0
These are the lines removed: + Proprietary information (Restricted) + For use only by authorized individuals and not for general distribution. Issue-ID: POLICY-2107 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1b68376ff61e16fb600dfb3656809680c92b81a7
2019-09-19Remove proprietary license added to csar by SDCramverma2-0/+0
Issue-ID: POLICY-2107 Change-Id: Ide08bad0982ea81ccd1db040f55f23db1741677b Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-09Updating distribution csar file with policyType as per new modela.sreekumar2-0/+0
Change-Id: I261f94ca138e55346b4b2880f0be7b8259c8f1e7 Issue-ID: POLICY-2047 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-08-29Change policy-distribution csit test casesa.sreekumar3-0/+72
Change policy-distribution csit test cases to support ToscaPolicyType and ToscaPolicy. Change-Id: Ic6539a2c6f3d2a5b0a4a0b66ce456512d909a320 Issue-ID: POLICY-1893 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>