aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-08-26SO-3720 BuildingBlockRollback lookup tableOleg Mitsura3-1/+191
Issue-ID: SO-3720 BuildingBlockRollback lookup table will indicate the rollback BB to take; this is the first part for simplifying WorkflowActionBBTasks logic: instead of doing string matching, we just do a lookup of a block to call to perform the rollback operation. In some cases, the Action is set as well - this would be needed for certain BBs, in that case, there is a corresponding rollbackAction as well. Change-Id: I072a2ada894cf4672f5a1cdce762605757cb1d14 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2021-08-16Add recipe data in catalogdbMukesh Paliwal1-3/+85
Issue-ID: SO-3741 Signed-off-by: Mukesh Paliwal <mukesh.paliwal1@huawei.com> Change-Id: Ie873e250111b7ab61afa2581624df8ae8c7212e0
2021-06-16Reverting tenant_meta_data Json propertyMukeshKumar1-1/+1
Issue-ID: SO-3676 Signed-off-by: Mukesh <mukeshsharma@est.tech> Change-Id: Ib7fa3ce5f82d45d7a5cf394f492dd634a1e93f7a
2021-04-21Added logging statements for skip post inst conf classKalkere Ramesh, Sharan (sk720x)4-4/+4
Issue-ID: SO-3626 Change-Id: I618b6b6b6049f94bc6c9bfe6be893ac022f2449e Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2021-03-22corrected json prop names and included update tsMNUSHKIN, DMITRY2-2/+14
corrected json prop names and included update ts Issue-ID: SO-3603 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Ie00bdb617e54e00b450e556aab57b11e864a0969
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-160/+0
Updated camunda to 7.14 and updated spring boot camunda to 3.4 Started to clean up duplicate maven dependencies Issue-ID: SO-3521 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic65b04772b91dd989e41d6b6b93872978bc4e4e2
2021-01-28force not null with default valuesBenjamin, Max (mb388a)8-20/+20
force not null with default values update JUnit test setting default value update NULL fields before altering column sync beans with flyway changes updating test schema.sql files Issue-ID: SO-3494 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I53f000531cfb653a20bfdfae274622553420cdc8
2021-01-12updated post skip instantiation to non primitiveKalkere Ramesh, Sharan1-3/+3
updated post skip instantiation to non primitive set default Issue-ID: SO-3477 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icbc5bf21592237cf04f2653313fb69a3ff9bf8b6
2021-01-05Merge "Use the timeout from the heat templates for"Steve Smokowski2-1/+25
2021-01-05Use the timeout from the heat templates forBoslet, Cory2-1/+25
Use the timeout from the heat templates for polling Removed unused imports and code from base Added to get timeout from the rest client Fixed unit test for polling to account for changes Issue-ID: SO-3397 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If633f4f49d88eb797020b7d72c6edd0fbee0926c
2020-12-30Added new column to the identity service.Benjamin, Max (mb388a)1-9/+26
Added new column to the identity service. Issue-ID: SO-3448 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5151016d1b4874cb77eecddc17169c04f59dc9a5
2020-12-08software-version fixtragait1-1/+13
In this commit software_versions added to the pnf customization table. A test case is also written to verify if the software_versions of type string is added to the pnfcustomization. Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id07fe79e67ac96e71e6fe3775cce801edd81a42a Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SO-3119 Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-11-12skipPostInstConf changed to booleanarun chapagain1-3/+3
Issue-ID: SO-3346 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: I1c77217418c299dd1b233e6c7cf7f9139e7909b9
2020-10-14Fix skipPostInstConf for PNFmharazin1-3/+3
Issue-ID: SO-3271 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: I550a6582da1c7dd9d000ee9c7cfe421a293b9e59
2020-09-17Update template analysis processzm3301-0/+3
Issue-ID: SO-2963 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I2a1190191e18b8a580e421847a5143ef45a7877d
2020-08-20Picking workflow names dynamically for schema update procedurerameshiyer272-1/+11
Issue-ID: SO-3147 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I4c9de93ea7b51657c2bc6ee24b4bb52e2068cf5a
2020-06-18Prepare for java 11Benjamin, Max62-2/+124
final changes for java11 groovy compatibility removed unnecessary dependencies and cleaned up poms added missing jaxws-api dependency to pom.xml java8 profile is now active by default in parent pom update beans to have RemoteResource annotation always use the compiler plugin from parent pom Update external task timeout to longer value to hold lock update remote resource annotation to match catalog db client add remote resource annotation to bean for bowman completely remove bowman from requests db client Issue-ID: SO-2059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If6f0df36e8077ccd703abce9f64290daed63955b
2020-05-19Fix CloudSite creation for OOF HomingEric Multanen1-0/+5
Restore old version of postCloudSite for the OOF homing code. Change-Id: Ic20895730952975476544ede6e677948e88998a9 Issue-ID: SO-2940 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2020-05-07removed unused imports lowered code smellsRupinder5-13/+0
Issue-ID: SO-2804 Change-Id: Id2c98451cf522e8c4ffde592b12340e8c8bab577 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-30Fix BBS integration issueramu.n1-1/+1
Issue-ID: SO-2827 Change-Id: I292094db2740632cefc9962ab5bf6028b51bdbb8 Signed-off-by: ramu.n <ramu.n@huawei.com>
2020-04-28Adding Generic VNF information in ControllerExeuctionBB flowSunil1-0/+3
Solving BlueprintName and BlueprintVersion issue Changing vf-module to vfmodule Updating AAI with Orchestration status Issue-ID: SO-2806 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I91aa653b946bae3940000f724710de87af3ce7df
2020-04-16Implement processing_flags table and correspondingKuleshov, Elena3-0/+235
Implement processing_flags table and corresponding interfaces. Implement rest interface for processingFlags table to toggle the value. Correct hashcode calculation for ProcessingFlags bean. Use newFabricConfigurationApi flag for managing FabricConfiguration BB logic. Remove readOnly specification from updating the processing_flags table Make sure update_timestamp field updates automatically. Issue-ID: SO-2814 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I00697f8edf62c2d3d725daa710c17f03595eac51
2020-04-04Added logic to update the requests DB when aBoslet, Cory1-10/+16
Added logic to update the requests DB when a Create or Delete BB is silent success and updated enum Updated regrex and add junit test for orch validator and formatted files Formatted pom files that were not formatted correctly. Removed use of ternary operator if statement and moved enum to static final. Updated equals method to include resource status message for mockito verify Removed resourceStatusMessage from equals and used argument capture instead Issue-ID: SO-2782 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I3a292f57d2771200ce85a99e845e776e2f3bd600
2020-03-31simplify fabric into add/delete stepsKuleshov, Elena1-0/+1
Implement AddFabricConfigurationBB and supporting functionality. Add verifications for Add/Delete FabricConfigurationBBs. Implement DeleteFabricConfigurationBB and related functionality Issue-ID: SO-2774 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I58ad9b6155750c73b0c83fed9ca7b35a7e12b617
2020-03-31Merge "fix for getpnfworkflows url"Seshu Kumar M1-1/+1
2020-03-27initial commit of testing of grabbing cvnfc custKalkere Ramesh, Sharan4-16/+13
initial commit of testing of grabbing cvnfc cust Update SQL so it properly inserts test data remove unnecessary test in mso catalog db updated tosca resource installer to use list not set fixed compilation issue in asdc rest interface test Issue-ID: SO-2769 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9c6e7b6cbb96d9f395903a5a54b5af567eba62f8
2020-03-25Merge "Ingest and Process Service Function"Steve Smokowski1-0/+12
2020-03-25Merge "mso to add support for creating the cloud region"Steve Smokowski3-1/+147
2020-03-24Ingest and Process Service FunctionSmokowski, Steven1-0/+12
Intial commit of writing service function to AAI Update schema.sql table to pass all unit tests Update local sql to setup CI server for test Update schema to work and fix passwords Issue-ID: SO-2763 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c517a485841574cde849e1c4e86c3bb7b7dcf89
2020-03-24Update Asdc DB tablezm3304-51/+16
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ic916e55effe0e3688b8d014fb70ea0e2ad23c16a
2020-03-23fix for getpnfworkflows urltragait1-1/+1
Issue-ID: SO-2756 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I999d590dd76090a7aaabc84ad49030f24453485f Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-03-19mso to add support for creating the cloud regionSmokowski, Steven3-1/+147
mso to add support for creating the cloud region Updated tag name to msoRequest on deletes. Issue-ID: SO-2753 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I80e318ce34f5938a42896398eb1a38b5c5f6e831
2020-03-02Add Query ServiceProxyCustomizationzm3302-7/+56
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I12fc81ea5f0fc3975b5913b56b48ecb4cb3ebff5
2020-02-29Add ServiceInfo Repositoryzm3301-0/+33
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ib7adcad06970c2866100c1913ed944bbf53cf6ae
2020-02-28add service beanszm3302-0/+274
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ic6b015dad81f53fa86bd17eaf205dbc46d9d3761
2020-02-19SO API extenstion to retrieve all PNF workflowtragait2-4/+14
This commit implements SO request handler API onap/so/infra/workflowSpecifications/v[x]/pnfWorkFlows. It is used to get all the pnf workflows exist in catalogdb. Issue-ID: SO-2660 Change-Id: Ieeca8a6afef917b6e3ba927d38ed5509dcaf253c Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-18Merge "Based on Controller Actor calling CDS or APPC(Current Flow)"Steve Smokowski3-0/+171
2020-02-18extend query parameter to support pnfModelVersionIdYaoguang Wang2-6/+6
Issue-ID: SO-2559 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I51cb15f6750b378a9de3435951e3ea1644184a55
2020-02-17Based on Controller Actor calling CDS or APPC(Current Flow)Manamohan3-0/+171
-Added BBNameSelectionReference table having bbName along with action,scope,actor -Updated CatalogDbClient to use BBNameSelectionReference Table -Updated ControllerExecution bmpn to select flow as per Controller Actor -Corrected Format Error Issue-ID: SO-2316 Signed-off-by: Pooja03 <pm00501616@techmahindra.com> Change-Id: I21fad846249f773308e34abcac134d3ee0694027 Signed-off-by: Manamohan <MS00534989@techmahindra.com>
2020-02-12mso to add support for creating the cloud regionSmokowski, Steven1-2/+55
Initial check in to support cloud region create Add additional junit tests Add additional integration tests Updated junit to use spy and removed setter method Issue-ID: SO-2657 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6a93f3b4caf7d640ffa5842981247d284b9013ad
2020-02-05WaitForPnfReadyBB - set orchestration status to Register and then RegisteredLukasz Muszkieta1-1/+3
Issue-ID: SO-2644 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com> Change-Id: I2796baf4afabd47536ffa0d4deb5096608fc5cce
2020-01-17Replaced annotation with RepositoryRestResourceGamboa, Gilbert1-1/+2
Use rest calls to update CatalogDB Issue-ID: SO-2603 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I86d01259c007ed9f9fe53aeca53d126cbe066b1a
2020-01-10removed powermock dependecy and added it toBenjamin, Max1-33/+33
removed powermock dependecy and added it to enforcer plugin Issue-ID: SO-2597 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib2dff9818fffaef1b356db03795fdca238dfed75
2020-01-07find workflow by pnf model uuid with CatalogDbClientUbuntu2-1/+22
Issue-ID: SO-2558 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I62d9ae70befdd870d217de64cca36fe04a69e96e
2020-01-02SO API to support custom PNF workflowYulian Han1-0/+13
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064418 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-4/+29
2019-12-17Implementing scope and action values from SO-DB to SO-BackendManamohan1-4/+29
Issue-ID: SO-2513 Change-Id: I002a35a2a8ff4730d45c23d54f0acd4496b8b585 Signed-off-by: Manamohan <MS00534989@Techmahindra.com>
2019-12-13add pnf_resource_to_workflow to catalogdbUbuntu1-0/+91
bind the pnf model uuid to pnf workflow Issue-ID: SO-2558 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I779ba8bef8ca3bb67ab6e9245eafec8b84571c85
2019-12-04SO CDS Metadata ingestioneeginux4-2/+76
Add support for controller_actor ingestion Add support for blueprint in service Add support for skip conf flag in vf module Ingest new properties into SO database Sample csar files are cleaned without comment and description Issue-ID: SO-2313 Change-Id: I657f997faf33a366f3c234c3e41b164275beedac Signed-off-by: eeginux<henry.xie@est.tech>
2019-10-14Add column to catalog dbBoslet, Cory1-2/+16
Add column to catalog db for fabric support on cloud regions Issue-ID: SO-2442 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c0ecf4eba1198277ccb99627f51682c1d29881c