summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-06Not possible to set max occurrences to zeroMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3711 Change-Id: I512abaca1defade0bee259b330eca2fea322eaf7
2021-09-03Fix CSAR generation default imports file conflictandre.schmid5-4/+136
When generating a CSAR for a resource that is associated with a derived model, the default imports for the derived and parent model can conflict in path, therefore causing an issue during the CSAR zip generation which can't stand two entries with the same path. The fix adds a logic to rename a file when conflicting, by adding the model id as the file prefix. Change-Id: Ife7168f1c69f90be9c2cfd8ba75efad316c477f6 Issue-ID: SDC-3710 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-02Move position of Model on create screenaribeiro1-17/+15
Issue-ID: SDC-3712 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I8e2ed84dbedef897588a621a4f627bc75f4a7281
2021-09-02Test for ValidateGenerateVfModuleGroupNamesstasys101-3/+59
Issue-ID: SDC-3702 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Ib493ed976a7e92844c6822c2537a194bb48d2316
2021-09-02Fix mismatch in requirement name in sub mappingMichaelMorris3-10/+20
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3701 Change-Id: I0898d8b16c6e5cda035f33024f26644d7c6b1ef5
2021-09-01Update unit test to JUnit5andre.schmid1-357/+357
Updates org.openecomp.sdc.vendorsoftwareproduct.impl. VendorSoftwareProductManagerImplTest to JUnit5. Change-Id: I505f2f198dd776e2b3d10e741998014c1db0275f Issue-ID: SDC-3709 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-01Fix setting vendor release for VSP with modelandre.schmid4-15/+21
When a model is selected, the vendor release should not be set based on the compatible_specification_version of the manifest metadata. Change-Id: I7a01941c47a8a7f1d3a7f69bfa0830db3d11fb0c Issue-ID: SDC-3708 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-31Fix additional types import file generationandre.schmid22-86/+331
The additional_type_definitions.yaml is missing types entries and header. Also, the solution is not considering the types entries, i.e. 'data_types:', 'policy_types:', etc., when replacing types and generating the new file, which renders the solution broken. This change aims to fix the related problems. Change-Id: I412683b49966c09dd067ecbf8a1d778155b23fa6 Issue-ID: SDC-3703 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-30Include custom data types from VSP in csar importsandre.schmid7-67/+152
When a model with custom data types is created, the data types are now being added as part of the default model imports files. When a CSAR is generated from a Service Template that is associated to a derived model, the default imports from the parent model are also included in the package. Change-Id: I027d25d7237989a40085edec7fdd399ac09c4db1 Issue-ID: SDC-3692 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-27Improve invalid artifact label error messageKrupaNagabhushan3-2/+11
Issue-ID: SDC-3691 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I72f0fbec5839ecb343a73a9ca537e2e0a6437363
2021-08-27Fix get capability type with uidMichaelMorris2-4/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3688 Change-Id: I2e74e612d90c984071cbf8f1dd43cf55a26034f5
2021-08-27Add a CSAR validator for model ETSI SOL001 2.5.1andre.schmid20-129/+325
Change-Id: I8e67b46f95bb45e0dd91d29eef6be7a0a8d645be Issue-ID: SDC-3686 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-27Support querying of model by typeMichaelMorris32-67/+229
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3678 Change-Id: I5fd19eefe475113df501901628b2ee8669004399
2021-08-26Add types to importsvasraz20-280/+458
Change-Id: Ifa1dea17841d8667044aff4e7a9a17b2a75b78e4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3684
2021-08-26Add ETSI SOL001 v2.5.1 model types to backend initdavsad37-6/+2203
Issue-ID: SDC-3685 Change-Id: I59e56cbe071c21467d0f683c7c977a8ceca6e221 Signed-off-by: davsad <david.sadlier@est.tech>
2021-08-26Remove usage of outdated library JMockit (catalog-dao)vasraz123-1267/+1215
Move JanusGraph to correct folder Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I726b2a714e0b59422865ef6ca2e7ba9f5881353b Issue-ID: SDC-3379
2021-08-26Validate the Resource Model before importing VSPandre.schmid42-611/+1094
Validates the Resource Model selected during the Import VSP. This model must be aligned with one of the models that the imported VSP relates to. Fix VSP package retrieval to get the exact version from the VSP chosen during the Import VSP process. Introduces a client in the Catalog to retrieve from the Onboarding backend a VSP information using its Id and version Id. Change-Id: Ic8fb52b6daadc0e7203c81a9c15c3e46d5b9fffb Issue-ID: SDC-3675 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-26Dynamically load CSAR validators for modelsandre.schmid11-40/+215
Change-Id: I88ece0936e8a2814ef13dfa23eecda56de3dc6fe Issue-ID: SDC-3683 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-26Fix broken buildvasraz1-3/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I513b244dec9d420cd9314468647191f91314a3e0 Issue-ID: SDC-3687
2021-08-25Define a CSAR validator API for modelsandre.schmid11-242/+378
Change-Id: Ibdbedcc7cfe3660221f35667902f2e4eadc19725 Issue-ID: SDC-3682 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-25Import VSP with non-standard data typesMichaelMorris20-56/+144
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3673 Change-Id: I0fd16410788da3a82c74b1d38ffa4458e85e6ccc
2021-08-25Fix service csar with model download failureMichaelMorris2-4/+5
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3681 Change-Id: I824b38de5d0669db8aa3d47530fa02dcdf0d4871
2021-08-24Update backend-init to use new endpoints allowing specific modeldavsad5-21/+69
Issue-ID: SDC-3676 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I5e77185dcaa0f3172958ac93198ae2df2f17366b
2021-08-24Fix artifact name invalid error messageKrupaNagabhushan3-4/+11
Issue-ID: SDC-3680 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I859953a9a0d8065437589cd7592137b14b29c7e5
2021-08-23Filter catalog in UI based on modeldavsad11-23/+144
Issue-ID: SDC-3679 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Icd0eeb13dbfb1cc27745c7adf6a3212210e00a4a
2021-08-23Load model default imports during CSAR GenerationKrupaNagabhushan5-22/+76
Issue-ID: SDC-3674 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I89dc555a2a90f1ac44b44655e36a75a79ac38bd0
2021-08-23Fix composition view palette filterstasys101-1/+3
Issue-ID: SDC-3677 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I9025ccdf1aa56fb7b6aee08d1028250c86af1f5a
2021-08-20Select a Model when Importing a VSPandre.schmid7-23/+75
Change-Id: I7537af4c7279636de7e450ec398210ace376eade Issue-ID: SDC-3670 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-19Fix the license issue - javax.jms: 1.1vasraz2-8/+7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3cc500def5309467a091d581f56f4fb94e7a1600 Issue-ID: SDC-1877
2021-08-19Align all SDC dependencies versionsvasraz10-28/+63
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iba19bd39ba5a136436ac1e9ca0a7dcc164d6f7bf Issue-ID: SDC-2875
2021-08-18Fix license key group and entitlement pools required fieldsKrupaNagabhushan4-28/+7
Issue-ID: SDC-3664 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ic426cc57861673002f03e2fe4fee81c25474c4e0
2021-08-18Remove and ignore yarn.lockandre.schmid4-19562/+2
Removes and ignores from git a build generated file yarn.lock. Change-Id: I263d951ad266d758d149b5057a90c94d56d89608 Issue-ID: SDC-3672 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-17Validate model exists when associating typesKrupaNagabhushan12-17/+103
Issue-ID: SDC-3665 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I44de1c5bbd8854d02ae512f65833507aa3cbed6d
2021-08-17Handle VSP package upload for multi-modelandre.schmid23-99/+339
Change-Id: Iceca3f160eaeb1a6431fc3c5bbab92847e95ae4d Issue-ID: SDC-3667 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-08-16Fix broken buildvasraz2-2/+2
Change-Id: If2bfe79cf3df43e4678fe1282b68753fa198d130 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3671
2021-08-13Support models extending modelsMichaelMorris7-6/+122
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3668 Change-Id: Iad4d2a28c1c982e55e8835d4f30a9a212aefb6be
2021-08-13Implement simple onboarding cassandra upgradeandre.schmid9-22/+62
Introduces a folder to hold cql scripts to upgrade the onboarding cassandra. The files will be copied to the docker and executed in alphabetical order. The suggested pattern for the file names is YYYYMMDD-changeName.cql. Change-Id: Ia32a63ec5ab4417cf0df8bb5536c7f041e2327c9 Issue-ID: SDC-3669 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-13Fix Zip slip blocker issuesaribeiro2-18/+28
Issue-ID: SDC-3630 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iaed91de8f039a6e120bfd5abc3ad3331f00ba367
2021-08-12Update base types based on modelMichaelMorris34-104/+246
Also made some changes where model was not being considered Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3666 Change-Id: I450c5261239cf4104c494abe6711cb61368a2b4a
2021-08-12Fix license fields disabledsebdet1-3/+7
The license fields are disabled in the VSP settings when the external license feature is disabled and when the user click on the general tab just after the ZIP validation to define the license fields. Issue-ID: SDC-3663 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I73528bc44552ee0bc1f373cacf5318691ffc2712
2021-08-12Specify a model while creating a VSPandre.schmid28-93/+548
Change-Id: I6ed0a3c979e14c62ecd6488dfd70589df40636e9 Issue-ID: SDC-3656 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-08-11Fix local build of onboarding-feandre.schmid7-25/+32
dox-sequence-diagram-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. openecomp-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. - upgrades babel-core from 6.24.0 to 6.26.0. Code and config fixes: - fixes i18n openecomp-ui/src/nfvo-utils/i18n/i18n.js. The previous code was calling an non-existent attribute of the intl-format-cache. - fixes dox-sequence-diagram-ui path in openecomp-ui/webpack.config.js. The previous path configuration was causing compilation problems in the openecomp-ui (folder not found problem). Updates README.md with used procedure to run onboarding-fe. Change-Id: I28f7b78a1f30b5f904b3f7214f72e9741253622d Issue-ID: SDC-3661 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-08-11Fix critical cross site scriptingaribeiro1-3/+4
xss (cross site scripting) issue identified in sonarcloud Issue-ID: SDC-3607 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I729f14587154a02759ec62d5134cd115ac6eff38
2021-08-06Retrieve data types based on component modelaribeiro73-676/+1016
Issue-ID: SDC-3660 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I09c533eb39277532b29e581e4dd57e9df952e8e6
2021-08-06Consider component model when retrieving interface typesdavsad14-91/+111
Issue-ID: SDC-3414 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ie16a2604cfdff042e32bfa4f9a3a509b5da22226
2021-08-06Fix Security Hotspotvasraz6-4/+28
Fix for https://sonarcloud.io/project/security_hotspots?id=onap_sdc&hotspots=AXrLK9lDm75TRpHZ3DAu Change-Id: I6427d02bb76618a4b7383e427ce9f762adf73e97 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3657
2021-08-05Implement 'Signed Large CSAR' supportvasraz14-145/+509
Change-Id: I33cc381b86c6a10e20d521c0d3dcc76c28344b8f Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3652 Issue-ID: SDC-3653 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-08-05Disable locking during deploymentdavsad6-18/+252
Issue-ID: SDC-3643 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I1a04c253d70bf5aebf33bba7b2b9f83bd559ae64
2021-08-05Update helm-validator version 1.2.0 -> 1.2.2Joanna Jeremicz1-2/+2
Issue-ID: SDC-3647 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I2c0b5eeb8db993bddb66cb0bf66b0fe5910ba415
2021-08-04Import VSP top. template handling non SDC modelMichaelMorris16-109/+573
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3649 Change-Id: I2e2004187f5694f92d65b73139436fc990e7a6af