summaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06updated delete payloads for bulk deletesBenjamin, Max8-20/+60
updated delete payloads for bulk deletes moved test-request.json to the correct location Issue-ID: SO-2203 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8d9d4d0bbe45f32d4e07a1ba0128e627d3b27795
2019-08-01Handle no pservers case on lock checkElena Kuleshov2-4/+13
Check for null return value from pservers query Issue-ID: SO-2184 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I34c71601e694241a6d3cfefa8227200e715e2ed3
2019-07-23Merge "Enhanced List Level flow with backward support"Seshu Kumar M1-0/+12
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany2-2/+31
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-07-02Enhanced List Level flow with backward supportsarada prasad sahoo1-0/+12
Modified the e2e service instance flow to support both new list types groups along with backward compatibility to support old types alloted resources, network etc. Change-Id: Ie8fc8a4550a90b44736b6b9de058e2a2e187570c Issue-ID: SO-1393 Signed-off-by: sarada prasad sahoo <sarada.prasad.sahoo@huawei.com>
2019-07-01support new query param formatChan, Mercy3-1/+98
- added format query parameter (optional), implemented logic to populate requestStatus field based on whether or not format is present moved request status constants to its own class visible globally. - changed @requestParam to @QueryParam in GET endpoint (OrchestrationRequests class. updated unit tests to call method being tested directly rather than from another private function - moved setting requestStatus to a separate method, also updated unit tests to separate out each scenarion into its own method - added unit test for when format=detail, corrected existing unit tests to test result to be FAILED - updated Status.java to include extra request status values; moved Status class to common org.onap.so.constants package Change-Id: Ic593de5fdfdcbc3121f481c86d1e261406082260 Issue-ID: SO-2080 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27Merge "Update failsafe dependency to 2.0.1"Steve Smokowski5-27/+44
2019-06-27Update failsafe dependency to 2.0.1Benjamin, Max5-27/+44
Updated calls to failsafe 2.0.1 API Change-Id: I2c86ca02d56a07262e330ee5f8f088d1a1f5b4a7 Issue-ID: SO-2057 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-27add rollback ext system error sourcePlummer, Brittany1-1/+12
Added rollbackExtSystemErrorSource column and updated GET orchestrationRequests response Added missing columns from requestDb to schema.sql Change-Id: I2380f08b9bb1c86922e8faea70454df722c0873a Issue-ID: SO-2054 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-20Merge "update apih to accept new uri parameter"Steve Smokowski1-1/+12
2019-06-19changed hikari dependency to java based oneBenjamin, Max (mb388a)1-5/+15
clojure dependency used by accident, replaced with HikariCP Change-Id: I25b9f75d8be061fb3ac3d7737e9a58883a801425 Issue-ID: SO-2038 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18update apih to accept new uri parameterChan, Mercy1-1/+12
added extSystemErrorSource queryparam flag to getOrchestrationRequest endpoint. added junit tests for the protected method that maps external system error source to request object being returned. added junit tests to test mapExtSystemErrorSourceToRequest method with extSystemErrorSource flag Change-Id: If5c9a41938d4cc922c26f7d64e3a839b6547556f Issue-ID: SO-2035 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)4-0/+121
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-15Merge "Validate names before writing to A&AI"Max Benjamin1-0/+2
2019-06-15Merge "update multi stage code to accurately skip bbs"Max Benjamin7-0/+140
2019-06-15Merge "dmaap client using wrong auth property"Max Benjamin1-5/+5
2019-06-14Validate names before writing to A&AISangalang, Felix1-0/+2
Validate name for InstanceGroup, Configuration and Network. Change-Id: I494749e17a40c6c0cdd51dd28d9c9bca371410ac Issue-ID: SO-2022 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max7-0/+140
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14dmaap client using wrong auth propertyBoslet, Cory1-5/+5
Changed dmaap client to set auth property correctly to prevent double decryting and wrong value Change-Id: I83dc8c67e94a8bec187c056e7dfa1f966cc5ee3c Issue-ID: SO-2019 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14use count format and limit one for existsBenjamin, Max3-17/+5
use count format and limit one for exists Change-Id: If15ccf0a63bf6fd5e732eb150bfdbed22c5a3f1d Issue-ID: SO-2017 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-11Updated sdno to use msokey config propertyBoslet, Cory1-3/+3
Updated sdno to use msokey config property instead of one that doesnt exist Change-Id: I7f1bc39ae1dae3f6b0cab8c05c97950f45c83f71 Issue-ID: SO-2009 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10replaced String.repeat with static final stringsBenjamin, Max4-8/+37
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-06Accommodate WAN NetworkingGamboa, Gilbert2-2/+4
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
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-13Fix common ccsdk dependency and buildMarcus G K Williams1-1/+1
Issue-ID: SO-1874 Change-Id: I898049fc986abef8c7eba0c402088686ecb20b34 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-13Fix common ccsdk dependency and buildMarcus G K Williams1-1/+1
Issue-ID: SO-1874 Change-Id: Ie151de0e2a0a0354a988e0d23deb77cd2a66a930 Signed-off-by: Marcus G K Williams <marcus.williams@intel.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