summaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
AgeCommit message (Collapse)AuthorFilesLines
2020-04-29mso to support rollback forKuleshov, Elena1-9/+11
Add Rollback and Manual for CM BBs for rainy day handling table Add rollback flow generation logic for Change Management flows. Update Robot tests for ConfigModify Manual Task Add a test for rollback for inPlaceSoftwareUpdate, remove manualhandling tests for inPlaceSoftwareUpdate Issue-ID: SO-2853 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6a68662fee5295117f6f39ffe3fa97b7ef4e2116
2020-04-28Adding Generic VNF information in ControllerExeuctionBB flowSunil1-2/+4
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-24Renamed duplidate flyway migrationBenjamin, Max (mb388a)1-0/+0
Two migrations with the same name were merged independently Issue-ID: SO-2828 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I304a5f3498cf4b8e7e6f4600ae1a0017bf443723
2020-04-22Merge "Missing VNF Recipe for Optical service"Seshu Kumar M1-0/+6
2020-04-16Implement processing_flags table and correspondingKuleshov, Elena5-3/+178
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-16Merge "reduced code smells"Steve Smokowski3-4/+0
2020-04-12reduced code smellsRupinder3-4/+0
Removed some unused imports Issue-ID: SO-2804 Change-Id: Ib0a7716585448ade0c9571479ed06effaf25738b Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-09Fix transition states for the BB workflow.Sebastien Premont-Tendland3-20/+11
Deleted the versioned flyway file in favor of the repeatable one for MacroData. I know deleting a versioned file could mess up upgrade but given no release has been done with those new versioned files it should be ok and cleaner. This is a list of transition states that were added internally at Bell when working with the BB workflow and post instantiation. Those are to support Rollback and Delete even if the VNF is in the status ConfigAssigned, Configure or Configured. The missing transition states was causing the Rollback or Delete to fail. Issue-ID: SO-2798 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I21c11298a456a472cedc7a8733c6dbc3a071f3a6
2020-04-07Orchestration transitions missing for post instantiation workflowSebastien Premont-Tendland2-1/+18
This is a list of transition states that were added internally at Bell when working with the BB workflow and post instantiation. Those are to support Rollback and Delete even if the VNF is in the status ConfigAssigned, Configure or Configured. The missing trasition states was causing the Rollback or Delete to fail. Also update the initial script to support already existing data. Issue-ID: SO-2798 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: Ic90b74a25a5790f6d9ddb6919771735b1c081cb5
2020-04-03Orchestration migration table missing 'CONFIGURED'r.bogacki1-0/+2
Add missing Flyway migration to reduce manual steps for instantiation use cases. Issue-ID: SO-2784 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ieafafdb9abac3a0b0a4b14d60af5eac1710074c7
2020-04-01Missing VNF Recipe for Optical serviceSrinivasan Ramanathan1-0/+6
Added missing Recipe for orchestration of OTN services in Optical domain Change-Id: I515448ca6c799fbcaddbbe10fe803e47308cd8fe Issue-ID: SO-2773 Signed-off-by: Srinivasan Ramanathan <srinivasan.ramanathan2@us.fujitsu.com>
2020-03-31Add test for QueryServiceArtifactzm3301-0/+55
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I826588d9919845aaf1d32e36b4cfa5a608b901b5
2020-03-31Add Test for QueryServiceInfozm3301-0/+54
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Iea34f15df13cb248b33be99682e9ca13034e48ce
2020-03-27initial commit of testing of grabbing cvnfc custKalkere Ramesh, Sharan2-6/+37
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-25mso vnf configuration update composite flowBonkur, Venkat1-5/+18
Existing Change Management VNF Configuration Update flow migrated to the generic building blocks Introduced Activity BB VNFConfigModifyActivity.bpmn Updates to AppcOrcherationPreProcessor, ApplicationControllerTaskImpl to handle the ConfigModify Activity block. Updates to the catalog migration scripts to include VNF-Config-Update Macro flow. Issue-ID: SO-2768 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I06be7a83fb2738b91b0257e1ec84298a7dafc1a1
2020-03-25Merge "split modification to flyscript into separate file"Steve Smokowski2-4/+27
2020-03-25Merge "Ingest and Process Service Function"Steve Smokowski1-0/+4
2020-03-25Merge "mso to add support for creating the cloud region"Steve Smokowski1-0/+13
2020-03-24split modification to flyscript into separate fileBenjamin, Max2-4/+27
split modification to flyscript into separate file Issue-ID: SO-2764 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id6506ee9fd0411d3ff89e7b4fe2af0af0dd39524
2020-03-24Ingest and Process Service FunctionSmokowski, Steven1-0/+4
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-18/+12
Issue-ID: SO-2758 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ic916e55effe0e3688b8d014fb70ea0e2ad23c16a
2020-03-19mso to add support for creating the cloud regionSmokowski, Steven1-0/+13
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-19Query serviceResources add serviceInfozm3301-26/+7
Issue-ID: SO-2748 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I8db48228edeeb473cb031ac854158e6a72cd1ae8
2020-03-02Add Query ServiceProxyCustomizationzm3303-3/+136
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I12fc81ea5f0fc3975b5913b56b48ecb4cb3ebff5
2020-02-28Add Catalog DB query methodszm3302-0/+200
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I99f3241d4726d3d334b1eeccf30022c939b71b6f
2020-02-28add service beanszm3301-0/+30
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ic6b015dad81f53fa86bd17eaf205dbc46d9d3761
2020-02-26bump the versions for all the SO to 1.6.0seshukm1-1/+1
Issue-ID: SO-2519 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id0993b244b0978375ff8476e4bf8ef79e1bb9e68
2020-02-18Merge "Based on Controller Actor calling CDS or APPC(Current Flow)"Steve Smokowski2-0/+33
2020-02-18extend query parameter to support pnfModelVersionIdYaoguang Wang1-2/+2
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)Manamohan2-0/+33
-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/+15
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-10Merge "Fix repeatable migration of WorkflowDesignerData (CatalogDB)"Steve Smokowski1-0/+1
2020-02-06Add Pnf BBs to Service-Macro-Create flowRemigiusz Janeczek1-11/+18
Added building blocks: AssignPnfBB WaitForPnfReadyBB ActivatePnfBB Issue-ID: SO-2641 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I6bc08e17a666a1a93d7bda1ec04aa7c181b5ec8c
2020-02-06Fix repeatable migration of WorkflowDesignerData (CatalogDB)Remigiusz Janeczek1-0/+1
Issue-ID: SO-2648 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I32623ed9937519bf275e3d8f715200c09c58a268
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-0/+22
Initial Manual Handling addition to Rainy Day BB handling. Reenable task API, add task variable setup. TaskTimeout will come from the configuration settings. Update the base path for the APIH manual tasks junit. Additional JUNIT tests for manual handling Add Manual as a primary policy for Change Management BBs. Error handling changes and robot tests for manual handling. Correct failure data retrieval when serviceSubscription is unavailable. Correct failure data retrieval when serviceSubscription is unavailable. Keep WorkflowException when manual pause gets invoked; improved error reporting. Issue-ID: SO-2616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a84c1a489bb7b24b68e567f604aeb074fd7bf9
2020-01-101911 create appc adapter micro serviceKuleshov, Elena1-2/+26
Added new appc adapter micro service. Made required code changes to use the new adapter. Issue-ID: SO-2596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I880ecace64ec85ca4094a82bc1210798fd3bb85d
2020-01-08Merge "consolidated security configuration"Steve Smokowski4-239/+2
2020-01-08Merge "Drop Resource Input Field if not valid JSON"Steve Smokowski6-6/+69
2020-01-07Drop Resource Input Field if not valid JSONSmokowski, Steven6-6/+69
Drop Resource Input Field if not valid JSON Drop Resource Input Field if not valid JSON Issue-ID: SO-2587 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I704981c6b3413872975b9e94a4b79cc0a1790795
2020-01-07consolidated security configurationBenjamin, Max4-239/+2
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2020-01-07find workflow by pnf model uuid with CatalogDbClientUbuntu1-1/+3
Issue-ID: SO-2558 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I62d9ae70befdd870d217de64cca36fe04a69e96e
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-10/+198
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-0/+5
2019-12-18Merge "update so to use 1.6.3 snapshot from the logging"Steve Smokowski1-56/+0
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena1-1/+35
Support for volume groups on replace VF Module. [MSO-8375 R2002} Add full JUnit coverage for replaceVFModule scenarios, add replace changes to general macro data. Fix a JUnit to pass correct parameters to a method. Add back setting volume group id for new volume group on replace action. Issue-ID: SO-2577 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73289da21e0c7de7451b63e99e184692e800aaf0
2019-12-17Implementing scope and action values from SO-DB to SO-BackendManamohan1-0/+5
Issue-ID: SO-2513 Change-Id: I002a35a2a8ff4730d45c23d54f0acd4496b8b585 Signed-off-by: Manamohan <MS00534989@Techmahindra.com>
2019-12-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany1-56/+0
Updated snapshot to 1.6.3 and began fixing failing tests Update SOAPLoggingInInterceptor to use new InvocationID value Changed client and server keys to InvocationID BPRestCallback to use ServerInvocationId Removed logging MDC checking from unit tests Began switching bprestcallback to use resttemplate Removed changes to logback replacing invocationIds Updated logic where requestEntity is created on null message Added unit tests for BPRestCallback Set InvocationID in MDC in SOAPLoggingInInterceptor Send in URI to prevent encoding of URI causing % to change to %25 Updated restTemplate to fix issue with interceptors Issue-ID: SO-2571 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7e0d80eae9036c993414ae96ebd571c89cb9dfa9
2019-12-13add pnf_resource_to_workflow to catalogdbUbuntu1-0/+21
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 ingestioneeginux1-0/+23
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-11-21Added AAF Integration related changesRamesh Parthasarathy5-10/+198
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>