summaryrefslogtreecommitdiffstats
path: root/common/src
AgeCommit message (Collapse)AuthorFilesLines
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski4-62/+68
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Cleaned up duplicated literalsrob.bog3-7/+10
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-31apih resume request handling more genericPlummer, Brittany3-10/+129
getInstanceName throws exception if requestScope doesn't match modelType Updated to combine separate return statements Replaced if statements for modelType and added tests Replace if statements for modelType in ResumeOrchestrationRequest and added tests Added coverage for setId in ModelType Updated to use ModelType setters/getters model type can now get and set generically Added modelInfo to RequestBody for resume request Added getModelType call and unit tests Moved getModelType from ServiceInstances Moved getModelType and added unit tests Added tests for getIsBaseVfModule Added more tests for isBaseVfModule Began adding tests for getIsBaseVfModule Updated currentActiveRequest creation and isBaseVfModule Updated recipe lookup and setting of aLaCarte to be more general Updated concurrency control to include other resources Change-Id: I12ad011d0a021c3ee066e16b4c8a4526d040cbe3 Issue-ID: SO-1963 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31Merge "Corrected enum formatting by plugin"Steve Smokowski7-18/+245
2019-05-31Corrected enum formatting by pluginBenjamin, Max (mb388a)7-18/+245
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31apih to populate original request idPlummer, Brittany1-2/+10
Updated schema.sql to fix failing tests Added constants for request parameters Added originalRequestId to be saved on resume request Added originalRequestId to orchestrationRequests response Change-Id: If2b86d233ee3db9bbe0e1185d92874bca2b3a07a Issue-ID: SO-1960 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-29Fix UriBuilder import in OofUtilsMarcus G K Williams1-1/+1
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-22HttpLookupUri is now serializable againBenjamin, Max (mb388a)2-3/+66
cachedValue is now transient added custom serialization created serialization unit test for ServiceInstancesUri Change-Id: Idbc414a8483a4eae9c93ae8b06a1e77cbe683ca8 Issue-ID: SO-1906 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-17Initial checkin of updates for vf module replaceSmokowski, Steven1-7/+21
fix toString method and add unit tests for new code Fix Null pointer issue in UT, extra chars Initial checkin of updates for vf module replace Change-Id: I2d62f5c2077cd022ccf796d126494e526ad48c54 Issue-ID: SO-1893 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-05Resume APIH FunctionalityPlummer, Brittany2-4/+5
Updated license for 2019 and added null check test Moved record creation to RequestHandlerUtils Updated uri retrieval to obtain full uri Updated verify based on actual objects Renamed tests for better description Removed use of Spring in unit tests Moved constant to other logger files Added new class to JerseyConfiguration Separated resume request work to separate file Updated value that progress is saved as in db Added new original_partner_name key for partnername retrieval Added column for progress to be saved to db Added additional columns to be saved to requestDb Added inProgress request check to resume Change-Id: I9ef1e61829be49da348b29bc255beb073b48639d Issue-ID: SO-1831 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-02Fixed issues found in integration testingMichaelMorris1-1/+1
Issue-ID: SO-1814 Change-Id: Ica6929e10cb40d535657eefc9786090af996ba32 Signed-off-by: MichaelMorris <michael.morris@est.tech> (cherry picked from commit df6508f90ffb0247b94a7357035e36af61b4f207)
2019-04-28Store Cloud Request in DatabaseSmokowski, Steven2-1/+73
Store Cloud Request in Database, add to request service Add query Param to Plural to include cloud data Change-Id: If906d28d0dc9c0c804e550e2074af3d75ba46d32 Issue-ID: SO-1807 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-26Merge "Removed generic type from right triangle. Removed generic type from ↵Seshu Kumar M1-1/+1
right triangle which is not recommended after java 7 Issue-ID: SO-1490"
2019-04-26Merge "Fixed issues found in integration testing"Seshu Kumar M1-1/+1
2019-04-25Merge "Add SO update config file -application.yaml file"Steve Smokowski1-0/+89
2019-04-25Fixed issues found in integration testingMichaelMorris1-1/+1
Issue-ID: SO-1814 Change-Id: Ica6929e10cb40d535657eefc9786090af996ba32 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-25Removed generic type from right triangle.NITIN KAWA1-1/+1
Removed generic type from right triangle which is not recommended after java 7 Issue-ID: SO-1490 Change-Id: I350be426a47e83246d248e8c31c786740bded1d9 Signed-off-by: NITIN KAWA <nitin.kawa@huawei.com>
2019-04-21Status message for create vf module event auditBenjamin, Max (mb388a)2-0/+102
Added appc to application-test due to new dependency in openstack Updated exception class to inject mock into class for junits. Added error handling support for when create audit fails. Added error handling for when create audit fails and added test Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Updated locaton of pojos for audit code Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Comitting files that i forgot to stage from previous commit Updated locaton of pojos for audit code Additional fixes including vnfcname and null check Fixed bug in delete audit failure check and reverted gateway change. Change-Id: I993ce377dd6407960a65b4940d83d8162b24633c Issue-ID: SO-1792 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-20Moved base client to new locationBenjamin, Max (mb388a)1-0/+89
Change-Id: I0d8ab71393935ca791d37bb23340f96b921f5505 Issue-ID: SO-1791 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-20Merge "Added constant for maxElapsedTime"Seshu Kumar M1-1/+2
2019-04-20Merge "change modifier order,remove unused import"Seshu Kumar M3-4/+2
2019-04-20Merge "Move String literal to left-hand side of equals"Seshu Kumar M1-2/+2
2019-04-20Added constant for maxElapsedTimeSindhuri.A1-1/+2
Added constant for maxElapsedTime DmaapConsumer.java Issue-ID: SO-1490 Change-Id: Ifed2ea57eb4cfb42fc7a34ebf7bfd2c8954b05b0 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-20Merge "change modifier order,replacce type specification"Seshu Kumar M2-3/+2
2019-04-20Merge "Shift String literal to left-hand side of equals"Seshu Kumar M1-3/+3
2019-04-20Merge "Replace type specification"Seshu Kumar M4-4/+4
2019-04-20Merge "Replace type spec, shift modifier order"Seshu Kumar M1-2/+2
2019-04-20Shift modifier order, Replace type specSindhuri.A2-3/+3
Shift modifier order, Replace type spec sdno beans classes Issue-ID: SO-1490 Change-Id: Ie1190d668fcb7d491dce7982b0b9393ca4d76b17 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-20Replace type spec, shift modifier orderSindhuri.A1-2/+2
Replace type spec, shift modifier order RequestHealthDiagnostic class Issue-ID: SO-1490 Change-Id: I3255e164ebd839200e836de85764276e32d1cb48 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-20Replace type specificationSindhuri.A4-4/+4
Replace type specification sdno beans and openpojo rules classes Issue-ID: SO-1490 Change-Id: I0076da23e467e178159b404335d3990a9adf301f Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Shift String literal to left-hand side of equalsSindhuri.A1-3/+3
Shift String literal to left-hand side of equals DSLNodeKey class Issue-ID: SO-1490 Change-Id: If9c15394876e8e662fc10501c90382861dfbced9 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Move String literal to left-hand side of equalsSindhuri.A1-2/+2
Move String literal to left-hand side of equals DSLNodeKey class Issue-ID: SO-1490 Change-Id: Ie8b1b12aaf38bbb0f1f37a56f375ab4c002d6407 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19change modifier order,replacce type specificationSindhuri.A2-3/+2
change modifier order,replacce type specification Body.java Issue-ID: SO-1490 Change-Id: Ia3fc26f924c9a991eb8415aa5939d2757540b0de Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19change modifier order,remove unused importSindhuri.A3-4/+2
change modifier order,remove unused import SImpleUri class Issue-ID: SO-1490 Change-Id: I3b4e0a690e4842539fd3dba0385fc5a5e9812bd5 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Merge "Shifted getter setter for CustomQuery class"Seshu Kumar M1-9/+8
2019-04-19Merge "Remove unused imports for client,logging classes"Seshu Kumar M10-24/+0
2019-04-19Merge "Shifted access specifier order for AAIVersion"Seshu Kumar M2-2/+1
2019-04-19Merge "Unused imports removed for mso common classes"Seshu Kumar M4-6/+0
2019-04-19Merge "Remove unused imports for mso common classes"Seshu Kumar M3-5/+0
2019-04-19Remove unused imports for client,logging classesSindhuri.A10-24/+0
Removal of unused imports for client,logging classes Issue-ID: SO-1490 Change-Id: I812e94f97bcba046cdbf253563f9e1addc05972f Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Shifted access specifier order for AAIVersionSindhuri.A2-2/+1
Shifted access specifier order for AAIVersion, remove unused import Issue-ID: SO-1490 Change-Id: Iae8b1e2ca0eb1140e1593bb8cb6f533f7048ca4a Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Shifted getter setter for CustomQuery classSindhuri.A1-9/+8
Shifted getter setter after constructor call for CustomQuery class Issue-ID: SO-1490 Change-Id: I5f836ad6e354610988f9a44bfbc1b2094c3b5cea Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Unused imports removed for mso common classesSindhuri.A4-6/+0
Remove unused imports for so client aai classes Issue-ID: SO-1490 Change-Id: Id5085178a14c500eb1e4f39f7e97ad9336489b0e Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Remove unused imports for mso common classesSindhuri.A3-5/+0
Remove unused imports for mso common classes AAIClient, AAIRestClient Issue-ID: SO-1490 Change-Id: I7ca5713feaeda5b28464cdd5d0700fecf1c022ec Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Remove unused import for RestClient.javaSindhuri.A1-1/+0
Remove unused import for so client RestClient class Issue-ID: SO-1490 Change-Id: Iaeea5b070f6b8fcf4eba24c540d7b94638188f99 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-16License agreement changesSunilB2-22/+38
License agreement changes Issue-ID: SO-1481 Signed-off-by: sunilb <sb00577584@techmahindra.com> Change-Id: I475d25bb040907a0c48b579f6d3091c41ccfec25
2019-04-12Remove hardcoded literalsk.kazak1-6/+8
Remove unused hardcoded literals Fix sonar issues with potential hardcoded password literal Change-Id: I4e2cf1f731e8cc2ee9914480d6422e00db276d65 Issue-ID: SO-1788 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-04-11AAI url addition for Metadatumsubhash kumar singh2-0/+5
AAI url addition for Metadatum for BBS requirement. Change-Id: I37a5d12c83d758b69506dc0128601cdb358f4f4a Issue-ID: SO-1578 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)324-12009/+11669
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-04-04Notification handling for instantiateMichaelMorris1-0/+1
Issue-ID: SO-1629 Change-Id: I3ef8aae6f40c83600b723d5c8a5e8a2c7d7b1516 Signed-off-by: MichaelMorris <michael.morris@est.tech>