aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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
2019-07-09Changes to support topic.properties file removal in policy reposa.sreekumar1-1/+1
Change-Id: Ic1e35a7672da4386c22c5a51d5f95c41c50784f0 Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-07-03Pull correct docker images for master branchBilal A6-19/+21
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-06-28Update directory to new scripts/sdc-dcae-dkaihlavi2-6/+6
- copy docker run scripts to and execute them under the new scripts/sdc-dcae-d instead of scripts/sdc - update info outputs Change-Id: Ie07f91d5e8c4a1ef4e14025fa8bd3cdaeb454b3b Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-26Adjust DCAE-DS CSIT for Jenkins and to masterkaihlavi2-0/+0
- directory structures of DCAE-DS CSIT plans, scripts and tests have been changed to be more compatible with jjb templates to enable working Jenkins jobs - robot tests adjusted to latest changes in robotframework-onap library Change-Id: Id05602a88557267cc7ae77f066877680ae431a7f Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-25Merge "Remove data folder in CSIT teardown"Gary Wu2-9/+7
2019-06-25Merge "Clean up startup script"Gary Wu1-13/+0
2019-06-25Merge "Add initial CSIT case for DCAE-DS"Gary Wu2-2/+70
2019-06-25Merge "Remove obsolete start scripts"Gary Wu2-187/+0
2019-06-25Remove data folder in CSIT teardownkaihlavi2-9/+7
- Remove data folder by force as sudo in kill script - Fix script name output (also in vid's corresponding script) Issue-ID: SDC-2362 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I91f031c74e7ae05ec4645677ec8c07b34ed28c0b
2019-06-18Add initial CSIT case for DCAE-DSkaihlavi2-2/+70
Add CSIT robot test and structure for DCAE-DS This test case provides initial basic implementation for monitoring configuration service creation and approval procedure - only unauthenticated backend http interfaces are used - distribution of the service is excluded - keyword libraries and templates should be refactored into testsuite repo - no logs are verified on runtime Change-Id: Ied08206fe8567a249c309bcd243e25b153b33da7 Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-17Removing unnecessary mounts in APEX CSITa.sreekumar9-218/+9
In the end to end csit test cases of APEX, currently we are mounting the config files for APEX and PAP. This is not necessary. Change-Id: I10f9ed509e4bb537cc91f145dde34aeb8c0d9b99 Issue-ID: POLICY-1863 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-13Add heart beat interval to CSIT PAP configJim Hahn1-0/+1
Only apex CSIT overrides PAP's defaultConfig.json, so only had to add the new parameter to that one file. Issue-ID: POLICY-1846 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Iba15c1db0d03dc42c8f5c058b9bc8e9ff55c42b4
2019-06-07Clean up startup scriptkaihlavi1-13/+0
Issue-ID: SDC-2361 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I23823478fdc09207a084ebb328c1aa6f13638bdc
2019-06-05Run DB script before starting other containersJim Hahn4-12/+81
The other containers were starting before their user names had been added to the DB. Consequently, they were aborting at start-up. Modified the various setup.sh scripts to run the DB-init script before starting the remaing containers. Also add start_all to start the containers and wait for the ports to start listening, eliminating the need for the "curl" tests in the setup.sh scripts. Also removed version numbers from some yml files. Change-Id: Idd9ff81b3ab4a78926b644f22360c9222afe82d5 Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-04Remove obsolete start scriptskaihlavi2-187/+0
Issue-ID: SDC-2352 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: Id89ccc01e0e945d69e2eb576b5efead928843535
2019-06-04Remove obsolete files for optf/cmsoJerry Flood2-89/+0
Issue-ID: OPTFRA-517 Change-Id: I34adbe4284c39041c44b70fce9677e9a64f5b3da Signed-off-by: Jerry Flood <jflood@att.com>
2019-05-30Merge "Add temporary kill script for SDC DCAE containers"Gary Wu1-0/+31
2019-05-30Add temporary kill script for SDC DCAE containerskaihlavi1-0/+31
Currently it is possible to start SDC's DCAE-DS docker containers with docker_run.sh (see https://gerrit.onap.org/r/#/c/sdc/+/88549/) but the containers are not killed by corresponding kill_containers_and_remove_dataFolders.sh - this script provides the ability to kill them until image naming and tagging has more complete solution that should render this one obsolete Change-Id: I623db3ace0d4e14b925254bd21528bfa8e00f458 Issue-ID: SDC-2342 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-28Merge "Xacml-PDP CSIT tests with DmaaP Simulator"Gary Wu3-0/+118
2019-05-27Correct minor typos in scriptkaihlavi1-5/+4
Issue-ID: SDC-2333 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I5d5d44cd8dfcb8d81250af182915c163efb9a576