aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCoreBPMN/src/main
AgeCommit message (Collapse)AuthorFilesLines
2021-06-30Fixing XML parsers security bugwaqas.ikram1-9/+12
Change-Id: I1fbf2b2bd42669d9a3c059c32bb39278bd483d60 Issue-ID: SO-3668 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-28Fixing XML parsers sonar issuewaqas.ikram1-13/+17
Change-Id: Id67c01bbe19057902127e8a66ba0382589789537 Issue-ID: SO-3665 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-11-06Updated bean for homingBoslet, Cory1-0/+1
Updated bean for homing Issue-ID: SO-3371 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77e6a0591c0d80180cd9a807fac76e9b7d214b80
2020-10-21Update Resource BeanBoslet, Cory1-0/+9
Add original service resource id field Issue-ID: SO-3324 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73703b50cc61669eb40b1516f7ce90639ca87ba2
2020-09-28Update NSMF allocate workflowhetengjiao1-0/+11
Issue-ID: SO-2963 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com> Change-Id: Ia4c2fdc15a1fa44de064559cb39af46336e3f5ca
2020-08-20Get id from conductor for auto and speed changeBoslet, Cory1-0/+9
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-03-20resolve CSMF ServiceDecomposition problemhetengjiao1-25/+49
Issue-ID: SO-2754 Change-Id: Iddcc69629a6f69d51ad7696d147bafad9121c078 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
2020-03-04Add service beans in bpmnzm3302-0/+175
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I64cfa0cbb55a6609289fba70b2419dd628583ad5
2020-02-26Add DeallocateNSSI Sub-processzm3301-0/+119
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Ibf443a3d490e48d397f1f3240207b5c00b92695f
2019-09-10Integrate Logging LibraryPlummer, Brittany1-5/+5
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-22General sonar fixesArindam Mondal1-1/+0
+) 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-09All extendable enums should be serializableBenjamin, Max (mb388a)1-1/+1
marking items as transient causes them to be lost Issue-ID: SO-2217 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If66f9034b67f94c8122875ef915043525fb9bdb7
2019-08-08remove not used BaseTask classLukasz Muszkieta1-422/+0
BaseTask class serves only as JavaDelegate implementation provider, should be removed Change-Id: I46f56cb850d12e4ef395db9429297d05f3a51b37 Issue-ID: SO-2187 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-08-08Fix sonar issues in MSOCoreBPMNParshad Patel3-21/+14
Either log or rethrow this exception Make "serviceParams" transient or serializable Make "extSystemErrorSource" transient or serializable Issue-ID: SO-1841 Change-Id: If752c7898a0934212d425b1c80b8d2ee34098ad3 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-08-01Fixed potential crashes due to null objectOleksandr Moliavko1-8/+23
dereference attempts in exception handlers Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I9882171b47b6442fa8ca12110d8ef23fc975347b
2019-07-12Major Sonar fixesr.bogacki1-1/+1
Major Sonar fixes in different classes: -Removed unused variables. -Simplified diamond operators. -Removed unnecessary imports. -Removed unnecessary code. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: Ib54fbe048700a4e31042481f0a9b13838552aee7
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany1-1/+26
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-17Sonar fixes and improvementsr.bogacki3-11/+8
General fixes and improvements according to the Sonar analysis. -Fixed imports. -Improvements in diamond operators. -Removed unnecessary code. Issue-ID: SO-1992 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I9345b6ab0f4027b17e1bebf0b6657394c13dc298
2019-06-06Improvements in ServiceDecompositionr.bogacki1-13/+12
Improvements in ServiceDecomposition according to the Sonar analysis. -Fixed imports. -Replaced System.out with logger. -Simplified if statements. -Removed unused code. Issue-ID: SO-1997 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: If7c399635fffef5bc75b10c7d93be4b27e097bd7
2019-05-07Update the format of resourceInputzm3302-2/+2
Save format when resource is list type e.g. {key2:[vf_prop_list,INDEX,key]|default} Issue-ID: SO-1393 Change-Id: Ibb5e7bb31114fa3bbd7a3e1af5f2152a98941a4b Signed-off-by: zm330 <zhangminyj@chinamobile.com>
2019-05-02Modify instance resource list creationsubhash kumar singh2-0/+16
Modify instance resource list creation to avoid hard locking of model name in UUI request. e.g. VF resource and gruop resource has resource input vf { resource_input : { key1:value2, key2:[vf_prop_list,INDEX,key]|default} Derive the key ("vf_prop_list") from resource input and use this info to map UUI request. UUI req: { ... resourceInput: { vf_prop_list : /// mapped with resource input of resource { .... Change-Id: Ic40079a094b2628bcf6f5758121b7492ee3c1353 Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-27Enhance resource sequence to add groupsubhash kumar singh2-1/+12
Enhance resource sequence to add group. Change-Id: I9f7ad2a437cd66ba3b8382f3937b0b04752a184a Issue-ID: SO-1393 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-27Enhanced Service decomposition to handle gruopsubhash kumar singh4-1/+88
Enhanced Service decomposition to handle gruop and vnfcs Issue-ID: SO-1393 Change-Id: If28416e4776f2ff645abdd0d1059d28c9ca6e52f Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-27Merge "Removed imports and defined a constant. Removed imports and defined ↵Seshu Kumar M2-15/+9
constant and combined exception in single catch block. Issue-ID: SO-1490"
2019-04-26Removed JsonIgnore for resourceInputsubhash kumar singh1-1/+2
Removed JsonIgnore for resourceinput, it was earlier made @jsonIgnore to fix mapping (SO-1358). Change-Id: I7eb7160be220d445bec396d4c5eb3fd913e66f9e Issue-ID: SO-1816 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-26Removed imports and defined a constant.NITIN KAWA2-15/+9
Removed imports and defined constant and combined exception in single catch block. Issue-ID: SO-1490 Change-Id: Iefeb59de5b5e32b06908e62ba24a1bc00892ce1d Signed-off-by: NITIN KAWA <nitin.kawa@huawei.com>
2019-04-26Removed unused imports and rearranged variablesNITIN KAWA2-13/+13
Removed unused imports and moved variables to comply with Java Code Conventions. Issue-ID: SO-1490 Change-Id: Iabf605fde63638244c2c4fd52e4787863512ee57 Signed-off-by: NITIN KAWA <nitin.kawa@huawei.com>
2019-04-10Re-commit some changes which were lostBenjamin, Max (mb388a)1-9/+0
remove unused code Issue-ID: SO-1767 Change-Id: I12b8295ae4a5bc9e9154c8ccd1bb53f70886f929 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)37-3615/+3761
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Removed BPMNLogger classWitold Ficio Kopel2-70/+28
The BPMNLogger class has overlapping use to preferred solution based on slf4j and logback - thus has been replaced by it. Change-Id: I9889d4b9ab06f28941f0d827df889e3c081155da Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-02-28Removed MsoLogger from 'MSOCoreBPMN' IIr.bogacki1-7/+8
Removed MsoLogger from adapters ('MSOCoreBPMN') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: Ie527c56f3dd97f26c7d7b7ea947a853fc63a1157 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-26Removed MsoLogger from 'MSOCoreBPMN'r.bogacki5-124/+117
Removed MsoLogger from adapters ('MSOCoreBPMN') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: Ida6bc00d6b179d712716213ad514d2fb3faeacc1 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-01-28Merge 'origin/casablanca' into masterBenjamin, Max (mb388a)6-15/+59
Issue-ID: SO-1435 Change-Id: If065ef5c91e769452fd6701fa6c28a23b4bdf2b2 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-01-08Fix json parsing of resource inputsubhash kumar singh4-1/+44
Fix json parsing of resource input by adding escape character. Change-Id: Ic19bd5dae5eea25faaeae2df3eb0bcc29482ea7c Issue-ID: SO-1358 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-01-06Merge "Remove Swagger UI"Seshu Kumar M1-1/+2
2019-01-02Sonar:CriticalManamohan Satapathy1-3/+3
CompareModelsResult.java:L31,L32 & L33 Issue-ID: SO-1356 Change-Id: I0afd0c5e12e63c7758238dd50968e4b2a926237d Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
2018-12-11Skip cloud regions and fix macroKalkere Ramesh, Sharan (sk720x)1-0/+14
changed aai create tasks to use env instead of urn prop write serviceInstanceId from resource when exec is null Change-Id: I2c0acbeeded2b8a4b0afb0f27d65e24fa48b907b Issue-ID: SO-1329 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-11-29Remove Swagger UIBenjamin, Max (mb388a)1-1/+2
Remove Swagger UI due to security scan concerns Change-Id: I8c8a0f57f0e91af13280bbb260a67877017b6513 Issue-ID: SO-1227 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-11-21Fixing JsonMappingException issueShinu John1-12/+13
Change-Id: I6654464a85152058787e5ce2530c0cf332c8e6e0 Issue-ID: SO-1236 Signed-off-by: Shinu John <shinu.john@ericsson.com>
2018-11-12Fix OOF Directives processingMarcus G K Williams1-2/+2
- Various fixes to process OOF directives correctly - Add orchestrator userParam Processing to ala carte and vCPE path to ensure multicloud adapter can be called when homing - Fix JsonUtils to accept json object as well as strings - Adds JsonUtils unit tests to ensure json object code works correctly and didn't break previous func. - Fix OOF Homing codes processing of OOF response to match Casablanca response from OOF (including OOF directives) - Add CloudIdentity get and put to catalogDBClient, along with junit tests - to enable creation of cloudSites - Fix serviceResourceId check Issue-ID: SO-1203 Change-Id: Ice9a9d1da2ce0cd4bd11029e3669b30d658fe359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-11-01Fix msb url in homing cloudsiteMarcus G K Williams1-0/+4
This change adds a getMsbHost method to homingUtils to enable correct configuration of the msburl used in identity_services for multicloud. Issue-ID: SO-1180 Change-Id: Ib7adecda98b1d5f5770e2d17a2e76c970619ab46 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-09-20Update OofHoming w/ directivesMarcus G K Williams2-62/+5
Issue-ID: SO-746 Change-Id: I597f7621a32eeb5b8e92cf80700c60bccdc5e560 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-08-23update field in service decomp objectBenjamin, Max (mb388a)1-1/+1
removed duplicate json test file and updated existing update ServiceDecompoition serviceNetworks field Change-Id: Iea3dc7efe4edb8ba32e45772fd9d77d9e7fc0ef6 Issue-ID: SO-887 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-21updated ServiceInstance POJOBenjamin, Max (mb388a)1-3/+16
added new fields to pojo for groovy compatibility Change-Id: If88a9b51d506d6937bbd431c641410cc4ba07c9e Issue-ID: SO-878 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)51-5532/+3627
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-27Sonar major issuesSumapriya Sarvepalli1-12/+12
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?fileUuids=AWHCr-EXEU5FCDfKtlqk&id=org.onap.so%3Aso&resolved=false&severities=MAJOR Location: src/main/java/org/openecomp/mso/bpmn/core/json/JsonUtils.java Line No: L39 L75 L112 L338 L473 L536 L555 L715 L736 L756 L794 L844 Change-Id: I6cbecd22eff2d86911405811686619771ac3f74e Issue-ID: SO-762 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-05-24Fix problem with singleton and parallel unit testsBogumil Zebek1-0/+4
Change-Id: If4236506978795933564fc6507e780212edbfd5d Issue-ID: SO-641 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-04-09Bug Fix - OOF api updates processing flavor-labelMarcus G K Williams3-1/+68
Additional API interactions were added to OOF response post API freeze that enable core HPA functionality. This patch updates the processsing of the API reponse to process additional flavor parameters. Issue-ID: SO-408 Change-Id: I1656a7ba955ab41c57b7a3e07a3d0cc38b16e2fa Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-27Refactor homing flows for OOF/HPAMarcus G K Williams2-142/+149
1. Split Homing into OOF and SNIRO versions 2. Added OOF API interactions 3. Added Unit tests for OOF Homing Code Issue-ID: SO-404 Change-Id: Ifeeeec9ea450d8b330110a565208ed89a1e18cde Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-23add ResourceModelInfo CompareModelsResult javaYulian Han2-0/+111
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0641e9 Issue-ID: SO-419 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>