aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
2023-07-28Implement 'Update Service by importing Tosca Template'-storyvasraz1-0/+15
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia2842c49cc81eb30174d783805261d0e73835e48 Issue-ID: SDC-4576
2023-06-29Create test modelJvD_Ericsson2-2/+3
Issue-ID: SDC-4471 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I49d6721b9c60cf62ddcdc47beed70db08ba0a031
2023-06-29Implement YAML Validatorvasraz2-1/+130
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0365d4160984e4d68906959fb801ec7da5449b77 Issue-ID: SDC-4537
2023-06-20Disable DMaaP if Kafka activevasraz1-1/+2
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-05-29Remove need for USER_ID headervasraz1-8/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5dd1e34343bebec8a26786f402dc2b9b818e7f10 Issue-ID: SDC-4508
2023-05-17Disabling archive functionality for normativesJvD_Ericsson1-0/+9
Issue-ID: SDC-4497 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If7ce7205543682697a2b787aebfd4c8a3da25db7
2023-03-31Support to change substitution mapping node or version after service creationJvD_Ericsson1-0/+8
Before changing check for service property usage in sub mapping node change Issue-ID: SDC-4439 Issue-ID: SDC-4430 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0f24c626ac836f0b4e7ffbe0004e7ab30089b25
2023-03-08Add backend support for VFC property metadatavasraz7-289/+31
Remove empty tags from tosca file Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0c446b537934ffd19c1162326e075e13845db23e Issue-ID: SDC-4424
2023-01-10Fix resource property constraint values mutable in Service designJvD_Ericsson1-1/+8
Issue-ID: SDC-4290 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ica942b7a8bb1f03cbf6baec709135287e31def06
2022-12-21Multitenancy in SDCKartik Hegde1-0/+8
Issue-ID: SDC-4215 Change-Id: Ie24ba38acc9f1998d4a7e722e8f98456dab9201d Signed-off-by: Kartik Hegde <kh00735564@techmahindra.com>
2022-12-12Add missing 'scalar-unit.bitrate' data typevasraz5-0/+13
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33faf90f04667ef2b8a334dfba39fe256a21c223 Issue-ID: SDC-4300
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-11-25Implement create data type propertyandre.schmid1-0/+14
Allows to add a new data type property and visualize the properties details. Change-Id: Ib7bcd4b0bd8213dbe8ee8a3762a0636e22dc67eb Issue-ID: SDC-4258 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-11-17Issues with 'range' data type detectedfranciscovila5-0/+13
Fix issues with range data type Issue-ID: SDC-4243 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ie93f8c38b766d78f890dbe2b854a096bb8546fe8
2022-10-18Fix security risk 'Improper Input Validation'vasraz2-1/+11
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189
2022-10-05Implement API for fetching single data typevasraz1-1/+7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icebf660d67d503250e4f6d4d7fd5a2e169cdc951 Issue-ID: SDC-4184
2022-10-04Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection'vasraz1-0/+3
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 configefiacor1-0/+2
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-19Support TOSCA functions in Node Capability Filtersandre.schmid1-0/+8
Adds support to use TOSCA functions as value in the node capability filters. Removes the current capability filter component to reuse, with a few changes, the node property filters component. Fixes problems with the edition and deletion of node capability filters. Change-Id: Ic91242d6cbc24e2ce0f60b84c63e104575bef8a9 Issue-ID: SDC-4173 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-08Support TOSCA functions in Node Filtersandre.schmid1-82/+478
Adds support to use tosca functions as value in the node property filters and substitution filters Change-Id: Id242691cc9ddd233245b58f052b9f0e2c7bbd66b Issue-ID: SDC-4128 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-08Import VFC not importing interfacesfranciscovila1-0/+13
Fix when import VFC with Standard Interfaces to ETSI model Issue-ID: SDC-4134 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ibf6700b406f4b71dcae9327e14fb3ad04ad5e762
2022-07-12Fix upgrade failureMichaelMorris1-0/+650
Upgrade failing due to imports not included in acm/upgrade Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4089 Change-Id: I09d6c874021ac02d361b1daa675a34e130004a91
2022-06-29VFC properties of type timestamp not visible in property assignmentfranciscovila6-0/+1413
Fixing issues with timestamp type Issue-ID: SDC-4048 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iaf5c14cbfcd00fd964974388e42e2e26e9101d3b
2022-04-26Replace deprecated GEventEvaluator with JaninoEventEvaluatorvasraz1-6/+4
Change-Id: I21bfd0aaa66a32ecc1755cbe1efd78b0cd4254cf Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3984
2022-04-14Add application metrics in the catalog backendandre.schmid1-0/+1
A new endpoint was introduced sdc2/rest/actuator/prometheus in the catalog backend, that returns application metrics in a format consumable by prometheus, using the micrometer library. Change-Id: I03542e1c1a9b8b12d4e00f86e5b02c597740934b Issue-ID: SDC-3957 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-04-08Add ASD node and data types to SDC AID modelstasys107-2/+452
Issue-ID: SDC-3938 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Idac990c39f7d782eb029c72e5829b607de72dbb6 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-04-01Add ASD artifact type to SDC AID modelstasys101-0/+31
Issue-ID: SDC-3948 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1
2022-03-08Rename ControlLoop to AutomationCompositionSirisha_Manchikanti13-141/+202
This commit is to keep ControlLoop nomenclature in SDC aligned to changes in https://jira.onap.org/browse/POLICY-3938 where "Control Loop" is renamed as "Automation Composition" Issue-ID: SDC-3891 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8be013e564b780e9196c116d31b5c4c4d4b72662
2022-03-07Update esapi dependency for sec vulnerabilityMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3895 Change-Id: I457f6865f081faf9474e2f63006b339b7c1512ea
2022-01-31Add controlloop components to SDC designSirisha_Manchikanti9-0/+1602
This commit will add controlloop components like Participant, ControlLoopElement and ControlLoop to SDC. Addition of these components in SDC will enable to build a CSAR with controloop components and establish a controlloop by distributing the CSAR to policy-distribution and thereby to CLAMP. Issue-ID: SDC-3842 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I6f417f7a635f6f0dec3ce6163c5b41ada374567a
2022-01-28Add artifact types to ETSI SOL001 v2.5.1 modelJvD_Ericsson5-0/+2204
Issue-ID: SDC-3855 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9d8b7fa03505b52db7b17b43843a0b04133c5757
2022-01-28Fix issue in artifact type updateMichaelMorris1-18/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3860 Change-Id: Idad3cde460f8ce8c88914a2ddde63c1950f9536b
2022-01-17Add sdc-be-init support for artifact typesvasraz3-49/+64
Change-Id: Id9fdaf7b7bf0cd5d583434fbe97741dd9836df9d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3845
2021-11-15Fix critical cross site scriptingvasraz1-7/+0
Change-Id: I66a220f71a2e950055107a725191b46bcbe8c6a6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3607 Issue-ID: SDC-3755
2021-10-18Force encoding while reading files in init scriptsandre.schmid6-8/+8
To avoid system dependency by using the default encoding, this change sets the encoding when opening files in python scripts to "UTF-8". Change-Id: Ib35f4300f10dea309fcc2967448bd80cad0b335f Issue-ID: SDC-3761 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-10-15Import multiple node types in a single endpointandre.schmid36-719/+854
Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6 Issue-ID: SDC-3752 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-12Add a display name for the category metadataKeys entriesdavsad1-0/+1
Issue-ID: SDC-3737 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b
2021-10-05Filter categories by model namearibeiro1-8/+33
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-09-10ETSI SOL001 v2.5.1 model types not deployed in upgradedavsad5-28/+63
Issue-ID: SDC-3707 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: If1bda517a9295ad380bf4e5e2fc35f15a1ff708e
2021-09-10Fix model initaribeiro1-1/+2
When upgrading, the model type for "ETSI SOL001 v2.5.1" is being updated and then the request for retrieving all model types with "NORMATIVE" type returns empty Issue-ID: SDC-3720 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ibc71bd05426532416eb2ac09f598e7456777403b
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-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-05Disable locking during deploymentdavsad2-10/+18
Issue-ID: SDC-3643 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I1a04c253d70bf5aebf33bba7b2b9f83bd559ae64
2021-06-14Init ONAP model imports using the model APIandre.schmid11-34/+2436
Creates a client for the model endpoint in the catalog init scripts. Introduces the directory structure to provide the models along its imports, separated by init/upgrade phase. Each model structure will be zipped and uploaded to the endpoint, based on the model directory name. Change-Id: I0392c1e6d3a29b30567b11016041a8e9cccbc745 Issue-ID: SDC-3615 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-05-12Use integration-java11 Dockerfilesebdet1-1/+1
Use onap/integration-java11:7.1.0 as a source for the images requiring JDK 11 in SDC Issue-ID: SDC-3298 Change-Id: Ifee3d2942dcb9c078f2ebb686bdabc0ecca857b3 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-04-19Include 4.1.1 vduCp in deploymentMichaelMorris3-1/+3
Node type was already added, but not include in the list of types to be deployed during install or upgrade Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3509 Change-Id: I71a3a9942cb7d5b6adb194b7e7f2aa4be6533ac6
2021-04-09Set default value for ETSI versionMichaelMorris1-1/+2
Sets the default value for ETSI version and updates code to use the default value for any mandatory category specific metdata with null values. Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3548 Change-Id: I445443d1de9447945fb0dd8babd3fcebd8e8ed7d
2021-03-19Publish swagger files for SDC APIsMichaelMorris4-0/+84
I have created a swagger file for each of the APIs as they are currently listed on the architecture page. Some of the files can be easily be combined if some of the APIs are combined. I have created a single file for SDCE-2 and SDCE-5 as it is not possible to seperate as they are both paritially implemented in the same class with overlapping paths I have copied the generated swagger files to the docs directory as I suspect they need to be under source control for the generation of the readthedocs page Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3525 Change-Id: Id42412704311a573e3ebf911ad34d909c1c3f1b2
2021-03-16Adding ETSI SOL001 v4.4.1 vduCpMichaelMorris3-0/+66
Previous version does not have 'container_binding' needed for CNF onboarding Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3509 Change-Id: I0894b3ec818f1448997a99c2754153998bf77151
2021-02-21ETSI NSD SOL001 v3.3.1 typesMichaelMorris24-9/+522
Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1 Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3339 Change-Id: I8961bc9fc22ac53d61c785ef5f6cec0f958e9030