aboutsummaryrefslogtreecommitdiffstats
path: root/test-apis-ci
AgeCommit message (Collapse)AuthorFilesLines
2020-10-08Update READMEsebdet1-0/+0
Update the README with new way of working with the integration-tests + add log of the onboard BE in /tmp/sdc-integration-tests + removal old files Issue-ID: SDC-3309 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I11098e63e3ca31d1310718b3e0ac07e54a76c882 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-09-07Optimize BuildJulienBe546-91716/+0
Optimize the log output Issue-ID: SDC-3232 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I50cfb7119b1e9087d3e2db56a81fe47df4ad6254
2020-09-04Upgrade Vulnerable Direct Dependencies [jackson]amohamad1-7/+0
Issue-ID: SDC-3051 Upgrade from jackson-databind 1.9 and 2.10 to 2.11 upgrade the respective pom.xml files Upgrade the 1.9 imports and required code changes Upgrade the beans-services.xml files Change-Id: I56b59e08d65a0a1888c8caeb5470bc0c6a028ddd Signed-off-by: amohamad <a.mohamad@queensu.ca>
2020-09-02Support for defining attributes on a node_typevasraz1-6/+6
This commit aims to add support of attributes on node_type. It is first of several commits to cover all support. It includes: - new classes: AttributeDefinition ComponentInstanceAttribute IAttributeInputCommon IAttributeInputCommon AttributeDataDefinition MapAttributesDataDefinition - support of 'Import of VFC with attributes' - TCs fix for changed code Next commit(s) will cover: - support of "Onboarding packages with attributes" - support of "Download TOSCA Artifacts - Tosca Model" - support of "Import onboarded VSP" Change-Id: I0167abc58e8aeef3d631833cc323e466f8e71492 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3200
2020-08-24Add sdc startup in ITsebdet22-119/+119
Rework the java packages so that we use onap now + fix the folders written outside of the target folder Issue-ID: SDC-3232 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I23c2bad4bee6b766cfacc2c544e1431aed4cd608
2020-08-22Add sdc startup in ITJulienBe1-7/+1
Move the Api tests code in the integration-test module, and remove the need to have a container Issue-ID: SDC-3232 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2020-08-05Fix broken UI & API testssebdet3-18/+10
Due to issues in the log4j files, the tests can't be started and crash Issue-ID: SDC-3223 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I77909d98c716a8a232f5cc8ae8baddebb4ee581f
2020-07-29Upgrade Vulnerable Direct Dependencies [log4j]amohamad24-197/+209
Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Upgrade from the vulnerable log4j 1.x to log4j 2.13.1 Add a log4j version property in sdc-main pom.xml Add two maven dependencies to respective child pom.xml Change name of log4j .properties and .xml config files to reflect log4j2 naming Update the configuration files to the totally new log4j 2 config syntax Replace PropertyConfigurator with LoggerContext Remove the abandoned log4j.lf5.util.ResourceUtils Signed-off-by: amohamad <a.mohamad@queensu.ca> Change-Id: Ie0f141eb2e0337ee5b63b61dc1395ccd8040558d
2020-07-15Align onap/base_sdc-xyz versionsvasraz1-1/+1
Change-Id: Ic2e53bb76b0b6bc54de3336f5e5916eba189fe18 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3201
2020-06-25Rationalize maven dependenciesJulienBe1-6/+0
Issue-ID: SDC-3149 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I1ee42494a4cc5b185b6dfcbee44399d2960cf880
2020-06-25add a new profil for fast buildJulienBe1-0/+1
Issue-ID: SDC-3148 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Ie98194fe6d136f57491a0590ab2afc9db59fbfbd
2020-06-15Fix Critical security vulnerabilityvasraz1-1/+6
com.fasterxml.jackson.core : jackson-databind : 2.9.9 Change-Id: I81af7879cb1fbcd158177a3dc220b704ff2f3388 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3111
2020-06-10Java 11 migration - 'test-apis-ci'Rodrigo Lima1-14/+4
- Removed references to protected packages (sun.net.*) Issue-ID: SDC-3037 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: Ibbf25af390e624e15fb2bc8ea17777056fe5f3b5
2020-05-06Prepare for Junit5vasraz3-20/+20
Remove unused/duplicated dependencies Change-Id: Iee0d9510ffbe3e2e14574e22ba965d6829fd568b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2844 Issue-ID: SDC-2983
2020-05-05Remove all thrift's dependenciesvasraz1-5/+0
Remove unused/duplicated dependencies Change-Id: Ic2239acc5ddde1d0874b5139c228934ec1e61cd0 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2985
2020-04-19Configure a new Artifact Typeandre.schmid1-266/+0
Centralizes artifact configuration in one yaml entry. Allow the configuration of a new artifact type without the need of code changes. The configuration file now is used as a source of artifacts types instead the artifact type enum. The enum will be used as a source of base artifact types and also in hard coded business rules. Change-Id: Id0383d9fca9bce0519a4d52a4ecb3a68c8713f0f Issue-ID: SDC-2754 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-04-19Added ui-ci test case for checking if hiddenDivyang Patel1-1/+2
categories are not visible (USECASE: 3rd Party Operational Domain Manager) Issue-ID: SDC-2879 Signed-off-by: Divyang Patel <divyang.patel@team.telstra.com> Change-Id: Ic64b7de0f6ee70aef279ce13c3d2e18c194c6789
2020-04-16Upgrade Junit to version 5.6Baumel, Dvir (db384r)1-0/+14
Issue-ID: SDC-2844 Change-Id: I4716bf7920f9bb79c450ebfd48e9d4fba54fdfdd Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
2020-03-26Updated the sdc certk.kedron1-0/+0
Issue-ID: SDC-2855 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I1ee3f155ca50edee4a47b8585d95f9a3f848b94a
2020-03-25Fix to CSIT failure due to EP typeBen David, Elad (eb7504)1-0/+1
Change-Id: I6a2bcd4b43490898952fa1a5ea171ece015d376c Issue-ID: SDC-2820 Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
2020-03-17PM_Dictionary Support in GABTomasz Golabek2-0/+98
UI Sanity for PM Dictionary events in GAB: * added dedicated test for PM_Dictionary * fixed legacy keywords for VES_Event test * Moved GAB tests to separate suite Change-Id: I8b033b3f14b5b18e74bd6c566d5c269e4a94001a Issue-ID: SDC-2095 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2020-03-12Disable SecurityFilterOfir Sonsino1-1/+1
Bumping version to 1.7.0 Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff Issue-ID: SDC-2825 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-18Configuration file runtime reloadandre.schmid1-4/+1
Reloads the backend configuration file when the file listener catches a change. Forces validations errors when the configuration file could not be parsed. Remove not used configurations. Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67 Issue-ID: SDC-2758 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-05Fix for sdc-api-tests dockeraribeiro1-2/+2
Issue-ID: SDC-2756 Change-Id: I87e319a71931881fdef5c5095c79df3a13f4515a Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-02-02Move to version 1.6.1shrek20001-1/+1
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-30Upgrade to Cassandra 3shrek20005-17/+39
Creating base dockers suitable for Cassandra 3 remove cqlsh version Change-Id: I996bad2341410cdf45c49f191e998acf4781fc5d Issue-ID: SDC-2596 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-26Remove ES + KibanaOfir Sonsino1-1/+0
Remove logo from ci report Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-01-26Increase junit TCsvasraz43-34616/+471
1. Re-enable disabled TCs (enable = true) 2. Enable @Ignored TCs 3. Add some Assert when missing 4. Remove old unused TCs (covered in UI) Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2672
2020-01-22Catalog alignmentys969310-1109/+118
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2020-01-21CSIT Fix for SDC-2585atulpurohit1-0/+0
Issue-ID: SDC-2722 Co-authored-by: nikhil.soni@vodafone.com Signed-off-by: atulpurohit <atul.purohit1@vodafone.com> Change-Id: I4f9854a74231ffcce7d8bad9ed7d8dec4c408d63
2020-01-13Onboard PNF software version Ui test caseandre.schmid2-8/+37
Change-Id: Ie5785c220e15afbc35efaa8158ab86c41fc34437 Issue-ID: SDC-2702 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-01-13Refresh option in validation result pageatulpurohit1-0/+0
Issue-ID: SDC-2585 Co-authored-by: nikhil.soni@vodafone.com Signed-off-by: atulpurohit <atul.purohit1@vodafone.com> Change-Id: I78f1385d219837c300cb33aff82b7459f137babb Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
2019-12-05Fix failed merge jobvasraz1-7/+5
Change-Id: I0b4a77bacffc65976fdcc4eeb01cef6edbc9deee Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2687
2019-12-05Upgrade sdc-tosca version in main SDC pomvasraz1-628/+640
Change-Id: I7334e84b7e7e4e55310d1af41a0cced8a02116a4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2687
2019-12-01Update package to add non-mano artifact onap_pnf_software_information.aribeiro1-0/+0
Issue-ID: SDC-2641 Change-Id: Ifc51e106a7217158ce8c4aac41898956caa7ecec Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-11-25Fix Sonar issuevasraz4-6/+6
Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2670
2019-11-21Fix to stabilize sanity ui test suiteandre.schmid11-501/+234
Fix the selection of the Resource Composition screen. Fix the search for a Resource in the home screen. Refactor some related classes, mainly removing exceptions not thrown, correcting typos, removing unused/commented code, fixing SonarQube issues. Improve the logs and report logs. Change-Id: I89b5a0d89652367520cededa6744831492bbbaba Issue-ID: SDC-2648 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-20Add non-mano software information to sanity test PNF packagesandre.schmid5-19/+21
Adds a sample non-mano artifact onap_pnf_software_information to existing api sanity test PNF packages. Resigns the 2 signed packages with the new root certificate. 2/3 packages are signed, so a new root certificate had to be generated, as the private key of the previous one is missing. In the docker_run script, creates a new folder to the test certificate, different from the production folder, and bind it with the sdc-api-tests docker. Minor changes in docker_run script. Change-Id: I78b28303215912df129a0e0d70afad5f3d0c2d09 Issue-ID: SDC-2641 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-20Onboard PNF software versionandre.schmid2-31/+22
Change-Id: Id9e32e01f6c2f4c39c8ff10816d982cbb3063bf7 Issue-ID: SDC-2589 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-17Configuration.yaml updatedb384r1-11/+11
Issue-ID: SDC-2658 Signed-off-by: db384r <dvir.baumel@intl.att.com> Change-Id: Icec6ad0fb74f023df58ca1a8c9e5a432bff6285f
2019-11-04Add a new package with Custom Types to Sanity test.aribeiro1-0/+0
Issue-ID: SDC-2616 Change-Id: Id290626724488e58b4840408429c1962a19064a0 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-11-03Create new non-mano Artifact Type entry for pnf software informationaribeiro2-28/+15
Issue-ID: SDC-2615 Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-30DmaapPublisher files updateOfir Sonsino1-4/+4
Change-Id: I72b501587ed0b4ea8f7ba54614361d546b255cf6 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-30Fix zip slip security flawandre.schmid3-413/+54
Apply zip slip checking in zip operations throughout the system. Centralizes most of the zip logic in one class. Create tests to zip functionalities and zip slip problem. Change-Id: I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-29Fix for status properties value.aribeiro2-2/+2
These changes were made to align the normative types to the TOSCA property definition requirements. Issue-ID: SDC-322 Change-Id: I32e815dd26990dd6c82c859ad051b271db3c8029 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-29Bump SDC version 1.6.0Ofir Sonsino1-1/+1
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-03Fix for error message.aribeiro2-8/+8
Fixing error message for invalid values across SDC backend API. Issue-ID: SDC-2324 Change-Id: If01307138baf7692e398abf20eb75bbe9a8aa394 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-03Add support for HTTPS in sanity testsPetr Ospalý7-8/+61
If 'disableHttp' is enabled then HTTP ports are replaced with HTTPS ports. Also added the latest trustore with AAF issuer. And because certs for SDC components have CN set to "sdc" - environment json must have the domain names correctly too...it will not work with plain IPs. The changes have been tested from CSIT perspective so if something is missing here or wrong then it is due to the fact that I was focusing on bringing https support to the same level as are http tests and there is also the fact that I do not know SDC component at all. The changes are also done in a manner of previous ones - hacked on top of the current codebase, which is in dire need of a rewrite: - duplicated trustores and other artifacts - duplicated scripts and/or similar script with small differences - ui tests use old ubuntu image vs api tests on alpine - chef codebase is very messy and I see no benefit in the current usage Issue-ID: SDC-2564 Signed-off-by: Petr OspalĂ˝ <p.ospaly@partner.samsung.com> Change-Id: I32e0fb7723ab8489eb09372d410c6f34aaf7cfc8
2019-10-03Add substitution mapping to sanity testandre.schmid1-0/+0
Change-Id: Ib970a5929f12144faa2e655f5f898c645feb17b7 Issue-ID: SDC-2282 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-09-10Bump SDC version 1.5.2Ofir Sonsino1-1/+1
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>