summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts
AgeCommit message (Collapse)AuthorFilesLines
2022-04-08Add ASD node and data types to SDC AID modelstasys102-2/+6
Issue-ID: SDC-3938 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Idac990c39f7d782eb029c72e5829b607de72dbb6 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-17Add sdc-be-init support for artifact typesvasraz2-28/+42
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.schmid7-26/+142
Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6 Issue-ID: SDC-3752 Signed-off-by: andre.schmid <andre.schmid@est.tech>
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-08-26Add ETSI SOL001 v2.5.1 model types to backend initdavsad1-6/+3
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.schmid6-34/+245
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-04-19Include 4.1.1 vduCp in deploymentMichaelMorris2-0/+2
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-02-21ETSI NSD SOL001 v3.3.1 typesMichaelMorris5-9/+22
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 enhancementsMichaelMorris8-14/+97
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-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>
2020-09-07Adding ETSI NS typesMichaelMorris2-2/+6
Change-Id: I22f644a6b02f4f05ddc951af899463df9b11b7db Issue-ID: SDC-2618 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-07-15Fix missing referenced node_typesKrupaNagabhushan1-0/+2
Issue-ID: SDC-3153 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I0b17ac92a49e1f006f5708b20af82a62ee769a9e
2020-06-24Improvement sdc-BE-init python scriptsk.kedron17-83/+247
- Implemented retries when request fail - Moved configuration variables to the Properties file - Extended sdcBeProxy - Implemented script to run import/update (should fix deployment glitch) - Updated the import_Normatives recipes to use new script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I83fab898783ad8d3b3d532af43d75bc54d033c33
2020-06-24Refactoring the check backend, create consumersk.kedron7-0/+126
Continue refactoring: - added script for healthCheck, create new consumers - also update chef recipes to use new script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I158d816362f91f74b217fe85112cf7c14da8f1ec
2020-06-24Refactoring the sdc-BE-init python scriptsk.kedron64-3361/+1453
Deeper refactoring of python script: - create the python package with init script - support for python 3.x - reuse code - new design - support for .json conf file - update the docker chef script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I02169eb7d0e3e90851ba1811536d1712c3b4145f
2020-03-23Fixed import in sdc-BE-init python scriptsk.kedron4-12/+4
Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I72eb129c5c4cb63fdf0ab13a6128d555b49b6d0c
2020-03-23Refactoring the sdc-BE-init python scriptsk.kedron27-2042/+1974
Adjust to the correct python syntax. Remove not used imports. Also fixed:  - the indents  - checking that all normative imported correctly logic Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If7edc867f3cb591be157073fbc12b9842b200023
2020-02-05Fix sdc-backend-init heat type upgradeandre.schmid4-118/+98
Removes all heat and normative items from typesToUpgrade.json. Add verbose to pycurl if is in debug mode, to print request information. Adjust to upgradeONAPNormative.py to the correct python syntax and removing unused imports. Change-Id: Id4ee601dd70b337c5eeb84965843305300ef7fe3 Issue-ID: SDC-2752, SDC-2753 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-01-22Catalog alignmentys969310-213/+237
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-08-30Fully HTTPS support in the catalog-bek.kedron4-152/+165
Fully HTTPS support: -Updated jvm configuration to support call to the SDC components using HTTPS. -Checkstyle in the recipes -Add support for disableHttp flag in the chef script -Add support for change the http to https in the python script -Fixed the --schema param in the importONAPNormativeALL and upgradeONAPNormative python scripts -Checkstyle in the importX python script -Disabled pycurl.SSL_VERIFYHOST to fix communication with the be component Issue-ID: SDC-2501 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I588ba21638083694932a1af272f3bcbaa98268a7
2019-04-16Support BBS Modeling in SDCVictor Gao1-1/+4
Change-Id: I9d5e960ed7ae46ea94d52fd14438f01948ff53dc Issue-ID: SDC-2228 Signed-off-by: Victor Gao <victor.gao@huawei.com>
2019-04-08updating the VNFD (SOL001) type based on SOL001 v2.5.1sarada prasad sahoo1-18/+22
updated VNFD types (tosca*.*nfv.) based on latest v2.5.1 version, not supported backward compatibility of SOL draft version, will be documented as limitation while upgrading from SOL draft version, updated importscript for new nodes, Also fixed java files for policyType having groupType reference Change-Id: I8b8175ec908809608e6bdac990052d909792a2ba Issue-ID: SDC-2170 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-03-04Requirement and capabilities featuremojahidi5-2/+101
1. Enhance Service/VF/PNF to support Req & Cap 2. Added Type fetch APIs to fetch types from global types Change-Id: I2b749ec9da34e488421b8ebe311ccf03c4b7c0fd Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2018-11-28fix issue in in alloted resourceMichael Lando1-0/+1
update aloted template add it to upgrade normative remove use of mail librery Change-Id: Ie8922c6cce4ca10baaf401f7a7bfed436ceb585e Issue-ID: SDC-1945 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-09-05add ability to disable tenant isolation.Tal Gitelman1-2/+0
Change-Id: I35b6db5ec0d3aa91295f57b60c04243b3f3d2208 Issue-ID: SDC-1571 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-09-05add software_versions propertyMichael Lando1-1/+2
add software versions to the pnf model Change-Id: I46c4f5d3f90cd84f08e2f14d61143cdcb5349855 Issue-ID: SDC-1698 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-20Import normative improvementMichael Lando1-1/+1
add back folder to fix lowercase issue Change-Id: I4062084b0ef81c9225af13099fdf7725fb03d8c8 Issue-ID: SDC-557 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-20Import normative improvementTal Gitelman5-227/+17
Change-Id: I6db32d8107874b2454b75348d909b295030a556f Issue-ID: SDC-557 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-07-29re base codeMichael Lando3-0/+222
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-25Align normatives and scriptsTal Gitelman30-457/+591
Change-Id: I5e15e3c5adaf13a5b785613d20411f5d0e42e264 Issue-ID: SDC-1544 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-27R2 model updatesdekstroza1-15/+18
All model verification changes and updated in single patch. Change-Id: Ie794dc141400490bf1a858a8d6c9d1c45e5b9443 Issue-ID: SDC-1253 Signed-off-by: Michael Lando <ml636r@att.com>
2018-03-21Onap normatives are imported alwaysGitelman, Tal (tg851x)1-3/+3
Change-Id: I33b05ae29bc41ed90a87cf01960a848f2484200d Issue-ID: SDC-1103 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-19Normative alignemetGitelman, Tal (tg851x)9-19/+451
Change-Id: I6115e20fe95662153903873d19439bc7cf0c2ff1 Issue-ID: SDC-1104 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-14Onap normatives are imported alwaysGitelman, Tal (tg851x)3-13/+123
Change-Id: I3f35be9732a4b0ddba268debe1766976402fa560 Issue-ID: SDC-1103 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-07Sync Integ to MasterMichael Lando23-385/+451
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2017-12-10Final commit to master merge fromTal Gitelman6-58/+283
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507 Issue-ID: SDC-714 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-11-01VoltE fix - latest VNF'sTal Gitelman1-1/+1
Change-Id: I26f9117ca4aafdf46832fdd6d6349e07d8a6368f Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-26Sanity docker buildTal Gitelman1-3/+3
Huawei_vHSS.csar + vMME.csar + vPCRF_aligned_fixed.csar + vCSCF_aligned.csar + vSBC_aligned.csar aligned VNF addition Change-Id: I7a4fd9b9f82bd5d821568c386c6a22f433e5a557 Issue-ID: SDC-478 Signed-off-by: Tal Gitelman <tg851x@intl.att.com> (cherry picked from commit 4f74ac66e4e115654ec30c1f5553e079c3bd4e58)
2017-10-22VoltE fixTal Gitelman1-1/+2
Change-Id: Ib1bd2c578f897ff1f7d239d41e3d359e2cbb5c89 Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-16update normative typesMichael Lando3-6/+49
add NSD and genericNutronNet Change-Id: I78784273c019dfb8837223ba390b94c0cfc3f85d Issue-ID: SDC-410 Signed-off-by: Michael Lando <ml636r@att.com>
2017-10-05normative fixMichael Lando1-1/+6
Change-Id: I5ba61afae1d974c78d1a80e931533f386e0015f0 Issue-ID: SDC-410 Signed-off-by: Michael Lando <ml636r@att.com>
2017-10-03ONAP normative fixesTal Gitelman1-3/+3
Change-Id: I3670033775c4cb2328494ce1e52f60b636f387f5 Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-03Redundant import scripts removedTal Gitelman2-215/+0
Change-Id: I22126caf9f8e0f8bf59e5f276e6b7bcc5c336d06 Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-03ONAP normative fixesTal Gitelman1-3/+3
Change-Id: Ia70f81f6b0b352a75b66bc85f8402ee424ae6424 Issue-ID: SDC-410 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-09-27Merge "Define SDC model to configure VXLAN tunnel"Michael Lando1-1/+2
2017-09-28Define SDC model to configure VXLAN tunnelArun S. Yerra1-1/+2
VoLTE use case contains a VXLAN tunnel between edge and core datacenters. This patch defines TOSCA template that enables user to input configuration parameters required to associate local network within dataceter to a VXLAN tunnel between data centers. Local network within data center is created dynamically while provisioning either vIMS or vEPC services and this SDC model enables configuration of VXLAN gateways to forward local network traffic through inter-DC VXLAN tunnel. Issue-Id: SDC-342 Change-Id: I1b3b8bdcff60128223d47f3bfafe50766017d2de Signed-off-by: Arun S. Yerra <arun.yerra@huawei.com>