Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
Issue-ID: SDC-2539
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I4dba563d5dd8b041a2a61076a9ccbabcc4d22316
|
|
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>
|
|
Additional junit tests using mockito
Change-Id: I1a48d0dd15a3319dc096816ea36346f4b13322fc
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.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>
|
|
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>
|
|
Additional junit tests mostly for pojos
Change-Id: I851d7df94b1e1c225d087b8881c3c1cd30867efb
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8
Issue-ID: SDC-2509
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
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>
|
|
Additional junit tests for action, type etc.
Change-Id: I93b088035fca13db4fdcf9da0d58e7f01ee4f976
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Add tests for RequirementDefinitionDeserializer class
Change-Id: I038f73fad4daa3eab931c566668359db9b5f6dc6
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
|
|
+)Organize imports
++) log formatter
Issue-ID: SDC-2542
Change-Id: Ibb4b568b19ee40a68f783bfa820bd7c73aae5c1f
Signed-off-by: arindamm <arind.mondal@samsung.com>
|
|
Fixed ready-probe script url endpoint.
Issue-ID: SDC-2548
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ibfc2d9199bd01678766810540df594d70812bd9e
|
|
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>
|
|
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>
|
|
Additional junit tests for zusammen models
Change-Id: I4593d5c5dfd9619f36c69096462ed5de08b189f0
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Additional junit tests for dao-types
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Change-Id: I195610e66628d5d8546846592c98c726ba81824d
|
|
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>
|
|
Additional junit tests for vendor-license-api-types
Change-Id: I343d04f001a92d47aa411e6bda498fa772040e5b
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7
Issue-ID: SDC-2388
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
|
|
Fixed pom configuration in the application-config-rest-service
Issue-ID: SDC-2326
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I1ea39c42dcb0d257ee3c47e2920550dda07010ce
|
|
ComponentDependencyModelErrorBuilder
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: Icb6cf51f7777a8a9d3b237ecd98579edc11f9ebb
|
|
Additional junit tests
Change-Id: I6562e5085f7bfd692db129bf1706f3f569ebd793
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Tests for org.openecomp.sdc.validation
Change-Id: If0acdb2f453b5cd60d0ec49870f1467cdd212492
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Additional junit tests
Change-Id: Ieeb6f02e1d5abf131882c530a0ba3a395d56c6cd
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I93cc5183190fcbada2349b18f14fbec9c28f1ae5
|
|
Tests for org.openecomp.sdc.vendorsoftwareproduct
Change-Id: I737b8ca71219c3e241f902a34419c685435e467c
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Tests for org.openecomp.sdcrests.togglz
Change-Id: Ic507eee3e77fbbe727b0deeb3912103d0c7737db
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Change-Id: Idb5d33229c76bec9768c8c6c1d73faa96fff2225
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Change-Id: I52f91e47dbda20c8c0701ee25f2eec5a83815112
Issue-ID: SDC-2427
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
|
|
Implement HTTPS calls into sdc-onboarding
-Added p12 keystore certificate.
-Updated application configuration.
-Added trust-store.
Issue-ID: SDC-2498
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ia96c42cddee5fd94014963c9d2f584b098693a9a
|
|
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I8a6127218edf895b8b43d973348cc47794e212c1
|
|
Tests for ItemVersionConflictConverter
Change-Id: I5bf7ac9322e44d7021f87c9853ae250024172f0c
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Tests for ConflictsDaoImpl
Change-Id: I7fd472b55a96a314992be0e49725d8844167ff4d
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Tests for conflict-api mostly bean matchers for getters and setters
Change-Id: I924b17986dfbc419da391fae0d33bb458d97f465
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
|
|
Validate, during the package onboarding, YAML files declared in the
manifest as type onap_ves_events or onap_pm_dictionary under
non_mano_artifact_sets. Check if the file is not empty, if has a yaml
extension and if it has a valid yaml content.
Change-Id: I260d0f5355e9e77b6499f553f8aa9f7e6d0693da
Issue-ID: SDC-2475
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d
Issue-ID: SDC-2478
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
Issue-ID: SDC-2261
Change-Id: I614c15878b9d165a4468570e8318867632c88434
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
|
|
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: Iedb570e14fdf1169da45321d97807aedad2c16d0
|