summaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
AgeCommit message (Collapse)AuthorFilesLines
2020-07-31Create DeactivatePnfBB and include it into Service-Macro-Delete flow.Mateusz Gołuchowski1-10/+12
- created DeactivatePnfBB which changes orchestration status to inventoried when invoked - included BB into flow in R_MacroData script which initializes database - added support for mapping of service relations to PNFs - changed version of logging-analytics to 1.6.7 Issue-ID: SO-3111 Change-Id: I375db2014887f1f634adac31d4d1af3675f5911c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-07-24Implement getAllProcessingFlags rest query toKuleshov, Elena2-0/+63
Implement getAllProcessingFlags rest query to catalog DB. Remove debug printout from the JUnit test. Issue-ID: SO-3097 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icc2f7de1600a39d0c2d2a964e9df84ec9237a157
2020-07-08Update SO Reference for scalingLukasz Rajewski1-0/+10
Update SO reference table for some Macro flows changing their execution with ControllerExecutionBB and dedicated action + scope Issue-ID: SO-3023 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib46691b802a201c437e3c5257e586c3cfc039cd1
2020-06-30Merge "merged ONAP refactor and fluent builder method"Steve Smokowski1-8/+8
2020-06-30merged ONAP refactor and fluent builder methodBenjamin, Max1-8/+8
WorkflowAction refactoring merged ONAP refactor and fluent builder method types Issue-ID: SO-3005 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5c2a7dbcdf645efe408f81c1abbc7bfe8770fe9e
2020-06-29Replace lambda with a method referencemarcinrzepeckiwroc1-3/+3
Issue-ID: SO-1841 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: Idafac15166c6077895f645d1b9df1be7409ba5f1
2020-06-18Prepare for java 11Benjamin, Max1-15/+6
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-06-02make sure maven plugins only run when we wantBenjamin, Max1-0/+3
make sure maven plugins only run when we want Issue-ID: SO-2972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5fe1b4836f597cf6bda5fee02ca6c234c7917f33
2020-05-20Began adding pluging to lifecycle mappingBoslet, Cory1-1/+25
Began adding pluging to lifecycle mapping metadata to get rid of eclipse workspace pom errors/markers Issue-ID: SO-2948 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I78946c59e6aaf440e014ed06e9ff476bac5c2613
2020-05-13switch to docker-maven-plugin because that's allBenjamin, Max1-1/+1
switch to docker-maven-plugin because that's all we need Issue-ID: SO-2933 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I65783d3a7c172f4ce7fc39d64a3987eeae58feed
2020-05-06updated code with parallel streams to normalKalkere Ramesh, Sharan1-4/+3
updated code with parallel streams to normal streams Issue-ID: SO-2904 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifb9c3644b1129f593acde31b57b0bb3ec24074d2
2020-04-30Fix BBS integration issueramu.n2-7/+10
Issue-ID: SO-2827 Change-Id: I292094db2740632cefc9962ab5bf6028b51bdbb8 Signed-off-by: ramu.n <ramu.n@huawei.com>
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