Age | Commit message (Collapse) | Author | Files | Lines |
|
Added tests to increase coverage.
Fixed test faiulures.
Issue-ID: SDC-2710
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Change-Id: I3fb49f2fc794411347780a904837d8d0c61aa7bf
|
|
Fix sonar issue related to logging
caught exceptions.
Change-Id: I61b2106165a81f3b2f0f9cc0da5911787504f50e
Issue-ID: SDC-2698
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
|
|
Added tests for uncovered default methods.
Change-Id: I3bd88ba5d53a8e5614bd72d2781801fcd5f3fe14
Issue-ID: SDC-2669
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
|
|
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>
|
|
Getting rid of nested ifs-fors
Change-Id: I71ef686683b7070614c27aabbf6cd058b5d35ffd
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
|
|
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>
|
|
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>
|
|
Logging exception instead of printing trace.
Change-Id: I6c24c258fc1b96c74e55aa2f90c82d09f28ef247
Issue-ID: SDC-2660
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
|
|
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>
|
|
Issue-ID: SDC-323
Change-Id: I7f19a7356e1cd34deca0a168b3cb707ef657b9cb
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
|
|
Constant is used instead of repeated literal.
Change-Id: I540c09f8ba596398257b34ff3189b1a3ce5ab416
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
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>
|
|
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8
Issue-ID: SDC-2509
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
Fixing sonar issues in onap-configuration-management-core project
Issue-ID: SDC-2390
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I2814b189eb53f53ab94295ff6bba76d118616800
|
|
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d
Issue-ID: SDC-2478
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
Refactor the ConfigurationRepositoryTest to doesn't affect to other tests.
Removed powermock.
Issue-ID: SDC-2473
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Iad67cdce365fef89da8b56499d86139d6927da07
|
|
Change-Id: I3e132cf4bffd77f9910bf6eff2026c3267873b11
Issue-ID: SDC-2454
Signed-off-by: michal.banka <michal.banka@nokia.com>
|
|
add @Data annotation
Change-Id: I0a56a2f1978035a00eb4edafd5ecc7db6a7301a4
Issue-ID: SDC-2401
Signed-off-by: noahs <noah.shogan@amdocs.com>
|
|
Removed errors regarding to a missing license and others.
Started locally and executed basic api tests
Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209
Issue-ID: SDC-2419
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Moving the handling of all import formats parsing
to ServiceTemplate class to make it generic and
reusable
Change-Id: I80595c3654a625275549a3bb3afe8ba7c9455aff
Issue-ID: SDC-2421
Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
|
|
Checkstyle for CliConfigurationImpTest.
Improved the ConfigurationRepositoryTest
to not has an influence on other tests.
Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I74b95617ad1b17c26a8d6237c7e7469ef2213596
|
|
Improved the unit test coverage
in onap-configuration-management-core project
Issue-ID: SDC-2327
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Change-Id: Ib448d3f318a89d65d4b6ae912e3ca38a31b86146
|
|
add @Data annotation
Change-Id: I185a32166a6efe9d221c260a0f25d958dec2690e
Issue-ID: SDC-2380
Signed-off-by: noahs <noah.shogan@amdocs.com>
|
|
Change-Id: I98ced4b0f30c3b676e02de08ccab0c06bc7b8965
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Transitive dependency to beanutils 1.8.3 removed.
Refactor of existing usage of beanutils proposed.
Change-Id: Ice5a996dc6f782d787309bd9c604335710627b2c
Issue-ID: SDC-2269
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Transitive dependency to beanutils 1.8.3 removed.
Refactor of existing usage of beanutils proposed.
Change-Id: I6614a5794979225376338c778b25f71911ae9c50
Issue-ID: SDC-2269
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Improve the NonConfigResourceTest.
Remove the throws the Exception in CliConfigurationImp constructor.
ConfigurationImpl class:
- Replace the string to chart in indexOf method.
- Extract the assigment out from expression
Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If72a75e6a2d81a9ea74e3ae1af94b16a8489a29a
|
|
Change-Id: I1d39f6bc0513189ce0f3581ddc51e9f557d2dadc
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: Ie4c25fd87b3e302f7dd19f4d0156524398e1af55
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: I76b00170ba5304bf82df3903cc381d46d7f0f513
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: Id4db17168cce9a6a02138c2c6bd74971159994dc
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: Ic48b301b2e45815bfb9e71d26626ad89cb61d753
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: I7060b515880159261fd228bdcfe5e75f84e2d99b
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Change-Id: Ic3956c9c6f4fddf412a2216de3d79a2cb2d779b0
Issue-ID: SDC-2354
Signed-off-by: shrek2000 <orenkle@amdocs.com>
|
|
Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I96269b0bcdf3c1254052d057b8c4ad2d7a48c89d
|
|
Add more test for ConfigurationUtils.
Fix error in getCompatibleCollectionForAbstractDef method bad return value
for TransferQueue.class.
Sonar fixes:
- use not deprecated method IOUtils.toString.
- remove code duplication.
- return empty collection instead of null.
Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I5abb10bca0a1c409ec20daf6c22066836a0b76a3
|
|
add @Data annotation
Change-Id: I030c5dc506b3fabcb6f447016dc1e74aeb2df30f
Issue-ID: SDC-2343
Signed-off-by: noahs <noah.shogan@amdocs.com>
|
|
add @Data annotation
Change-Id: Ia1482cfb0b1775d4d729df7d0bfc182f59dd15b5
Issue-ID: SDC-2331
Signed-off-by: noahs <noah.shogan@amdocs.com>
|
|
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I31dbd12b2d897da83327c17af2f2d83bd4459f1d
|
|
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92
Issue-ID: SDC-1913
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
|
|
Increased version of junit-jupiter.version and junit-vintage.version
Removed junit-platform-surefire-provider (not needed since surefire2.22)
Enabled jacoco for some tests from onboarding package
Change-Id: I05093b263de1ce93af88a3f99587a4050568caa3
Issue-ID: SDC-2250
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Currently mvn-surefire-plugin doesnt execute junit5 tests.
Purpose of this merge request is to resolve the problem.
Change-Id: Idb63483c87b1137b21beabed9d24bbff6f01cf53
Issue-ID: SDC-2094
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
README for the yaml parser.
Change-Id: Id94ec7bf4ba27ccffb31765b279e1ba3b8b50cd1
Issue-ID: SDC-2094
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Introduced parser with capability of search for given json paths.
Introduced cucumber tests for gab service
Change-Id: I154d71085ee82c1ead7c4e002a488524f60c5d8d
Issue-ID: SDC-2094
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Change-Id: I24360bcd988df48359eb6092f6a80e989e35f026
Issue-ID: SDC-2192
Signed-off-by: shiria <shiri.amichai@amdocs.com>
|