aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
AgeCommit message (Collapse)AuthorFilesLines
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
2021-02-21Update node and data types for SOL001 3.3.1 + CNF enhancementsMichaelMorris32-23/+1037
Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1 Types in 4.1.1 folder are the CNF enhancements which it is assumed will be in v4.1.1 Includes some changes in functionality to support: 1. Deployment of both existing (2.5.1) versions of types and new versions of types through sdc-BE-init 2. Selection of the correct node type definition version at onboarding of an ETSI SOL004 VNF/CNF csar, based on the declared version supported in the csar (i.e. when a 3.3.1 csar is imported, the node type definitions valid for 3.3.1 are used (rather than current logic which always selects the latest version) Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3470 Change-Id: Iff835d230b173b9d44349caa6b0b11d783e8f8d3
2021-01-25Handle ETSI versions in NSD Pluginandre.schmid1-0/+5
The plugin now considers the ETSI version in the component metadata to generate the correct imports of nsd types, i.e., aligned with the provided version. Change-Id: I54aee04722a4434eac59ea8b70c4f30f5c81645e Issue-ID: SDC-3447 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-01-19Add basic auth headerxuegao8-35/+54
Add basic auth header for sdc-backend-init python scripts. Issue-ID: OJSI-273 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I3559d5792509db0f65b202a731545083c7c91c96 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-01-19Add basic authxuegao1-0/+6
Adding basic auth for SDC apis. Issue-ID: OJSI-90 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Ie84e6bab8d8526f7f4d21a36bba52d8fe9abebbb Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-01-07Update ETSI NFV Network Service categoryandre.schmid1-3/+3
Change-Id: Idbc88a7a047e539d1826997e8d98af23c3ee9bbd Issue-ID: SDC-3416 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-12-14Remove tosca.entity.Root from interface definitionMichaelMorris1-1/+0
No definition of type tosca.entity.Root is present meaning the derived from reference in tosca.interfaces.Root to tosca.entity.Root cannot be resolved. I cannot find any definition of tosca.entity.Root in the tosca spec so I am proposing to remove the "derived from" from this interface definition. This is consistent with tosca.nodes.root which does not contain the derived from even though in the tosca spec it is derived from tosca.entity.Root Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3398 Change-Id: Ie97d2f8da6793db9a7f510e4aee856837967e963
2020-12-07Support interface input during import VFCandre.schmid1-0/+12
Change-Id: I097ce258a7dadbedf1aff6ce53dd1286da074552 Issue-ID: SDC-3372 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-12-03[SDC] Validate PMDictionary content in Deployment artifacts tabAdam Wudzinski1-0/+7
Validate PMDictionary file content when adding or updating PMDictionary in Deployment artifacts tab. Fix dependencies conflict. Issue-ID: SDC-3390 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I6f6bb196ef061419a309a8ded5fdbe116982a037
2020-10-30Remove the Log4j 1.2.15sebdet1-1/+1
Remove the log4j 1.2.15 brought by Sigar library + update ESAPI to support slf4J instead of log4j Issue-ID: SDC-3310 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I63cee67d113f51dbe82a64c69629c62b47918103 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-10-26software version fixtragait2-0/+4
Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I468e1f5fc301e6b2966a514d12f04f769e1ab4b1 Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SDC-3228
2020-09-23Remove legacy Policy Types no longer usedPamela Dragosh3-486/+0
These were loaded in Dublin as a stop gap solution as we built up the self-serve control loop infrastructure over the last 3 releases. CLAMP does not use these anymore, so cleaning them out of the repo. Issue-ID: SDC-3229 Change-Id: I39e3a8b8146629f4b9dbb02abe7a0acf9166e716 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-07Make directives options configurablearibeiro1-0/+7
Issue-ID: SDC-3275 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia91655f02c45d033ebae45bd6d9f252c2f6d6f47
2020-09-07Template design (NSSTs) for slice sub-nets (RAN, Core, Transport).hekeguang1-0/+418
Issue-ID: SDC-3086 Change-Id: Ib70da9e03d6dd152d901344c60f8ba47f38450fe Signed-off-by: hekeguang <hekeguang@chinamobile.com>
2020-09-07Adding ETSI NS typesMichaelMorris7-2/+170
Change-Id: I22f644a6b02f4f05ddc951af899463df9b11b7db Issue-ID: SDC-2618 Signed-off-by: MichaelMorris <michael.morris@est.tech>