aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2020-07-30Merge "[SDNC-Netconf-TLS] Update SDNC CSIT"Bartek Grzybowski1-1/+1
2020-07-29Add sftp strict host key checking to DFC testsRemigiusz Janeczek2-18/+39
Issue-ID: DCAEGEN2-2219 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I77438c7215bc80c65080f7c773fb9401edef6e79
2020-07-24[SDNC-Netconf-TLS] Update SDNC CSITajay_dp0011-1/+1
-Updated Netconf-Pnp-Sim image version -Code update for failing CSIT tests Issue-ID: INT-1655 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I593cc225730bfa7061448c3a47e458dfa41dc3ed
2020-07-24Enable Datafile Collector FTPS testsRemigiusz Janeczek2-0/+3
Refactor tests to decrease repetition of same code Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I0c6a8cdd8ebf2fd2f9c0d2632ede6e585e40420c
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-05-11Merge "E2E Integration Test for NETCONF/TLS Configuration in SDNC."Morgan Richomme14-0/+1853
2020-05-11E2E Integration Test for NETCONF/TLS Configuration in SDNC.ajay_dp00114-0/+1853
Story intended to capture needed updates to E2E Integration Test for NETCONF/TLS Configuration. Involve updates to the PNF simulator. Issue-ID: INT-1295 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: Ie08fe9618a9a0522e00fe0af8d13ab48b0634a70
2020-04-20Merge "Increment the release versions for csit"Marco Platania5-19/+20
2020-04-16Increment the release versions for csitvrvarma5-19/+20
Change-Id: I12d2c9d01d2c3f5e705bf9c40bed923a20e2f106 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-735
2020-04-15End-to-end policy CSITJim Hahn15-303/+164
Modified the CSIT for drools-apps to use more components: - api to create policies - pap to deploy policies Also removed tabs. Issue-ID: POLICY-2491 Change-Id: Iacd8d1953068bb718a63de8813dd1c307c21b1f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-14Add CSITs for vCPE, vDNS, and vFW policiesJim Hahn21-79/+758
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 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