aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/groovy
AgeCommit message (Collapse)AuthorFilesLines
2020-09-18Update NSMF workflow to for the E2E Network Slicing requirementshetengjiao1-0/+36
Issue-ID: SO-2963 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com> Change-Id: Ic792896cc3e7b23f02fd7f8b8305402271eb0d78
2020-09-17Merge "Implement Workflows to handle NSSMF Common functionalities"Byung-Woo Jun1-0/+97
2020-09-16Implement Workflows to handle NSSMF Common functionalitiesPriyadharshini1-0/+97
Issue-ID: SO-3190 Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com> Change-Id: I38ce91415fc5ced083e017ed4306873d17d5fa24
2020-09-17Merge "Update template analysis process"Chuanyu Chen1-1/+1
2020-09-17Update template analysis processzm3301-1/+1
Issue-ID: SO-2963 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I2a1190191e18b8a580e421847a5143ef45a7877d
2020-09-06Implement subprocess for calling SDNR from RAN NSSMFReshmasree1-1/+79
-Also added common methods in oofUtils Issue-ID: SO-3215 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: Id85112db648f6607d7075da857a45e1ed5ca23ec
2020-08-27Implement so-oof-adapter to handle OOF CallbackPriyadharshini2-24/+115
- Add NSI/NST selection callback for Networkslicing Issue-ID: SO-3205 Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com> Change-Id: Ica88d503495949ecce8b897c3a990fbdaa5d4f0e
2020-08-20Get id from conductor for auto and speed changeBoslet, Cory1-203/+206
Get id from conductor for auto and speed change and get cloud region id from sdnc for manual rehome. Issue-ID: SO-3191 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4f1b83e2741309a34a056859a8718007085f3872
2020-06-18Prepare for java 11Benjamin, Max3-3/+0
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-14Merge "requestid values have commas audit log"Steve Smokowski3-5/+0
2020-05-13update oof utils to fix bug caused by oof interface changehetengjiao1-2/+37
Issue-ID: SO-2919 Change-Id: Iecdf4a142f090cc0a2555c547bc4b7ba2e165fa3 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-05-13Add NssmfAapterUtils to fix the auth problem of request to nssmfhetengjiao1-0/+149
Issue-ID: SO-2918 Change-Id: I51d7573701cfbe5efa80ce25883e7a4d401afd8f Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-05-11requestid values have commas audit logPlummer, Brittany3-5/+0
Removed overwriting header with random uuid Removed setting of duplicate headers, updated SOAP logging Re-added setting non-duplicate header Updated version of logging library to get elapsedTime changes Fixed failing unit tests in MSOCommonBPMN Issue-ID: SO-2916 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b30d69daf210dd903e6a1c1d832de49bf8119d5
2020-05-07uri params now available in info objectBenjamin, Max1-3/+4
uri params now available in info object make sure uri keys are retrieved via constants Issue-ID: SO-2908 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieb701c2705ecdb2365d557bc51e4f604d92ec680
2020-04-29rename package for external useBenjamin, Max12-45/+45
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-27Fixed error handling in the completion handlerBoslet, Cory1-2/+2
Fixed error handling in the completion handler subflows. Issue-ID: SO-2829 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id8c7332de6d7b0e382b56e86afa83ff231d8cda3
2020-04-15remove vnfadapterrest flow and interfaceBoslet, Cory2-555/+0
Removed unused soap vnf adapter apis and implements Removed unused apis and implements from vnf adapter Updates and removed dead code that is never used Add back override method to the healthcheck in vnf imp Removed the vnfadapter rest v2 interface and test. Removed references to v2 rest interfaces from CXF config. Reverted change to the cxf configuration file. Removed more unused code and updated unit test to account for removed apis and v2 being removed Updated the att openstack adapter cfx to remove v2 classes Initial commit of cleaning up the vnf adapter and removing the rest subflow. Issue-ID: SO-2812 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia093a5ac2dffd21d27a1ba74a813198b806d0786
2020-03-30Merge "convert openstack to external tasks"Steve Smokowski1-338/+338
2020-03-26convert openstack to external tasksBoslet, Cory1-338/+338
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-26Merge "Fix PNF software upgrade workflow"Chuanyu Chen1-1/+2
2020-03-25Fix PNF software upgrade workflowEnbo Wang1-1/+2
Fix the issue that API can not return when the workflow has ended. Issue-ID: SO-2751 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: I7d140b2286ce3003a6efcd2c3891fc8142982477
2020-03-24Update Subprocess to use COMPLETE statusSmokowski, Steven1-1/+1
Update Subprocess to use COMPLETE status Update Subprocess to use COMPLETE status Fix column name to be request_status Issue-ID: SO-2762 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8307524b3c226a25795247a47c95753b150076fe
2020-03-16split single and plural graph inventory urisBenjamin, Max1-6/+5
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski24-24/+24
2020-03-10Add test for scritp utilzm3301-2/+2
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I1102a6ca9ba4d22b2ab58b45111e401ac67ac2e7
2020-03-10Add sub-process test for deleting slice servicezm3301-0/+5
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I15e479b9dd6670d3576ef3446e8902aca699f7fd
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany24-24/+24
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-03-04Add method to prepare OOF request body for NST selectionHarry Huang1-0/+21
Issue-ID: SO-2368 Change-Id: I2dcc8a0a439ba87d461b96460780bd4c43d13c26 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-25Add public method for request db operation status query and updatezm3301-0/+119
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ie27fc77fabd217c7e478c0af1369989fee327261
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-56/+0
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
2019-12-09refactor fallouthandlerBoslet, Cory2-643/+204
Created a new update method to allow accessibility from groovy Ignore test that do not function in groovy. Fixed typo and bug in request db client class Fixed failing junits for falloouthandler Add the request factory to the rest template so that patch works updated check payload keyword to check response Issue-ID: SO-2555 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iebfea31b659a02069bd6c59c09f025fdc6a99843
2019-09-10Integrate Logging LibraryPlummer, Brittany10-41/+42
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-08-09Remove unwanted semicolonsubhash kumar singh1-1/+1
Remove unwanted semicolon. Issue-ID: SO-2212 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Iadffb2affff8597a8eb8258041b37cb8bf701f20
2019-08-09Removed unrequired semicolon from groovysubhash kumar singh4-56/+56
Removed unrequired semicolon from groovy. Issue-ID: SO-2212 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Ie97c560db89dcd15d424c11473a312e9d684cbd8
2019-07-31added back missing method in groovy fileBenjamin, Max (mb388a)1-0/+14
Need to bring back AbstractTaskProcessor.logWorkflowException() method because this is being called from a number of groovy files. Issue-ID: SO-2172 Change-Id: Id5dee85fcb48265955dde3d74f7c0f98300410f0 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany2-22/+32
Added ext error source to workflow exception Updated all lines that create this exception with source Added unit tests and updated existing ones Change-Id: Id9b3b1e6e24368224214a6370ea2d450ae667bfb Issue-ID: SO-2092 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10replaced String.repeat with static final stringsBenjamin, Max24-219/+216
replaced String.repeat with static final strings Change-Id: Ife14fde70e8f648881a03e9343ae8faf9cb87e2e Issue-ID: SO-1999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski4-1146/+1231
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Cleaned up duplicated literalsrob.bog24-102/+127
Cleaned up Sonar code smells related to the duplicated literals in loggers. Issue-ID: SO-1932 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I58c48cec0012c42b7b892ae76c24c6a087c60c7e
2019-05-30Remove oof_directives from user_directivesEric Multanen1-5/+7
Oof_directives - when populated with a json string, breaks the parsing of the user_directives. Since it is not needed in the user_directives, remove it. Change-Id: I0e2c3deef8266df52ac73b95209843ac31f986ef Issue-ID: SO-1939 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-05-29Fix UriBuilder import in OofUtilsMarcus G K Williams2-41/+30
Import all changes from Casablanca that were incorrectly removed during merge from Casablanca back into master. Issue-ID: SO-1926 Change-Id: I8355e804586aa80e291f3c72a00bf69ce424316b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-28Set response code in UpdateAAIGenericVnfYang Xu1-0/+2
Change-Id: I67fb789d40ea86a82379e76b94c2da1bd552cd31 Issue-ID: SO-1927 Signed-off-by: Yang Xu <yxu@futurewei.com>
2019-05-24Fix Missing Import in OofHoming.groovyMarcus G K Williams1-0/+2
Issue-ID: SO-1926 Change-Id: Idee7eb0ab789fd8ac335b8c97b344b6e4f4b7fba Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-01build sndc and user directives in groovyEric Multanen1-1105/+1195
Fill out the sdnc_directives and user_directives used by the multicloud vnf plugin adapter when invoked via the groovy path. Change-Id: Ia11680be682b38756f188c71e3e000bc21c15aa9 Issue-ID: SO-1822 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-11Merge "Support for SO to ExtAPI"Seshu Kumar M1-0/+4
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)5-3/+15
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-29Refactored SDNCAdapterUtils (groovy)Witold Ficio Kopel2-142/+134
Standardized usage of MsoUtils class in all methods of SDNCAdapterUtils. Removed AbstractServiceTaskProcessor from constructor parameter. Change-Id: I45263aefc980163a927d8a6dce886e299691e025 Issue-ID: SO-1700 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-26Eliminated printStackTrace() callsWitold Ficio Kopel12-119/+110
Eliminated calls to printStackTrace() on Throwable as they go to stdout and are not handled by logger. Occurences has been replaced by calls to logger or modifications to nearby logger calls (Throwable passed as last parameter). Occurences in unit test classes left without modification. Change-Id: I6a771d60a3ea69ceecc29bb21358e565aa5ce101 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-22Hid MsoUtils.log() methods from public useWitold Ficio Kopel2-133/+38
The MsoUtils class has utility methods for logging made publicly available (by default groovy scope). With changes to logging subsystem, other classes should not use them for logging - so they have been made private. This is last commit in a series to eliminate use of MsoUtils.log() from other classes and should prevent such usage in future. Change-Id: I8311df26e17b70043c5d8de6b13818f803319ab8 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com> Issue-ID: LOG-631
2019-03-21Removed MsoUtils.log() calls from CatalogDbUtilsWitold Ficio Kopel2-10/+12
Refactored calls to MsoUtils.log() to use logger object already present in the CatalogDbUtils class. In addition the CatalogDbUtils class has been accepting MsoUtils object as parameter to constructor - which is not necessary and not aligned with style in rest of the groovy code. Change-Id: Ib80593294ead5b2779f667d8e58f128e958538f0 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>