Dmitry Puzikov [Thu, 21 Nov 2019 14:44:17 +0000 (15:44 +0100)]
Fix sonar issue with test coverage
Added tests to cover the case.
Fixed provider load failure:
If more than one provider is configured and if the first if failng
try to load next one.
Change-Id: Idd7edb90e2b9b1cf21ec20e299140d3362bd1138
Issue-ID: SDC-2693
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
andre.schmid [Mon, 25 Nov 2019 11:51:14 +0000 (11:51 +0000)]
Fix welcome screen close timeout
The welcome screen close timeout is triggering even if you close the
welcome window. After 4 seconds it forces the user to go to the home
screen even if it is already in another screen. The timeout was also
the cause for one known problem in the sanity ui test
"onapOnboardVNFflow".
Adds also a print screen to the ui tests, to check if the resource
was really clicked.
Removes invalids "throws Exception" declarations that were being
handled in the main test method "Vf.changeInstanceNameInVfTest", that
was catching also assertions errors.
Change-Id: Idff26b1ba5b199482e68cc50532fa20f4f834e34
Issue-ID: SDC-2648
Signed-off-by: andre.schmid <andre.schmid@est.tech>
vasraz [Tue, 19 Nov 2019 11:31:19 +0000 (11:31 +0000)]
Fix Security Hotspots issues
Change-Id: Icc45769cff71c8153c0afba6e2363b0399144175
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2671
Dmitry Puzikov [Wed, 13 Nov 2019 11:51:41 +0000 (12:51 +0100)]
Fixing sonar issue
Getting rid of nested ifs-fors
Change-Id: I71ef686683b7070614c27aabbf6cd058b5d35ffd
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
andre.schmid [Tue, 12 Nov 2019 11:34:20 +0000 (11:34 +0000)]
Add alter_tables.cql to gitignore
The alter_tables.cql is being copied during build and should be ignored.
Change-Id: I0a0a420e17761247a6575ad8715ccbd20fd5c1e1
Issue-ID: SDC-2640
Signed-off-by: andre.schmid <andre.schmid@est.tech>
ilanap [Sun, 1 Dec 2019 08:10:33 +0000 (10:10 +0200)]
Sonar fixes for API to retrieve UI configuration
Added configuration file with the menu configuration from catalog-ui. Added to the configuration manager. to chef and to the ui rest APIs.
Issue-ID: SDC-2663
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: I032a7666f470e7d4797a555470bf9eb4a43cfcc4
vasraz [Tue, 26 Nov 2019 17:20:27 +0000 (17:20 +0000)]
Upgrade Node & npm version
Change-Id: Ib41da68543824be671e162eb6c0ba78ded1949cb
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2685
ilanap [Tue, 26 Nov 2019 09:53:36 +0000 (11:53 +0200)]
Add API to retrieve UI configuration
Added configuration file with the menu configuration from catalog-ui. Added to the configuration manager. to chef and to the ui rest APIs.
Issue-ID: SDC-2663
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ia5e014a273238981241821c0d81b0455bd662b28
Signed-off-by: ilanap <ilanap@amdocs.com>
Dmitry Puzikov [Tue, 19 Nov 2019 08:55:27 +0000 (09:55 +0100)]
Fixing sonar issues
Simplified method ConfigurationUtils::getProperty.
Added unit tests for method.
Change-Id: I521661b464e7f60101ee51ccbc9d915bf5030f31
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
vasraz [Wed, 20 Nov 2019 17:32:02 +0000 (17:32 +0000)]
Fix Sonar issue
Major SmellCode:
Replace StringBuffer with StringBuilder
Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2670
shrek2000 [Sun, 24 Nov 2019 11:20:39 +0000 (13:20 +0200)]
update info.yaml
Change-Id: I9fb6ce18430ad0789a030a9c80dd231f44f6f6de
Issue-ID: SDC-2448
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
Dmitry Puzikov [Thu, 14 Nov 2019 13:10:22 +0000 (14:10 +0100)]
Fixing sonar issues
Reduce cyclomatic complexity.
Splitted complex method to a set of more simple methods.
Change-Id: Ic0be3cccefa520f38af83872ddc3e981205edc36
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Dmitry Puzikov [Tue, 19 Nov 2019 13:41:01 +0000 (14:41 +0100)]
Fixing sonar issues
Logging exception instead of printing trace.
Change-Id: I6c24c258fc1b96c74e55aa2f90c82d09f28ef247
Issue-ID: SDC-2660
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Dmitry Puzikov [Tue, 19 Nov 2019 14:13:23 +0000 (15:13 +0100)]
Fixing sonar issues
Replaced URL with URI to avoid
trigger DNS.
Change-Id: If85f1f2780c46e0966f3707af51571f4a7aa2f15
Issue-ID: SDC-2660
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
andre.schmid [Fri, 15 Nov 2019 10:07:12 +0000 (10:07 +0000)]
Fix to stabilize sanity ui test suite
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>
andre.schmid [Tue, 29 Oct 2019 17:18:22 +0000 (17:18 +0000)]
Add non-mano software information to sanity test PNF packages
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>
andre.schmid [Thu, 10 Oct 2019 16:39:03 +0000 (17:39 +0100)]
Validate non-mano software information artifact
Change-Id: Ie9fabd6af821b830e211ff1068fb287357fd38ee
Issue-ID: SDC-2619
Signed-off-by: andre.schmid <andre.schmid@est.tech>
andre.schmid [Tue, 8 Oct 2019 17:27:36 +0000 (18:27 +0100)]
Onboard PNF software version
Change-Id: Id9e32e01f6c2f4c39c8ff10816d982cbb3063bf7
Issue-ID: SDC-2589
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Oren Kleks [Tue, 19 Nov 2019 11:51:31 +0000 (13:51 +0200)]
update info.yaml
Change-Id: Ic32f39f3424d69e25079b91eec78f79e4ce5e020
Issue-ID: SDC-2448
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
aribeiro [Tue, 1 Oct 2019 15:47:26 +0000 (16:47 +0100)]
Fix for scalar-unit type value.
Issue-ID: SDC-323
Change-Id: I7f19a7356e1cd34deca0a168b3cb707ef657b9cb
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Dmitry Puzikov [Wed, 13 Nov 2019 14:14:52 +0000 (15:14 +0100)]
Fixing sonar issue
Constant is used instead of repeated literal.
Change-Id: I540c09f8ba596398257b34ff3189b1a3ce5ab416
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Dmitry Puzikov [Wed, 13 Nov 2019 15:52:25 +0000 (16:52 +0100)]
Fixing sonar issues
Added logging instead of skipping or printing stacktraces.
Change-Id: I258a2a76c295f12b30e200c4519bc1bb0741f642
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
db384r [Sun, 17 Nov 2019 12:51:08 +0000 (14:51 +0200)]
Configuration.yaml update
Issue-ID: SDC-2658
Signed-off-by: db384r <dvir.baumel@intl.att.com>
Change-Id: Icec6ad0fb74f023df58ca1a8c9e5a432bff6285f
Ahmed Abbas [Thu, 7 Nov 2019 15:52:37 +0000 (17:52 +0200)]
add SDC Meta Data for CDS Integration
Issue-ID: SDC-2631
Signed-off-by: Ahmed Abbas <ahmad.helmy@orange.com>
Change-Id: Ie691e323f771b786d154c0614d0cd724635a5ec2
vasraz [Thu, 7 Nov 2019 13:15:40 +0000 (13:15 +0000)]
Fix incorrect rendering of search box on VF Properties Assignment tab
Change-Id: I7abb04fa17c525aaba414f1ba1714211ff08b46c
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2328
aribeiro [Fri, 8 Nov 2019 10:53:56 +0000 (10:53 +0000)]
Fix sonarQube issue.
Issue-ID: SDC-2646
Change-Id: Ic426e1cccf50e3db40381896ee50b74e647129ee
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Ben David, Elad (eb7504) [Wed, 6 Nov 2019 15:45:27 +0000 (17:45 +0200)]
Align Sdc warnings with VNF Requirements
Change-Id: Ic133faed7f8b612279de0eb836e88e9ea6b694d7
Issue-ID: SDC-2647
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
andre.schmid [Mon, 4 Nov 2019 13:59:28 +0000 (13:59 +0000)]
Fix sonarqube issues introduced by ZipSlip change
Fix major and critical sonarqube issues introduced by ZipSlip change
id I721f3d44b34fe6d242c9537f5a515ce1bb534c9a
Change-Id: I3aa2cd4116936d715baba99a38d43aa40fd62a29
Issue-ID: SDC-1401
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Ben David, Elad (eb7504) [Sun, 3 Nov 2019 15:22:48 +0000 (17:22 +0200)]
Align logging to Onap-ELS 2019.11
Change-Id: I1750493d5c9f2eab8c1395f0fbc9ae66cf74b0a6
Issue-ID: SDC-2639
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
aribeiro [Thu, 10 Oct 2019 09:38:21 +0000 (10:38 +0100)]
Add a new package with Custom Types to Sanity test.
Issue-ID: SDC-2616
Change-Id: Id290626724488e58b4840408429c1962a19064a0
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
aribeiro [Wed, 11 Sep 2019 12:50:46 +0000 (13:50 +0100)]
Transform custom types for PNFD.
Transformation of customized Node Types for PNFD.
Issue-ID: SDC-2561
Change-Id: Id3e07edff0e5a8cb134aa12c07878e14c33d1512
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Ben David, Elad (eb7504) [Mon, 4 Nov 2019 08:53:24 +0000 (10:53 +0200)]
a fix to handle onboard ALTER tables
Change-Id: I7e721f267e6e5935231d6e38ac490d9335f68f4b
Issue-ID: SDC-2640
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
andre.schmid [Mon, 30 Sep 2019 16:47:27 +0000 (17:47 +0100)]
Validate artifacts signature in SOL004 package
Change-Id: Ib048f4501fd8a81cdf11fab19f149350011f772e
Issue-ID: SDC-2632
Signed-off-by: andre.schmid <andre.schmid@est.tech>
aribeiro [Thu, 3 Oct 2019 14:44:48 +0000 (15:44 +0100)]
Create new non-mano Artifact Type entry for pnf software information
Issue-ID: SDC-2615
Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
andre.schmid [Thu, 19 Sep 2019 15:14:01 +0000 (16:14 +0100)]
Centralize onboarding package validation
Change-Id: I3cc58cf15f62008e83cfc7ddb095d07ab216b82a
Issue-ID: SDC-2583
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Ben David, Elad (eb7504) [Sun, 3 Nov 2019 14:19:16 +0000 (16:19 +0200)]
Handle onboard ALTER tables to support upgrade
Change-Id: I6c96aecccf00a3b02bf07cf172ff752b69d3cc94
Issue-ID: SDC-2640
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
andre.schmid [Wed, 30 Oct 2019 14:30:42 +0000 (14:30 +0000)]
Fix for missing import merge issue
Some imports from SDC-1952 were lost during the merge of SDC-1401,
they were re-added.
Change-Id: Ie3af8290f98afe4fd9278c218a47376abcdd1a3c
Issue-ID: SDC-1952, SDC-1401
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Ofir Sonsino [Wed, 30 Oct 2019 09:29:18 +0000 (11:29 +0200)]
DmaapPublisher files update
Change-Id: I72b501587ed0b4ea8f7ba54614361d546b255cf6
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
andre.schmid [Fri, 27 Sep 2019 12:27:11 +0000 (13:27 +0100)]
Fix zip slip security flaw
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>
andre.schmid [Thu, 26 Sep 2019 12:22:44 +0000 (13:22 +0100)]
Validate SOL004 manifest signature order
SOL004 Manifest signature must be the last entry of the manifest.
Change-Id: Ie3835f7140ccdf92ef5518ca2d7571930de81971
Issue-ID: SDC-2587
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Liang Ding [Mon, 15 Apr 2019 07:05:05 +0000 (00:05 -0700)]
add artifacts support in TOSCA exported yml file
Change-Id: I56f8a6a1ce758876e83a7ee8318b79644ae7d5cb
Issue-ID: SDC-1952
Signed-off-by: Liang Ding <liang.ding@intel.com>
aribeiro [Thu, 26 Sep 2019 12:20:28 +0000 (13:20 +0100)]
Fix for status properties value.
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>
Ofir Sonsino [Tue, 29 Oct 2019 09:07:28 +0000 (11:07 +0200)]
Bump SDC version 1.6.0
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
vasraz [Thu, 5 Sep 2019 13:25:39 +0000 (14:25 +0100)]
Avoid duplicated verification if package is signed
Fix potential thread leak by using try-with-resource.
Change-Id: I20eda524cd028b9dfdfa83207a059f4e1dfeff5e
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2580
andre.schmid [Fri, 30 Aug 2019 17:20:32 +0000 (18:20 +0100)]
Fix and refactor manifest parsing
Fix a CMS signature reading expected token.
Fix the necessity of a empty line in the end of the manifest.
Implement CMS signature, Source checksum algorithm and digest reading.
Indicate the line number and content when a manifest error occurs.
Remove unnecessary recursive reading.
Centralize manifest tokens.
Improve tests by checking the expected error.
Document the code.
Change-Id: I7d12020d8922fc5d4c8d9f238557dfbcc0b65757
Issue-ID: SDC-2563
Signed-off-by: andre.schmid <andre.schmid@est.tech>
andre.schmid [Fri, 18 Oct 2019 13:58:21 +0000 (14:58 +0100)]
Fix factory instance creation instability
Refactor the factory registry and instance creation.
Remove unnecessary static code in Factory creation.
Centralize the responsibility to read the factory registry configuration
and cache the factory instances in a Singleton called
FactoryRegistryManager.
Clean the base abstract factory that was sharing non factory code, it
had all the factory registry code statically, never used by the concrete
factory classes.
Change-Id: Ie2e9c29013acd36ddaf15383dd6b06432fbdbb66
Issue-ID: SDC-1905
Signed-off-by: andre.schmid <andre.schmid@est.tech>
atif husain [Wed, 2 Oct 2019 08:03:57 +0000 (18:03 +1000)]
Changes for new service category
Introduced new service category, Partner Domain Service
Added logic to disable composition for Partner Domain Service category
Issue-ID: SDC-2382
Change-Id: I6ed135733c6f05914e102c037ebe9057ad731e75
Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
Ofir Sonsino [Sun, 13 Oct 2019 08:29:47 +0000 (11:29 +0300)]
El Alto known issues
Change-Id: I293935d6a159691390bd90dd3fc2998821c97773
Issue-ID: SDC-2569
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
vasraz [Tue, 8 Oct 2019 15:44:09 +0000 (16:44 +0100)]
Fix failing unit test
Issue-ID: SDC-2609
Change-Id: Ibf411a8d10af858ee2f42f9b4b565b81fee33ebe
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
Krzysztof Opasiak [Sat, 5 Oct 2019 22:33:33 +0000 (00:33 +0200)]
Document fixed OJSI tickets in release notes
Issue-ID: OJSI-31
Issue-ID: OJSI-76
Issue-ID: OJSI-77
Issue-ID: OJSI-78
Issue-ID: OJSI-79
Issue-ID: OJSI-80
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ie57bdbfae0b40ff7633ff674d22ac5ad3c5cf866
Ofir Sonsino [Fri, 4 Oct 2019 10:51:15 +0000 (10:51 +0000)]
Revert "Sonar fix NullPointerException"
This reverts commit
b0f96a46e2720c75eb035bbe94015e5a1c6b0b32.
Issue-ID: SDC-2542
Change-Id: I63b5349670c8e5fa814d686cfa93173d0ea6297e
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
aribeiro [Mon, 30 Sep 2019 10:04:00 +0000 (11:04 +0100)]
Fix for error message.
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>
Petr Ospalý [Fri, 20 Sep 2019 03:51:37 +0000 (05:51 +0200)]
Add support for HTTPS in sanity tests
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
andre.schmid [Wed, 11 Sep 2019 19:20:05 +0000 (20:20 +0100)]
Add substitution mapping to sanity test
Change-Id: Ib970a5929f12144faa2e655f5f898c645feb17b7
Issue-ID: SDC-2282
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Arindam Mondal [Tue, 10 Sep 2019 06:02:53 +0000 (15:02 +0900)]
Sonar fix NullPointerException
Issue-ID: SDC-2542
Change-Id: I08a93932d2776c40a982bb802aeac994c1f35841
Signed-off-by: arindamm <arind.mondal@samsung.com>
aribeiro [Thu, 26 Sep 2019 10:43:21 +0000 (11:43 +0100)]
Fix for closing sdc splashscreen.
After loading, the SDC splashscreen will now disappear after a total of 4 seconds.
Issue-ID: SDC-2258
Change-Id: I16629b2cf90f6cca0469ceb506128dabfc1ea3e1
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Ofir Sonsino [Wed, 2 Oct 2019 15:27:04 +0000 (18:27 +0300)]
Update release notes
Change-Id: I4ea66e1bef928bb4d43d23e063d9af1c44aa1e8d
Issue-ID: SDC-2569
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
Ofir Sonsino [Wed, 18 Sep 2019 07:32:39 +0000 (10:32 +0300)]
npm registry fix
Change-Id: I6e4b866c118b0c11518a0aff6fce59956b123013
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
Ofir Sonsino [Tue, 10 Sep 2019 07:52:13 +0000 (10:52 +0300)]
Bump SDC version 1.5.2
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
k.kedron [Mon, 9 Sep 2019 14:40:21 +0000 (16:40 +0200)]
Updated the sdc cert for ONAP namespace in the kubernetes.
Issue-ID: SDC-2539
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I4dba563d5dd8b041a2a61076a9ccbabcc4d22316
Liang Ding [Thu, 22 Aug 2019 04:58:54 +0000 (21:58 -0700)]
fix a nested node type issue
the newly added node type is considered as nested
when substitution_mapping is enabled in TOSCA yaml file
Change-Id: Ibdee29d7a553c7b1ce085cbe971ceace6c4488f5
Issue-ID: SDC-2282
Signed-off-by: Liang Ding <liang.ding@intel.com>
andre.schmid [Fri, 6 Sep 2019 09:45:03 +0000 (09:45 +0000)]
Revert "Basic authorization for unsecured endpoint"
This reverts commit
34e04405
Change-Id: I6e27ce2d04b50417c3b0c9e5da217cbc57f8d277
Issue-ID: SDC-2556
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Piotr Darosz [Wed, 4 Sep 2019 10:27:53 +0000 (12:27 +0200)]
openecomp-be code coverage increase
Add tests for classes in
sdc.vendorsoftwareproduct.types.schemagenerator package
Change-Id: Iabd22f88a5106c881ee687a4b57a62f59c0bc10e
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Piotr Darosz [Wed, 4 Sep 2019 12:19:27 +0000 (14:19 +0200)]
catalog-be code coverage increase
Add tests for DistributionCatalogServlet class
Change-Id: I3da0460f09c803a0ec5a26bd2c7f70f36c6998a1
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Wed, 4 Sep 2019 12:29:46 +0000 (14:29 +0200)]
unit tests - catalog-model
Coverage increasing
Change-Id: Idb7902578aca65eaee1a63871e9b84e3c4767233
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Tomasz Golabek [Wed, 4 Sep 2019 10:56:12 +0000 (12:56 +0200)]
unit tests - NetworkPackageHealer
Additional junit tests using mockito
Change-Id: I1a48d0dd15a3319dc096816ea36346f4b13322fc
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Piotr Darosz [Wed, 4 Sep 2019 08:05:34 +0000 (10:05 +0200)]
common code coverage increase
Add tests for classes in sdc.tosca.datatypes.model package
Change-Id: Ifc277512d833b2501f0e594b9062d39c26565055
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Piotr Darosz [Wed, 4 Sep 2019 07:11:35 +0000 (09:11 +0200)]
openecomp-be code coverage increase
Add tests for classes in openecomp.core.model.types package
Change-Id: I1c8044b2c8d422468dba610b2012e1cb34a75835
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Tue, 3 Sep 2019 14:08:37 +0000 (16:08 +0200)]
unit tests - openecomp-sdc
Additional junit tests mostly for pojos
Change-Id: I851d7df94b1e1c225d087b8881c3c1cd30867efb
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
andre.schmid [Tue, 3 Sep 2019 13:45:28 +0000 (13:45 +0000)]
Implement PNFD Model driven conversion
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8
Issue-ID: SDC-2509
Signed-off-by: andre.schmid <andre.schmid@est.tech>
aribeiro [Tue, 3 Sep 2019 08:37:55 +0000 (08:37 +0000)]
Onboard Package Handling
Retain the original onboarded package when it comes in zip/csar format.
Issue-ID: SDC-2510
Change-Id: Ie293db25eca8872be26ffc8475b25ccace1aab6f
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Piotr Darosz [Tue, 3 Sep 2019 12:27:06 +0000 (14:27 +0200)]
catalog-be code coverage increase
Increase code coverage in ResourcesServlet class
Change-Id: I633da1a41d7266dd1b218814bf5d52de73c8d264
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Tue, 3 Sep 2019 11:08:37 +0000 (13:08 +0200)]
unit tests - openecomp-sdc
Additional junit tests for action, type etc.
Change-Id: I93b088035fca13db4fdcf9da0d58e7f01ee4f976
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Tomasz Golabek [Tue, 3 Sep 2019 10:13:54 +0000 (12:13 +0200)]
unit tests - common-app-api
Additional junit tests for common
Change-Id: I79dd83e4de767652c019db292bdf7a23d9dca8a4
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Piotr Darosz [Tue, 3 Sep 2019 08:28:11 +0000 (10:28 +0200)]
openecomp-utilities-lib code coverage increase
Add tests for RequirementDefinitionDeserializer class
Change-Id: I038f73fad4daa3eab931c566668359db9b5f6dc6
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Tue, 3 Sep 2019 08:02:44 +0000 (10:02 +0200)]
unit tests - catalog-model
Additional junit tests for be-model
Change-Id: I7364cd33411d7f6eb69f9a02b2aea889c594ea7b
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Arindam Mondal [Tue, 3 Sep 2019 05:23:35 +0000 (14:23 +0900)]
General Sonar fixes
+)Organize imports
++) log formatter
Issue-ID: SDC-2542
Change-Id: Ibb4b568b19ee40a68f783bfa820bd7c73aae5c1f
Signed-off-by: arindamm <arind.mondal@samsung.com>
k.kedron [Mon, 2 Sep 2019 10:45:35 +0000 (12:45 +0200)]
Fixed ready-probe file
Fixed ready-probe script url endpoint.
Issue-ID: SDC-2548
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ibfc2d9199bd01678766810540df594d70812bd9e
Piotr Darosz [Mon, 2 Sep 2019 13:13:42 +0000 (15:13 +0200)]
catalog-be code coverage increase
Increase test code coverage in ElementServletTest
Change-Id: I65d08d901f30c218e60b5630132d9eb8b4a90a9a
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Piotr Darosz [Tue, 3 Sep 2019 07:14:35 +0000 (09:14 +0200)]
openecomp-be code coverage increase
Add tests for classes in generator.datatypes.tosca package
Change-Id: Ic21b4e05d15e881016fa5f25113625bc441924c9
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Piotr Darosz [Tue, 3 Sep 2019 06:40:37 +0000 (08:40 +0200)]
openecomp-be code coverage increase
Add tests for classes in vendorsoftwareproduct.types.composition package
Change-Id: I2b05536a4fd80021bfedd2e7ff0f1747f6227935
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Mon, 2 Sep 2019 14:05:21 +0000 (16:05 +0200)]
unit tests - catalog-model
Additional junit tests for ToscaListValueConverter
Change-Id: I41e8b501129ceb0640e54e4173b3cdf13983ccd8
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
m.kowalski3 [Fri, 30 Aug 2019 14:02:56 +0000 (16:02 +0200)]
Basic authorization for unsecured endpoint
Issue-ID: OJSI-90
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I3423d316e4853cfd5fa4aee50ad6506937bd6381
Piotr Darosz [Mon, 2 Sep 2019 07:42:33 +0000 (09:42 +0200)]
catalog-be code coverage increase
Added tests for ArtifactExternalServlet
Change-Id: Ic20e172e910f9c5e18d3f43f78a10a36c588f16d
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Mon, 2 Sep 2019 07:06:00 +0000 (09:06 +0200)]
unit tests - openecomp-be
Additional junit tests for zusammen models
Change-Id: I4593d5c5dfd9619f36c69096462ed5de08b189f0
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Bartosz Gardziejewski [Fri, 30 Aug 2019 13:50:41 +0000 (15:50 +0200)]
testing common-app-api utils YamlToObjectConverter
Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I10fc2d7a35150e97b90a1c69c4faac949e439db3
Piotr Darosz [Sun, 1 Sep 2019 13:05:38 +0000 (15:05 +0200)]
unit tests - openecomp-be
Additional junit tests for dao-types
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Change-Id: I195610e66628d5d8546846592c98c726ba81824d
Arindam Mondal [Thu, 29 Aug 2019 01:31:29 +0000 (10:31 +0900)]
General sonar fixes
+) Removed empty method
++)Removed unused import
Issue-ID: SDC-2542
Change-Id: I9081e7c5f2b9329101c231ae18b4075e33219535
Signed-off-by: arindamm <arind.mondal@samsung.com>
andre.schmid [Thu, 29 Aug 2019 16:31:53 +0000 (16:31 +0000)]
Fix artifacts references in main TOSCA descriptor
During package conversion, artifacts can have their path changed.
References for those artifacts inside the main TOSCA descriptor must be
updated accordingly.
Change-Id: Idcffb0724c20875ff1decebfec7c47605bfe20dc
Issue-ID: SDC-2540
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Bartosz Gardziejewski [Fri, 30 Aug 2019 09:43:39 +0000 (11:43 +0200)]
testing common-app-api utils ValidationUtil
Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I49339dd340b2262f81d750ae7fe6165f3fabca14
Tomasz Golabek [Fri, 30 Aug 2019 08:52:41 +0000 (10:52 +0200)]
unit tests - openecomp-be
Additional junit tests for vendor-license-api-types
Change-Id: I343d04f001a92d47aa411e6bda498fa772040e5b
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Tomasz Golabek [Fri, 30 Aug 2019 07:26:10 +0000 (09:26 +0200)]
unit tests - openecomp-be
Additional junit tests for vendor-software-product-rest-types
Change-Id: I757fe0eed085b6ce880dda143ad1fceac220aafe
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
k.kedron [Thu, 29 Aug 2019 15:05:58 +0000 (17:05 +0200)]
Update ready-probe file
Update ready-probe file to support the https mode.
Issue-ID: SDC-2548
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I78328d7575d202d1d241785e07fb57573ffe2739
k.kedron [Wed, 28 Aug 2019 13:01:51 +0000 (15:01 +0200)]
Use https request in the dcoker_run
-Update the docker_run script to use https connection
for healthCheck request.
-Removing the onap/sdc-simulator each time when docker is running up
to prevent error with restarting host
-Checkstyle for script
Issue-ID: SDC-2546
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I66fbb67bbcd3e200c61a5ec67f15f5f5dad5bc8c
k.kedron [Tue, 27 Aug 2019 16:10:09 +0000 (18:10 +0200)]
Fully HTTPS support in the catalog-be
Fully HTTPS support:
-Updated jvm configuration to support call to
the SDC components using HTTPS.
-Checkstyle in the recipes
-Add support for disableHttp flag in the chef script
-Add support for change the http to https in the python script
-Fixed the --schema param in the importONAPNormativeALL and
upgradeONAPNormative python scripts
-Checkstyle in the importX python script
-Disabled pycurl.SSL_VERIFYHOST to fix communication with the be component
Issue-ID: SDC-2501
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I588ba21638083694932a1af272f3bcbaa98268a7
Tomasz Golabek [Thu, 29 Aug 2019 11:32:30 +0000 (13:32 +0200)]
unit tests - openecomp-be
Additional junit tests for item-rest-services and unique-type-rest-services
Change-Id: I330954ad4eb432c126c7f163f9fdea30d3173cd9
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Bartosz Gardziejewski [Wed, 28 Aug 2019 12:24:36 +0000 (14:24 +0200)]
refactoring tests in Common-App-Api util
Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Id2c3d3ade4ec176eaee6302c46ddc4009eb40931
Tomasz Golabek [Thu, 29 Aug 2019 12:40:28 +0000 (14:40 +0200)]
unit tests - openecomp-be
Additional junit tests for conflict-rest-types and vendor-license-rest-types
Change-Id: I3e58d8a85f40e0f3a2e64c2b3195c97bb71a8fbd
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Piotr Darosz [Thu, 29 Aug 2019 06:53:10 +0000 (08:53 +0200)]
catalog-be code coverage increase
Increase test code coverage in catalog-be ServiceBusinessLogic - part 1
Change-Id: I1ef29b46f41bfe7d41219ddbe5dbb0dd5a6649ad
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Ofir Sonsino [Wed, 28 Aug 2019 07:12:58 +0000 (10:12 +0300)]
BRG Category
Change-Id: I9ac88bae14227fb687d0520da349b2c72c7b1ead
Issue-ID: SDC-2535
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>