aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-01-16update bb input setup to handle replace forKalkere Ramesh, Sharan1-5/+18
update bb input setup to handle replace for service vnf vf modules that are not replace will get correct model data added in a unit test as well as added in check for vnf Issue-ID: SO-2599 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I538f6037791905d1086d6d553d1895abd6f2026e
2020-01-09move population of instance names in requestdbPlummer, Brittany2-80/+51
Removed saving instanceName in BBInputSetup Removed test for setting instanceName in BBInputSetup Moved saving instanceName to workflowaction Started adding tests for setting instanceName Added unit tests for setting instanceName Updated last modified by from apih to bpmn Updated access modifier for method no longer needed Removed requestId parameter no longer used Updated test to match parameter changes in BBInputSetup Added volumeGroup lookup by vnf and volumeGroup id Issue-ID: SO-2595 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib1bbc53d00ae0257f2678756a1e8f9291d8e7fa2
2020-01-08Merge "Pass error message in the exception when thrown from CDS-Adapter"Lukasz Muszkieta1-55/+77
2020-01-06Pass error message in the exception when thrown from CDS-Adapterprathamesh1-55/+77
Issue-ID: SO-2494 Signed-off-by: prathamesh <prathamesh_morde@yahoo.ca> Change-Id: I1990ba00ab55ed08c7ba8c31e6fe8fbedb428e7e
2019-12-20Add pnfs resources handling in service macro createpwielebs4-21/+42
Issue-ID: SO-2568 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If6c6ad5469c9637af119c811e6f87ea00a282f18
2019-12-18Merge "Implementing scope and action values from SO-DB to SO-Backend"Steve Smokowski1-0/+21
2019-12-18Support for volume groups on replace VF Module.Kuleshov, Elena2-1/+22
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/+21
Issue-ID: SO-2513 Change-Id: I002a35a2a8ff4730d45c23d54f0acd4496b8b585 Signed-off-by: Manamohan <MS00534989@Techmahindra.com>
2019-12-13Refactor WorkflowAction.valiadteResourceIdInAAI -Gamboa, Gilbert1-13/+31
Refactor WorkflowAction.valiadteResourceIdInAAI - break up the method into smaller pieces to handle different resouce type separately. Include aai object id info in MultipleObjectsException. Do not throw DuplicateNameException when MultipleObjectsFoundException is caught. Handle BAU and let MOFException be thrown as illegal state exception. Issue-ID: SO-2564 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib78fbbe9fbea3e4815a7b19071ea2ce30dce6c25
2019-12-13Merge "add application id support to so"Steve Smokowski3-5/+33
2019-12-13Merge "Need to globally check object name duplicates in"Steve Smokowski1-0/+18
2019-12-11add application id support to soBonkur, Venkat3-5/+33
add application id support to so api Issue-ID: SO-2561 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifc8c4dd5e178b68347a7df01ab1942a59baca9b0
2019-12-11Include service-instance-id andGamboa, Gilbert2-42/+69
Include service-instance-id and service-model-version-id in the exception message if service-instance or service model is not found. Issue-ID: SO-2565 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia088d241374af4422cb76d16e86ddd7ecc45593a
2019-12-11Need to globally check object name duplicates inGamboa, Gilbert1-0/+18
Need to globally check object name duplicates in AAI for vf-module, volumegroup and configuration. Issue-ID: SO-2563 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I88a89a4a3ba02d5d9d586593d259580bf4546c96
2019-12-05update bb input setup to use request info forKalkere Ramesh, Sharan1-9/+37
update bb input setup to use request info for replace fixed unit tests that were failing from code change Update robot and format test file to pass formatting Updated formatting so that verify job will pass removed the change made to robot test for replace update test that is failing in verify for replace Issue-ID: SO-2554 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic6bb24282b024159dff024d5ff9d848854ca3081
2019-11-22improve error log scoresPlummer, Brittany1-1/+1
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-10-09feature request to mso to save name on deletesPlummer, Brittany1-33/+75
Updated to fix instanceName getting cleared Updated to pass requestId string instead of executebb Updated tests to fix compliation issues Moved log line to right before actual update Updated documentation for invoke delete service instance flow no instance name Issue-ID: SO-2426 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I049120e60e8fe69147375d628fad0cbefd0d9afe
2019-10-01Improve fall out case handlingSmokowski, Steven1-4/+8
Update Openstack adapter to handle fall out cases with greater stability Issue-ID: SO-2376 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20116cbd3b63bb29c9bf4ed99e92bd5f2b691da5
2019-09-27revert the code change of mso7941 .logic isBonkur, Venkat1-5/+2
revert the code change of mso7941 .logic is implemented in mso8129 in WorkflowActionBBTasks based on vnfc and config relationship Issue-ID: SO-2370 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I3132950f4a65d3c2662cfbdf6baa93dfe5db0140
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven4-19/+142
Updated with the error log messages Changed the code to do string compare for eventName update workflowaction to only persist if not resume Issue-ID: SO-2363 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I139f2427ae0f0253a15cc51003318686568cb514
2019-09-11Merge "Added null check to avoid crash at getErrorCode() call; fixed typos ↵Lukasz Muszkieta1-9/+8
in error messages; removed unnecessary try...catch block"
2019-09-11Added null check to avoid crash atOleksandr Moliavko1-9/+8
getErrorCode() call; fixed typos in error messages; removed unnecessary try...catch block Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko<o.moliavko@samsung.com> Change-Id: I95765a1a5a10497e366b5d94b89d45b6bde2b212
2019-09-10Integrate Logging LibraryPlummer, Brittany3-15/+15
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-28sonar fix for ExtractPojosForBB classLukasz Muszkieta1-25/+13
Change-Id: I2d568604fa5d2e688b367644de620c8e91508aae Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-08-26Merge "Add the check Fabric Config in"Steve Smokowski1-2/+5
2019-08-26Merge "added in exception handling if auditResult is null"Steve Smokowski1-2/+8
2019-08-23Add the check Fabric Config inBonkur, Venkat1-2/+5
Add the check Fabric Config in configuration-subtype after format file run and commit Issue-ID: SO-2256 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If47f81a985e6321cd84ccfc8d35c51f3ee79e1c2
2019-08-22General sonar fixesArindam Mondal1-3/+3
+) Use format specifier to log exception ++) remove unused import Issue-ID: SO-2226 Change-Id: I0938d624b918eddf30e96da4f12d7a06cc0ddfe1 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-20added in exception handling if auditResult is nullKalkere Ramesh, Sharan1-2/+8
added in exception handling if auditResult is null maven process format the file that is not formatted fix formsatting again because it failed last time Issue-ID: SO-2242 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6a83c7fe120e02e808470dbc9e7e431e0b62f4f4
2019-08-16Merge "Initial commit of validation framework to APIH"Steve Smokowski5-92/+8
2019-08-16Sonar fix in MSOCommonBPMNParshad Patel2-18/+18
Either log or rethrow this exception Remove this useless assignment to local variable "serviceInstance" Remove the declaration of thrown exception which is a runtime exception Move the string literal on the left side of this string comparison Issue-ID: SO-1841 Change-Id: I24cdd3682eddd2e5ceb7e961477a61457ef91ab2 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven5-92/+8
Move ListenerRunner to common location Adjust request params name, update junit tests Update validations to work properly Properly escape period for the string split Issue-ID: SO-2232 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia468cf7062cccf30e28afeb7a5cddc37ceb2e002
2019-08-13Merge "Removed unused CryptoHandler, ICryptoHandler and CryptoHandlerTest ↵Lukasz Muszkieta2-104/+0
classes"
2019-08-13Merge "Place diamond op in place of type spec"Lukasz Muszkieta3-4/+4
2019-08-13Removed unused CryptoHandler, ICryptoHandler andOleksandr Moliavko2-104/+0
CryptoHandlerTest classes Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I944ae9b49326257b6ddfe94687c3241e91af4de9
2019-08-13Place diamond op in place of type specsindhu36724-6/+6
Place diamond op in place of type spec MSOCommonBPMN classes Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I133a9328f5c91c61af24a57a610d36c6d6622f66
2019-08-13Merge "Use diamond op in place of type spec"Seshu Kumar M9-18/+18
2019-08-12Merge "added in mapping of aggregate routes in"Steve Smokowski2-10/+16
2019-08-12Use diamond op in place of type specsindhu36729-18/+18
Use diamond op in place of type spec MSOCommonBPMN classes Issue-ID: SO-2187 Signed-off-by: sindhu3672 <arcot.sindhuri@huawei.com> Change-Id: I8812392bbc6eac6d703ff7eeabf8e95806aab442
2019-08-11Merge changes Ia52d9db2,Iab16430bSeshu Kumar M1-0/+5
* changes: Remove unused public access modifier Add vfmodule support to e2e service instance
2019-08-09added in mapping of aggregate routes inKalkere Ramesh, Sharan2-10/+16
added in mapping of aggregate routes in bbinputsetup Issue-ID: SO-2214 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I56048eb78eb06800ec5b9c290493d502ef7435d0
2019-08-09Merge "add rainy day handling with SERVICE_ROLE and type"Steve Smokowski1-1/+12
2019-08-09Add vfmodule support to e2e service instancesubhash.kumar.singh1-0/+5
Parse vfmodule to add to resource instance list. Issue-ID: SO-2213 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Change-Id: Iab16430b498e505cd89a0ba4c12cfd2f88b9a982
2019-08-08add rainy day handling with SERVICE_ROLE and typeMnushkin, Dmitry1-1/+12
add rainy day handling with SERVICE_ROLE and type Issue-ID: SO-2205 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib85ccd787d4c8b210abb983e1f114da3d36be2b6
2019-08-07Add SO Message instead of Exception when vmIds are emptyBonkur, Venkat (vb8416)1-0/+16
Add the conditions to log messages instead of null pointer exception when vmIds or vserverIds are not present. Issue-ID: SO-2186 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I27dd8a5480cf5e2d8588cc71ca3bfefaf0e138cc
2019-08-06Added close() call for InputStream instance toOleksandr Moliavko1-1/+5
remove static analyzer warning about handle leak in getMsoAaiPassword() Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I2be9cc72f78275a80c6f03d806bea2ad275f23b4
2019-08-02ModelInstanceName is required in SNIROHomingv2 toGamboa, Gilbert1-1/+4
ModelInstanceName is required in SNIROHomingv2 to build placement demand. The source service does not have a modelInstanceName attribute, we need to set it to the service proxy modelInstanceName. Issue-ID: SO-2188 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I85c0940b17349c8dd5dc171954acf9f884ccff9f
2019-08-01Added null checks to prevent crashes atOleksandr Moliavko1-6/+12
method calls Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ie3b70aa59cf73ca6203d0f1aab1ed096af906050
2019-07-31Changed to set source service as model infoBoslet, Cory1-1/+1
Changed to set source service as model info for service proxy per sniro. Updated junit test to account for source service change. Issue-ID: SO-2179 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I43161f0109b62a895d5122a7b0aca0eea8694b16
2019-07-30Merge "Javadoc and logging improvement"Seshu Kumar M1-0/+19