aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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 Hahn5-289/+19
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-27Merge "Replace ifonfig with ip a"Morgan Richomme1-1/+1
2020-03-27Merge "Add trailing slash to context URIs"Marcin Przybysz2-10/+19
2020-03-26Fix optf has and osdf csit failuresvrvarma4-4/+146
CSIT jobs are failing with the latest aaf-sms docker images. Change-Id: Ia7da218d7383ad87cd59b07171a1931cad85f6c7 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-725
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-25Merge "Update the release version for OOF csit"Marco Platania4-11/+24
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-23Update the release version for OOF csitvrvarma4-11/+24
Fixing policy simulator url Adding pci/rsi tests Change-Id: I18f9987201159a64ff12ca00137e4ddcf8e38fe5 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-719 Signed-off-by: vrvarma <vikas.varma@att.com>
2020-03-23Replace ifonfig with ip aLasse Kaihlavirta1-1/+1
- replace obsolete ifconfig with more modern command ip a Issue-ID: SDC-2824 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I5341e49f45b263c3dde3dc4923dc8233331f518e
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-18Merge "change made to enable https mode"Marco Platania1-0/+7
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.sreekumar3-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.sreekumar28-571/+1350
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-20Updating the jdk version from jdk8 to jdk11 for CSITsBilal A4-5/+40
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>
2020-01-08change made to enable https modedhebeha1-0/+7
Issue-ID: OPTFRA-328 Change-Id: Iaa54520ca15ac3601db00b2feb1403fbd68aee21 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
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-10-09Add support for https tests for SDC-DCAE-DPetr Ospalý2-37/+50
This commit introduces a new set of variables for sdc-dcae-d test in the same style as was for sdc tests. Some refactor had to be done to make it work and make it less copy-pasted. Issue-ID: SDC-2564 Change-Id: Ic0725dbc4643d0563594f28d2a772968e291f788 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-10-02Fix SDC_LOCAL_GITREPO for relative pathsPetr Ospalý1-0/+1
SDC_LOCAL_GITREPO will not do what you want (most likely) if used with a relative path - it worked only with an absolute one. This commit fixes this but it adds a new requirement: 'realpath'; which should be on any system as it is part of the coreutils and similar package sets. Issue-ID: SDC-2553 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I2d79252cb315538997c91b754acb59f52469df00
2019-09-20Add support for HTTPS in SDC sanity/uiSanity testsPetr Ospalý1-25/+73
New variable: SDC_TEST_HTTPS Adjusted robot test too and fixed bad naming there - it was not the SDC BE container but SDC FE. For this change to work the upstream change in SDC has to be merged too - or use this only with a local repo and with some proper setup. + Added quotes around shell variables Issue-ID: SDC-2564 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I3db9f2e1c22a539df3b6c356bd91f67f0328cbd7 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
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-17Add application.log to console for dfcyanhuanwang1-2/+2
Change-Id: I46aee618b1372e97cac055c4d8bd78d2b8375a49 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-16Merge "Add dfc log to console"Daniel Rose1-1/+1
2019-09-16Merge "Modify Db script"Anaël Closson1-2/+1
2019-09-16Add dfc log to consoleyanhuanwang1-1/+1
Change-Id: I9d382dedf25448c2e138bab14443addde27caa47 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-13Modify Db scriptsebdet1-2/+1
Change db script so that it uses the autogenerated test data instead of a predefined one Issue-ID: CLAMP-496 Change-Id: I211913acbe49f93696e8d21674936fd589964b4a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-13Fix bug of DFC daily jenkins jobyanhuanwang1-0/+9
Change-Id: I59277bc4b259d1b91b3259e7985efca6b0639671 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-12Merge "POLICY: update of apache-maven repo URL"Daniel Rose2-4/+12
2019-09-12Merge "Remove noop code"Daniel Rose1-38/+0
2019-09-12Merge "Add support for testing of local SDC images"Daniel Rose1-3/+56
2019-09-11fix a race condition bug in dfc csityanhuanwang1-10/+0
Change-Id: Ibed69f6a1ac068d7b088ed0367ea5b59e29f933f Signed-off-by: Martin Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-10POLICY: update of apache-maven repo URLMartin Klozik2-4/+12
Allow automatic selection of the best apache mirror server to avoid hardcoded mirror server in apache-maven download url. This change should increase reliability of POLICY CSIT test plans in case that some mirror servers are experiencing issues. Originally used server is set as preferred, i.e. it still will be used if it's available. In case of failure of maven installation, test plan execution will be terminated with failure. Change-Id: Ia765652b42e6a20716f5e76304916602852b5654 Issue-ID: POLICY-2046 Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
2019-09-09Remove noop codePetr Ospalý1-38/+0
This commit removes one 2 minutes sleep which seems to be unnecessary and removes copy-pasted "timeout" code from sdc's docker_run.sh which also seems to be pointless and broken - the script fails to populate variable which results in broken docker command and that triggers pipefail if not disabled and if disabled then it just simply breaks out of the loop in the first iteration. Issue-ID: SDC-2558 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: I65f92c5fda5b126b8178382fc463c31e67029d5a
2019-09-09Add support for testing of local SDC imagesPetr Ospalý1-3/+56
By default it is disabled and the test works as before, but by providing the SDC_LOCAL_IMAGES variable with a value of true/yes it will not use the upstream images (from registry) but instead the local one (in docker cache) - they have to be build beforehand of course. They are two more optional variables (if SDC_LOCAL_IMAGES == true/yes): SDC_LOCAL_GITREPO .. for local git repo instead of an upstream branch SDC_LOCAL_TAG .. it will use local images with this docker tag Issue-ID: SDC-2553 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Change-Id: Ib64ca17e81aa9c3406e0a5d8fb403f1c1b0862a1
2019-09-09update dfc source to offical productyanhuanwang1-2/+1
Change-Id: I6b75de2b4c5e1c4c9cdf6b5d5f116eba81c6505a Signed-off-by: Martin Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-09Merge "CSIT uplift for CBS, generalized DFC, bugfixes, stability, traceability"Daniel Rose6-29/+69
2019-09-09Merge "Updating distribution csar file with policyType as per new model"Daniel Rose2-0/+0
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-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-09-06CSIT uplift for CBS, generalized DFC, bugfixes, stability, traceabilityTamasBakai6-29/+69
Issue-ID: DCAEGEN2-1719 Change-Id: If5c96a7f205a34f78e50585a7187c5b9a3820023 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-09-02Fix test for clamp-backend and frontend new UIeh552t2-6/+5
Signed-off-by: eh552t <eh552t@intl.att.com> Change-Id: I123876f31dc591184f0986edba4bc9a302779607 Issue-ID: CLAMP-276
2019-08-30Merge "Change policy-distribution csit test cases"Daniel Rose6-0/+219
2019-08-29Change policy-distribution csit test casesa.sreekumar6-0/+219
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>
2019-08-29Update tested optf-has image to 1.3.2kaihlavi1-1/+1
Latest optf-has image in master is 1.3.2 and should be used in master's CSIT tests - this is quick fix for making the CSIT relevant, but the image number should be automatically based on master's version.properties instead of being separately hard-coded for CSIT Change-Id: Ie31646f48a084a0265481a89514ee75f7716d44a Issue-ID: OPTFRA-576 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-08-27Delete csit for ocataHaibin Huang9-672/+0
Issue-ID: MULTICLOUD-775 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I29181c746a4691409a2df32a9f6c77d0a56724c6
2019-07-11Merge "Update directory to new scripts/sdc-dcae-d"Gary Wu2-6/+6