Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/sdc.git from branch 'master'
to 8d72481341ac6be40c380352a2a7ef5cc536692d
- Rewrite of `updateArtifactOnInterfaceOperationByResourceUUID` to remove NPE
Issue-ID: SDC-2978
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I60942ab1767bf65c806ce796ca62365396b20d93
|
|
* Update docs/submodules/sdc.git from branch 'master'
to c8a11265085b1342c4efa03a9985d9fd9ca203a3
- Set properties on XML parsers to prevent XXE attack
- Set ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_SCHEMA properties on XML
parsers to prevent XXE attacks
Issue-ID: SDC-3106
Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com>
Change-Id: If4e835858dd3d718d37b3ee41fb2fd0c94574c24
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 6cfebc0867b2f21a401f55734aba30eb245e3c70
- Fix security issue in SecurityUtil
- Specified mode and padding to address risky algorithm
- Corrected unit test for different exception message
- Moved tests to package
Issue-ID: SDC-3105
Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com>
Change-Id: I5773ab555a5468362c775cf99795df4eb8c52136
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 8a0f58a005175959f5b56c0840ee9980f0d68c01
- Java 11 migration - 'test-apis-ci'
- Removed references to protected packages (sun.net.*)
Issue-ID: SDC-3037
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Ibbf25af390e624e15fb2bc8ea17777056fe5f3b5
|
|
* Update docs/submodules/sdc.git from branch 'master'
to a757067ec2b71e2c74cd0163f0c67bce402dcada
- Fix sonar bugs
Fix all sonar bugs reported in SwitchoverDetector class + fix all checkstyle issues
Issue-ID: SDC-2931
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic86a3526fc7030e10a61b150058c04a391c40c7b
|
|
* Update docs/submodules/sdc.git from branch 'master'
to e8f0bc3380f52faa7c233070aadd080a81b3234f
- class passed to MdcLogger() is compared by name
Issue-ID: SDC-3098
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I8b61218d1164a0ebff7f290ac82f1cdd67a5152a
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 01630f7047201e028e81d402bfdda31173b85fe0
- Support setting SDC-BE configuration at deployment time
Change-Id: I4b384bc911630d6041a0c5c235d3aaf3ac148090
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3076
|
|
* Update docs/submodules/sdc.git from branch 'master'
to cd48e77d908377315d03ffc1dc136b1d96c0c477
- Add build config in README
Add a required step to build the project, the oparent settings.xml must be installed first in .m2
Issue-ID: SDC-2871
Change-Id: Id69582582849a8937f4e76d24d6a6bfdc8f0a957
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 966271e4e2601d58eb06f286a3b2921e803fa9af
- Make Directive values Tosca compliant
Issue-ID: SDC-3079
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ie711c61244a4e2d68a96e2814ba2db52e067c6e4
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 116c26e1c243f26258558148e9f69e42b3787367
- Rewrite of `certifyToscaElement` to remove NPE
- Modularized `certifyToscaElement` in smaller, less complex methods (`handleRelationsBeforeCertifyingAndProcessClone`, `cloneToscaElementAndHandleRelations`, `handleRelationsOfNewestCertifiedToscaElementAndReturn` & `logDebugMessageAndReturnStorageOperationStatus`)
- Removed potential NPE flagged by Sonar in `certifyToscaElement`
Issue-ID: SDC-2966
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: Id65871cbfd611abdcc878e61c1541f01ff972828
|
|
* Update docs/submodules/sdc.git from branch 'master'
to f1922cef9735e44b3e5116e86a89c7e2449b1ce1
- Refactor method 'undoCheckout' to simplify it and remove potential NPE
- Extracted methods 'retrieveAndUpdatePreviousVersion' and 'updateEdgeToCatalogRootAndReturnPreVersionElement' from 'undoCheckout'
Issue-ID: SDC-2965
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I52faffdaf2e99a9de8c2e566da26a5be6e7fd667
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 8a5f3aebc6b5681c5c44307b7a0cdf868802e790
- ArtifactsBusinessLogic refactor to remove NullPointerException
- Reformatted `downloadResourceInstanceArtifactByUUIDs`
- Fixed Sonar-related warning regarding a NPE in `validateInput`
Issue-ID: SDC-2979
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I5a62daabcc436f28fba1f09317c5723281df15bf
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 64ff2b9fa9eca541603a8e2f2bd08bf24de25338
- Add constraints structure to ToscaProperty
Add constraints structure to ToscaProperty and implements
the valid_values property.
Change-Id: Id69581582839a8937f0c76c24d6a6bfcc7f0a957
Issue-ID: SDC-3084
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to b6dc72ad96d5194fb7529ac39ec239ff92e3e7a2
- Refactor CsarUtils::writeComponentInterface
This commit aims to decouple the zip file writing logic from the CsarUtils::writeComponentInterface function. This should provide a higher level of testability and maintenance thanks to inversion of control. An extra helper has also been added to help the migration from the FJ library to VAVR.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I4f2df4749cae3082906a80acc39045ac8887ec39
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 6c16c0b33dcfeaf781e7ebfcd1bc2ee2fd38f5f0
- Remove boolean entries in TOSCA Metadata
Change-Id: I0101bbe35656b4c7d7405429d95939b892e85402
Issue-ID: SDC-2876
Signed-off-by: MichaelMorris <michael.morris@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 4a01181974575ada4348359788d47313616c33a3
- Add interface inputs handling
Enables interface inputs specified in a node_type to be imported and included in the generated csar
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ia3acaad50b4091831d0c0471b07ba2b2e9bd380d
Issue-ID: SDC-3077
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 1e9c8c5f47a707dc8ea1d7cff7ef39b91462b137
- Plugin to customize prop. during Service creation
Creates an entry point to customize properties of a Service
Component before its creation.
Change-Id: I102a70b37eec498dd9c6df009c38da57d0e5b17f
Issue-ID: SDC-3062
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 6fc8a352e6b0d32bf166c0547d5fe9d1507917e7
- Finalize Documentation R6
Change-Id: I66837d0b314c1a529bd6ca2e29c9527899286c6f
Issue-ID: SDC-2949
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 9e43b160bde937c32151c8ce5a3d07701bd31924
- Fix interface types creation
Interface types creation logic was not interpreting some allowed TOSCA
entries, that, when declared, were breaking the interface type
creation. Every entry under the interface type was being considered
as an interface operation, but it is possible to have "derived_from",
"version", "metadata" and "description". Also it is not considering
the Interface Type entries "inputs", "operations" and "notifications".
Another thing is that TOSCA 1.3 changes the way operations should be
declared, deprecating the previous way. Now there should be an entry
"operations" with the operations entries under it, instead of having
the operations entries direct under the interface type. The change
allows both types, following the TOSCA rule: if operations entry is
not present, then the deprecated way is considered.
Change-Id: I13218bda60b29d19b9c5565cbfd63ae3250a78bf
Issue-ID: SDC-3075
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to d8f14691952677771e74e688d7a1dc20e14b036b
- Entry points in ToscaExportHandler for plugin use
Open the access for two methods in ToscaExportHandler so they
can be called in a CsarEntryGenerator plugin.
Change-Id: I0ee1daab348c0fc85db56428369a5ec190cb0101
Issue-ID: SDC-3083
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to f38f7e583f1d311e0fe108c09d201112bb4d135f
- Encapsulate ReportManager's failedVerticesPerTask and resultsPerVertex in Report
This commit aims to encapsulate the static fields failedVerticesPerTask and resultsPerVertex in their own class (called Report). In the short terms, any state needing to be passed around will be stored there. Unfortunately, this commit required many minor changes in functions signature (to pass the Report instance).
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I3756d9a939cbd0f2856be72aa2bd24a3980dde49
Issue-ID: SDC-2499
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 1de7b75829b3bf0c06ee7a8b3006b0edfb239420
- Extract artifact component belonging logic
This commit extracts checkArtifactInComponent and checkArtifactInResourceInstance from ArtifactsBusinessLogic. Tests have been added along with a some utility functions designed to generate randomized test data. The former tests were deleted as they were not doing any assertions.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I1b27c55d064cf4e9a40cd7b152e7ea6032a09276
Issue-ID: SDC-2961
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 9f7430db214092bba954fa07fd3e72e333116cfa
- Allow global types generation
This change allows to configure which global type file will be added to the generated CSAR
Issue-ID: SDC-3021
Change-Id: I83c0c3f317c4a4e5e8dbf22cb3dbd47e63562d3a
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 6909f0c827bb46180fafc9d306d500e032ae7e0b
- Revert "Java 11 migration: fixing problems on 'catalog-fe'"
This reverts commit 50906f4dcd00b0162298d1f86d72dcfc4d3caee9.
Issue-ID: SDC-3088
Change-Id: I13c48243b3a137c7e66da1ef217a0ecbbd55f216
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 18ae7612481c386db22fe983dedf331a29141444
- Refactor CsarUtils::WriteArtifactDefinition
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I167a05d8fbc2085a3e25eeb5bfd6b30f0e80462e
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 9373e4f17236dc7496cd7dcfbbd159675e839e55
- Add ArtifactsBusinessLogic::fetchLatestComponentMetadata
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: Ibb8621a91551a2e4ffcac1145f85ed7983063d02
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 66a5398f95f8c60a41ffa81f46ccee95beb34822
- Work on unchecked Optional access
- extract code to static methods
- throw an explicit exception now if element not found
Issue-ID: SDC-2987
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I693bb53059b056235b567ac1f9f752a33512505a
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 1803aa8530b53d9f22dc5815155dd3abdfd99b5a
- Fix for locked component
After add, update or remove node_filter the component was left locked on SDC
Issue-ID: SDC-3072
Change-Id: I27058760704bd6261619946becda3612a6386432
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 8b19c01ef6a1a074106fe6077bfde07f48248f1d
- Fix wrong tests directory structure
Change-Id: I0538e5ad56c9a77a0e9cb40d629739e979b67495
Issue-ID: SDC-3073
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 93638b5d9a498008a4dda9c27855586daf222691
- Java 11 migration: fixing problem on 'openecomp-tosca-converter-core'
- Explicitely indicate the type associated with 'Collection'
Issue-ID: SDC-3030
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I557eb205598c337b75b06a2c7d705276aeb543a1
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 50906f4dcd00b0162298d1f86d72dcfc4d3caee9
- Java 11 migration: fixing problems on 'catalog-fe'
- Upgrade `jersey-bom` version variable to the most recent stable one
- Removed `jersey-common` version variable and replaced its references with `jersey-bom`
Issue-ID: SDC-3036
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I414e3814d6d4fc1d927b302efb5dd08659676dc2
|
|
* Update docs/submodules/sdc.git from branch 'master'
to c9858db21d5b2e5a4f7cd2f2963fdbcb8c4e943c
- Refactor CsarUtil::addInnerComponentsToCSAR
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I7f32d729a96f696c217631cd019105c17cb36a8c
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to fcbf6d2541c6d033e4979784ce2373f0c5db3932
- Support setting SDC-BE configuration at deployment time
Change-Id: Id1ebcb01d81b8e0cd681dcb304aa77bb3248d69c
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3076
|
|
* Update docs/submodules/sdc.git from branch 'master'
to c8f88d9b496e8f10179bfc26a09a27386d156d47
- Fix potential NullPointer in SchemaFileImport
While reading the YAML to import, if the content was missing
the entry node_types it was causing a NullPointerException.
Also the exception was being suppressed, making very difficult
to understand what happened.
Change-Id: I44badbee1c739ddf6db08b4e518adb33c430fa84
Issue-ID: SDC-3070
Signed-off-by: andre.schmid <andre.schmid@est.tech>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 988c286efe09c01db6f2e41f0ce4b2f49f92d1a6
- 500 error at WFD artifact-deliveries api
Change-Id: I9227387c26b6ee4c68c635b78c4980a9c07b3d35
Issue-ID: SDC-3052
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
|
|
* Update docs/submodules/sdc.git from branch 'master'
to d426d3a68f0cd5313cc7d543f74af97580e59493
- Work around potential NullPointerExceptions in ToscaElementLifecycleOperation
- Rewrite of `checkinToscaELement`
- Extracted methods from `checkinToscaELement`
Issue-ID: SDC-2964
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I99d2c5aaa73b955ef5aa60eeb7644bb47ac12bd6
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 0a65c2fe97240e892c8c65af2c9e6048aa350857
- Refactor ArtifactsBusinessLogic::getRelatedComponentInstance
This commit aims to refactor the ArtifactsBusinessLogic::getRelatedComponentInstance, and getRelatedComponentComponentInstance. It improves how Either is used, fixes a potential NullPointerException, reduces some duplication along with cyclomatic complexity.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I2503f5e2a697f793e4dcf32d7793f83c4a25ff46
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to b8cea3e1099d47a61c95709d26d1742446d8e2c5
- Remove wildcard pattern when retrieving components
This commit aims to remove a redundant cast while preparing the field for some Either refactoring in ArtifactsBusinessLogic. The reasons for removing the wildcard pattern are explained in SDC-3040 (a sub-task of SDC-2812).
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I573c01eca56f096ccb54e564d0144291121bde22
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 8366fcd262412e178ea331f17fe6144e95eb891a
- Refactor ArtifactsBusinessLogic::handleDeleteInternal
This commit is a first step towards the ArtifactsBusinessLogic::handleDeleteInternal function refactoring. It aims to improve how Either is used, and to reduce its cyclomatic complexity along with some duplications.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I1b476ccc0e0341975b80c10dc79c5dc1592267f4
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to ed73921b083bddae1692e22cfd8fac5fdc2fd57b
- remove powermock dependency from pom xmls
- Remove powermock from pom xml files
- Remove powermock from ActivityLogManagerFactoryImplTest
Issue-ID: SDC-3071
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I4c4b8b0751f4ce8895617a951429111fc08d8e2e
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 3568f4098cc5294c3956b70db3d9d2ee6368fb36
- Add null test to ComponentInstanceBusinessLogic
- Added test in `changeInstanceVersion` for null value
Issue-ID: SDC-2908
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I42a428c4b245a55b7229e2ec9b781e9af4403662
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 9279f7e71679fb16c7ae74ef7c1b7948e381af01
- Refactor ArtifactsBusinessLogic::generateAndSaveToscaArtifact
This commit aims to make some minor refactoring related to the either used in ArtifactsBusinessLogic::generateAndSaveToscaArtifact.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I4923e014146a17f1cd035db3513359a2ab8f38f2
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to bf37c21229e1b60937202c3962b24f14b45c96e5
- Refactor CsarUtil::extractVfcArtifact
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: Ica8d17d4f3c763920f406ccb89fb3e464d05eab4
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 0ff3fcba8b7d645e497a7300776bde86590ec70c
- Refactor tosca representation retrieval in CsarUtils::populateZip
This commit aims to simplify CsarUtils::populateZip by extracting how a tosca representation is fetched to another function. this enables to reduce the overall cyclomatic complexity of the function. Some additional work still needs to be done especially regarding the ToscaRepresentation and MainYamlWithDependencies classes (These happen to be really similar). This will be done in another change in the near future.
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I93600d0752565de523cf2285b1fa2ba43a96334f
Issue-ID: SDC-2812
|
|
* Update docs/submodules/sdc.git from branch 'master'
to cbf02a29680b79b0cdc19b2002e642de949dffca
- OrchestrationTemplateDaoZusammenImpl - Add tests for the presence of Optional values
Issue-ID: SDC-3015
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: Iae0ce3d1b4bb5a72f04f0cd8a890c84eb15b214c
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 768742ee00920426d9d81aef56dcd0298bf9f1d0
- Remove powermock from ContextTracker
- Remove powermock from ContextTrackerTest
- Add package level constructor to ContextTracker to pass clear and put functions
Issue-ID: SDC-3058
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I82519538b763b00f2768801f06929773bfb58013
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 3a28b9af8d08fc2cf8d9af9b38578fd034999dc2
- Remove powermock from ValidationConfigManagerTest
- Remove powermock reference from ValidationConfigManagerTest
Issue-ID: SDC-3064
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Ib330b0fcaf132e5d67f65b482a80b5b75f8c336b
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 6ff5f15cd520b2414768b12ecc3cd4638b200352
- Remove powermock from ArtifactValidationUtilsTest
- Remove powermock reference from ArtifactValidationUtilsTest
- Use junit 5 imports instead of junit 4
Issue-ID: SDC-3067
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I6388e133024ed1e7604e90fc24ba3e84a33da4f7
|
|
* Update docs/submodules/sdc.git from branch 'master'
to 3e6caca29ecf74b0bacdfc7f20990e9820fc987d
- Remove powermock from ReportManagerTest
- Remove powermock reference from ReportManagerTest
- Use Junit 5 imports instead of junit 4
Issue-ID: SDC-3066
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Iece6e5741d5f2f5bc5db2ec7c85c63948776d601
|
|
* Update docs/submodules/sdc.git from branch 'master'
to bcf6a1c5302625ea034067cab8c3489746f733bd
- Remove powermock from HostAddressCacheTest
- Remove powermock and easymock from HostAddressCacheTest
- Add package level constructor to HostAddressCache and pass read address function to verified in unit test
Issue-ID: SDC-3068
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I749211393d9e0ecb3ff3b587dc0f811b58bb967c
|