aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26Implement truststore & keystore handling for cassandravasraz1-1/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib8f21142f7f760f5a8787971dbd0bb7e023e22d1 Issue-ID: SDC-4637
2023-10-26watch tls filesMichaelMorris1-0/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4639 Change-Id: Ic9cff09c633770df5171867ca69ed318c2a75f59
2023-10-26TLS support in sdc-feMichaelMorris2-20/+20
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4642 Change-Id: I960c0a114889c7b5c1c7924cefff93168132e2b6
2023-09-27Remove legacy certificate handlingMichaelMorris2-55/+0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4621 Change-Id: I834f2a0a4f73693dbb656dfa9186506bf88c62c1
2023-09-05Improve handling 'empty'/null string in Service fieldsvasraz3-47/+14
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib301280fe1be2896e2d80e208349ac3c4ff763ec Issue-ID: SDC-4608
2023-08-29Escape '<' char before jsoup validationMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4606 Change-Id: I3ef6f1c63dd8e86e0ed97ce4c0ba69339dd7d44a
2023-08-15Fix 'Fail to import service with get_property of map-of-string'-bugvasraz2-46/+36
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5b6d6c5b9296f3e21d71ed312fe447ff399f85c1 Issue-ID: SDC-4596
2023-07-28Implement 'Update Service by importing Tosca Template'-storyvasraz1-1/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia2842c49cc81eb30174d783805261d0e73835e48 Issue-ID: SDC-4576
2023-07-13Replace outdated dependency - org.apache.commons:commons-jci-core:jar:1.1vasraz4-38/+25
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5b34fff0600f1343a4ca9e00cf737946e3737214 Issue-ID: SDC-4569
2023-06-20Improve test coveragevasraz2-150/+25
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib5c265567973369a9061ce611ab018857016bff1 Issue-ID: SDC-4536
2023-06-20Disable DMaaP if Kafka activevasraz2-441/+55
DMaaP healthcheck cannot succeed when using Kafka, which in turn causes distribution to fail Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia6e1e35b9a2e819e38e62caeb797342948f34e92 Issue-ID: SDC-4542
2023-06-13Remove unused Neo4jErrorsConfigurationvasraz5-137/+14
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib9aa060057718144766c6061823bbae076647fca Issue-ID: SDC-4532
2023-06-02Revert "Support SIP TLS"MichaelMorris11-61/+455
This reverts commit a2feaf9b65cbba66181fb560b5815a62427d65cc. Reason for revert: deployment issue Change-Id: Ic21e213493f51d0c11778187ab054881bba7c21e Issue-ID: SDC-4483 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2023-06-02Revert "[SDC-BE] Update kafka ssl config"MichaelMorris2-6/+1
This reverts commit 3bc3a5c724e9a6ea8a112dca72a9a3128eddca19. Reason for revert: deployment issue with SIP TLS Change-Id: I24a9cc51cd8785b7407fee1b2aad9919d69e1d2e Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4476
2023-05-12Enable using substitution mapping type directlyshikha02031-0/+1
Issue-ID: SDC-4435 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: Ia3120eb6f03ad861dc87de64a2cb81a61e048f4e
2023-05-08[SDC-BE] Update kafka ssl configefiacor2-1/+6
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id5c7aa72a1714fca9cfbdf4462a9faf9fd9bff88 Issue-ID: SDC-4476
2023-05-08Support SIP TLSvasraz11-455/+61
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icbadd04cfa87302491c59f2e4a39ef92aaafcaa3 Issue-ID: SDC-4483
2023-04-26Support definition of custom tosca function names through configurationJvD_Ericsson1-0/+11
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ifc3e19350c0b2b2b6092e93b6d269d95a8e06ba3 Issue-ID: SDC-4469
2023-02-10Add support for delete property from non-normative data typevasraz1-5/+5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I668b1e7f7d00e97b7827d759766e105fdd53ed53 Issue-ID: SDC-4378
2022-12-21Multitenancy in SDCKartik Hegde2-0/+63
Issue-ID: SDC-4215 Change-Id: Ie24ba38acc9f1998d4a7e722e8f98456dab9201d Signed-off-by: Kartik Hegde <kh00735564@techmahindra.com>
2022-11-25Fix issues while importing a Servicevasraz1-0/+7
The import service was ignoring the selected model for imported nodes. It was also trying to set a different icon for resources that already exist in the database, creating a validation error. There was also a nullpointer in relation to not found capability. Change-Id: Ifa9320c5554bbf5e8fed0cc2e2dea6b05503d213 Issue-ID: SDC-4266 Signed-off-by: André Schmid <andre.schmid@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2022-10-25Add default baseType to the substitution typeimamSidero1-0/+1
Enabling default baseType in substitution type to be selected Issue-ID: SDC-4229 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I869ede4c4e030adc3c4418c28ed787b4c10248dd
2022-10-18Fix security risk 'Improper Input Validation'vasraz10-1/+483
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189
2022-10-04Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection'vasraz3-0/+57
Add new Filter (ContentSecurityPolicyHeaderFilter) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic8151df64e4b95b3d59b44a5f74dd12210f55e87 Issue-ID: SDC-4192
2022-10-04[KAFKA] Allow kafka params to be passed as configefiacor2-0/+11
Allow topic names to be passed Add new api endpoint to retrieve the kafka and topic info Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1744 Change-Id: Id7bdcf54c6191a5953bc94092218595bf608a733
2022-09-06Update SDC with new 'security-util-lib' versionvasraz5-7/+7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iece4430f2ebceb8bfb1ea1a89c541335e2f35b11 Issue-ID: SDC-4165
2022-08-02Enabled configuration of instance nameimamSidero1-0/+1
The given name for the instance dragged and dropped is changed to <type name>_<instance count> Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4109 Change-Id: Ibce6f911480841df496f0e7bb17a6d7cd533e803
2022-05-18Onboarded ASD csar included in VF csarKrupaNagabhushan1-0/+1
Issue-ID: SDC-4003 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ia85f36c8efca2c3a10ce92347fea5cc97dbd972b
2022-05-05Fix additional_types file being deletedMichaelMorris1-0/+2
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3989 Change-Id: I6b22be3890d1e80b564ec66ab08ea7fe5f36bbe6
2022-04-04Implement restore of partially deleted VSPvasraz1-0/+7
Change-Id: I790b6cd8494e8f35c3b9891304f15272e9769a68 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3935
2022-03-31Fix package storage and reducer config reloadandre.schmid2-0/+7
The package storage configuration was not being reloaded when a configuration file change was made. Increases OrchestrationTemplateCandidateImpl coverage by testing the upload to the artifact storage. Issue-ID: SDC-3934 Change-Id: I533b3c3a92cdadb60a375890da85ee053364e8af Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Implement VSP deletion from Storagevasraz1-0/+7
Change-Id: I06d86696570b2751f152dffc06fd580ef8c0c705 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3924
2022-03-25Create vfModules for ASDKrupaNagabhushan1-2/+9
Issue-ID: SDC-3906 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I37560a6d672d3ec07af23b3405bbcb7ab195c9dc
2022-03-11Support complex types in artifact propertiesandre.schmid1-0/+7
Adds support to complex types in artifact properties of an interface operation implementation. Change-Id: I7a82a3652541b35230fe4ce87bf703a1dbe72d50 Issue-ID: SDC-3899 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-11Support complex types in interface operation inputsandre.schmid1-2/+9
Issue-ID: SDC-3897 Change-Id: Ieac2d74ad340de1d9f6e4cd3ac830e2ec8c35d5b Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: vasraz <vasyl.razinkov@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-02-26Implement improved MinIo clientvasraz1-0/+1
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3886
2022-01-21Onboarding upload controlandre.schmid1-0/+2
Brings the initial structure to control asynchronously a VSP package upload during the onboarding. Instead of blocking the UI, the upload and processing status will be controlled by the backend, so the frontend can query it and control the behaviour of the UI. Updates the upload endpoint to obtain/verify an upload lock, and creates a second endpoint to check for the upload status. Change-Id: If1c43fb4f0b11e1d8a5627578bafc75f266393c2 Issue-ID: SDC-3826, SDC-3827 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-01-07Update property to identify SOL004 packagesaribeiro1-0/+9
Issue-ID: SDC-3837 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I2af0628cddbbddd790ff9874e2f393a2f31f7407
2021-12-07Fix vulnerable dependencyvasraz1-2/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3795 Change-Id: Ib6f7902b2f8380ad9febcc2fad0374e8070af15c
2021-11-29Add VNFD to NSD when using S3 storagevasraz2-2/+38
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-11-12Fix stability test issueMichaelMorris1-23/+17
Failures in stability tests are observed on attempts to get distribution status from SDC backend. These errors are caused by timeouts when reading from the DB (5 sec) and also the reads exceeding the tombstone threshold (100,000). The fix implemented in this change is two fold: 1. Stop writing null values in empty columns in DB writes (a tombstone is created for each null column value) 2. Change the query to the DB to remove the unnecessary filtering which greatly increases the time taken for the read. Failures in stability tests are also observed due to failures in parsing YAML files from VSP. The files are parsed using snakeYAML. The class used is not thread safe however it is possible for it to be invoked in multiple threads. This is most likely the cause of the parsing failures The fix implemented here includes changes to ensure an instance of the Yaml class is not used across multiple threads Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3773 Change-Id: I4067ff0032bb67ab114db2f05accce5d7b42d188
2021-11-05Large csar handling - object storevasraz3-4/+13
Change-Id: I4e88bd7bfcc1fdbc93d67da2682f2e873ba243c6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3754
2021-10-21Make Service base type optionalandre.schmid2-1/+38
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-05Filter categories by model namearibeiro1-0/+3
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-05Allow multiple base types for a servicevasraz1-1/+1
Change-Id: I2e37818a432295a6e9f795f38d730d60f66eef78 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3727
2021-09-17Fix Update VSP when no version id is providedandre.schmid1-0/+1
Issue-ID: SDC-3730 Change-Id: Ic5a5a6ecf3b6775e022be649145e44b0907cbecf Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-26Add types to importsvasraz1-1/+15
Change-Id: Ifa1dea17841d8667044aff4e7a9a17b2a75b78e4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3684
2021-08-26Validate the Resource Model before importing VSPandre.schmid1-1/+3
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-13Fix Zip slip blocker issuesaribeiro2-18/+28
Issue-ID: SDC-3630 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iaed91de8f039a6e120bfd5abc3ad3331f00ba367
2021-07-21Support handling of 'Large CSARs'vasraz5-0/+177
If artifact storage is enabled, stores original onboarded package, leaving a reference in the VSP, instead of the original onboarded package itself. Strips files from configured folders in order to reduce the package size and onboard it. To retrieve the package, one needs to read the reference and go to the artifact storage to retrieve. If disabled, it just goes through the current onboarding process. Change-Id: I3dce0ab8422ea736c8a1ffaeb1136cf8b12a2af4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Signed-off-by: André Schmid <andre.schmid@est.tech> Issue-ID: SDC-3635