aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Junit added for KeystoneAuthHolder.javaSudarshan Kumar1-0/+59
Junit added for KeystoneAuthHolder.java Issue-ID: SO-1576 Change-Id: Ib313d6a3aa01da3fc7292b2cae4ba7b0a03ebce6 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-01Merge "removed qualifiers that no longer exist"Steve Smokowski5-10/+0
2019-03-01Merge "audit poller is polling too fast"Steve Smokowski4-112/+62
2019-03-01removed qualifiers that no longer existBenjamin, Max (mb388a)5-10/+0
removed qualifiers that no longer exist in the code Change-Id: I5270b7d7dd1627066d5d5404910d0e9d355f2165 Issue-ID: SO-1588 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01audit poller is polling too fastBenjamin, Max (mb388a)4-112/+62
Fix version incompatibility in external task client Fix the openstack external task to poll slower Change-Id: I376366f4848afd1eb356f43b556b7de20961ba88 Issue-ID: SO-1587 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01vnf spin up gr api vnf s base module failsBenjamin, Max (mb388a)22-131/+246
map object representations of json back to json strings marshal all objects to json strings before sending all input params converted to Map<String, Object> Updated userParams map from HashMap<String, String> to Map<String, Object> as HashMap<String, String> userParams was causing VNF spin up to fail. Input json in Userparams was not accepted as a valid json format. Updated other files that were affected by this change. Change-Id: I0c00fc00c4c11b54ace4df7be8d5bfc80d41d130 Issue-ID: SO-1582 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-28Merge "Remove MsoLogger from 'mso-openstack-adapters'"Steve Smokowski9-709/+479
2019-02-28Remove MsoLogger from 'mso-openstack-adapters'k.kazak9-709/+479
Removed MsoLogger from adapters ('mso-openstack-adapters') Replaced MsoLogger with plain slf4j Refactored login output Fixed imports Change-Id: Id39453e1a7ec86271ffc1e7d1ce08bf413369a60 Issue-ID: LOG-631 Signed-off-by: k.kazak <k.kazak@samsung.com> Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-27Fix start upBenjamin, Max (mb388a)7-50/+14
corrected application properties Issue-ID: SO-1558 Change-Id: Ib768d7c72a64a11dbb08eea79c4c9a4f5fb970a6 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-26removed flyway from bpmn base yamlKalkere Ramesh, Sharan (sk720x)3-1/+9
Fix startup of catalog, request, bpmn and openstack Change-Id: I8e8222e410da58a62beed8cb184c90ebe73aea6c Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-26Merge "Remove MsoLogger from 'mso-openstack-adapters'"Steve Smokowski3-108/+117
2019-02-26Merge "Remove MsoLogger from 'mso-adapter-utils'"Steve Smokowski11-618/+709
2019-02-26Merge "changed to jdbcUrl and updated flyway for bpmn"Steve Smokowski6-6/+6
2019-02-26Remove MsoLogger from 'mso-openstack-adapters'k.kazak3-108/+117
Removed MsoLogger from adapters ('mso-openstack-adapters') Replaced MsoLogger with plain slf4j Refactored login output Fixed imports Change-Id: Ib9da84f659dcc57a374f9b684ce8fbf30e866d4d Issue-ID: LOG-631 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-26Remove MsoLogger from 'mso-adapter-utils'k.kazak11-618/+709
Removed MsoLogger from adapters ('mso-adapter-utils') Replaced MsoLogger with plain slf4j Refactored login output Fixed imports Change-Id: I5805427f3d6870a35f523934ceee73f17d4e130d Issue-ID: LOG-631 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-26changed to jdbcUrl and updated flyway for bpmnKalkere Ramesh, Sharan (sk720x)6-6/+6
Fix startup of catalog, request, bpmn and openstack Change-Id: I5982857c610ae46aa8690764c4f6ef99240f5088 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-26removed the duplicate BpelRestClientBenjamin, Max (mb388a)5-355/+4
removed the qualifier in the unit test that broke removed the test for bpel rest network test removed the duplicate BpelRestClient and added some logging Change-Id: I2c5007537ef51f36f0014e091a61804d6354d7d7 Issue-ID: SO-1570 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-26Merge "Removed MsoLogger from 'mso-vfc-adapter'"Steve Smokowski5-53/+56
2019-02-26Removed MsoLogger from 'mso-sdnc-adapter'r.bogacki16-178/+218
Removed MsoLogger from adapters ('mso-sdnc-adapter') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I1656776a04b322b9b8da30a3cc6aad31cd621a3e Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-26Removed MsoLogger from 'mso-vfc-adapter'r.bogacki5-53/+56
Removed MsoLogger from adapters ('mso-vfc-adapter') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: Ib7561440520bdd9e1f0257639ab52f32f9bdb98e Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-25moved flyway under spring namespaceKalkere Ramesh, Sharan (sk720x)3-20/+18
Fix startup of catalog, request, bpmn and openstack Change-Id: Iaa2c3a77f28ca67df7cc9f9b6f98e8b7e1d38181 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-25Merge "Removed MsoLogger in 'mso-requests-db-adapter'"Steve Smokowski2-17/+21
2019-02-25Merge "Removed MsoLogger in 'mso-catalog-db-adapter'"Steve Smokowski3-26/+35
2019-02-25Merge "Removed MsoLogger in 'mso-adapters-rest-interface'"Steve Smokowski9-41/+57
2019-02-25Removed MsoLogger in 'mso-requests-db-adapter'r.bogacki2-17/+21
Removed MsoLogger from adapters ('mso-requests-db-adapter') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: Ib9f929ad673e4da122524e8874d07198949eba0b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-25Removed MsoLogger in 'mso-catalog-db-adapter'r.bogacki3-26/+35
Removed MsoLogger from adapters ('mso-catalog-db-adapter') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: Ic61119892e9d4cb41498f2be2a65990f4d51bf0a Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-25Removed MsoLogger in 'mso-adapters-rest-interface'r.bogacki9-41/+57
Removed MsoLogger from adapters ('mso-adapters-rest-interface') Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I2623c14dda55ae471bc11d40345c5f91c62bd94f Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-24Prevent race conditions on same distributionId.Benjamin, Max (mb388a)2-4/+7
- Code to include optimistic lock to prevent race conditions on same distributionId. Change-Id: Ibe110b32f2472d991a4a3e03e3d15d5e4deefd65 Issue-ID: SO-1566 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-22Merge "fix potential nullpointer from sonar"Steve Smokowski2-21/+144
2019-02-22fix potential nullpointer from sonark.kazak2-21/+144
MsoMulticloudUtils: multicloudClient may be null throw MsoException if it is null (instead of NullPointer) removed unnecessary StackInfo object creation using format specifiers for a logger instead of String concatenation removed else block to make the code easier to read Added tests for the method Change-Id: I80d2e0ba2ef2d20c488cdfcf103d9cfa5784ab65 Issue-ID: SO-1516 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-21updated base yamls to properly connect to DBKalkere Ramesh, Sharan (sk720x)8-129/+135
Fix startup of catalog, request, bpmn and openstack Change-Id: I83dcd17d03c71301610ab2c8bbeb30142cc14303 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-20Cleaned up Sonar issues in AuditStackServiceDatar.bogacki1-2/+3
Removed unnecessary imports. Removed unnecessary cast to "String". Change-Id: I8b14b0f53860edb656b38914941c44003a625037 Issue-ID: SO-1537 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-18Merge "fix sonar critical bug"Steve Smokowski4-23/+83
2019-02-18Merge "fix critical sonar bugs"Steve Smokowski2-0/+12
2019-02-15fix sonar critical bugk.kazak4-23/+83
MsoHeatUtils: remove unnecessary heatClient check for null 1. sonar assumes that heatClient is nullable and NullPointer may be thrown in line 309 2. heatClient is never null: method creates a new object or throws Exception MsoHeatUtilsTest: added tests for getHeatClient and createStack methods BaseTest: made CloudIdentity and CloudSite getters protected for other tests to use them StubOpenStack: added stubs for getStack and unsuccessful authorization removed unused imports Change-Id: Ie62c89f55d1894df48d9cc4d14760d36e96c4cb2 Issue-ID: SO-1516 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-14fix issue where we attempt audit with no serversBenjamin, Max (mb388a)5-5/+53
fix issue where we attempt audit with no servers Change-Id: I47f76121c616bf65a5f8be73910adcc0d7088bdb Issue-ID: SO-1513 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-14Merge "cloud config migration from openstack to catdb"Steve Smokowski8-196/+39
2019-02-14Merge "Remove un-needed cacheing layer for OS Clients"Steve Smokowski3-147/+2
2019-02-14fix critical sonar bugsk.kazak2-0/+12
Restore interrupted state when InterruptedException is thrown in SDNCRestClient Added test for this case Replaced formatting anchor with text empty object in GraphInventoryResultWrapper Escaped anchor is also considered as bug by sonar Case is already covered in AAIResultWrapperTest Marked comparison of the same object as false positive in EqualsAndHashCodeTester Added clearer comment to this comparison Change-Id: I24496c2323c33599db99a3d3b59fc4f6a008cf1f Issue-ID: SO-1492 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-13Strip off TenantId from self link urlBenjamin, Max (mb388a)2-22/+33
Strip off TenantId from self link url Change-Id: I58ac9fe693059eb8cb93d85fb88604cb9c0a0db2 Issue-ID: SO-1502 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-13Remove un-needed cacheing layer for OS ClientsBenjamin, Max (mb388a)3-147/+2
Remove un-needed cacheing layer for OS Clients Change-Id: I7fbb6e23a3c34f65286202ec4dad1fb051991cf0 Issue-ID: SO-1500 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-11Merge "fix cvnfc bean and repository access"Steve Smokowski2-4/+104
2019-02-08fix cvnfc bean and repository accessBenjamin, Max (mb388a)2-4/+104
update repository id field type for fix cvnfc bean and repository access Change-Id: Ic4785387ffdbb544e649d9e7be40aed5e0ab9502 Issue-ID: SO-1489 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08Remove resources that are not neutron networksBenjamin, Max (mb388a)2-2/+25
Remove resources that are not neutron networks Change-Id: Ie136895f95273e53f86201fe3b58a12fa27c8fe6 Issue-ID: SO-1486 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08Merge "provide correct custIds"Steve Smokowski2-0/+150
2019-02-06store raw distribution notification in dbBenjamin, Max (mb388a)1-0/+6
updated the test case to verify ASDC notification sent is the same as one persisted in the DB and verified it updated the test case to verify ASDC notification sent is the same as one persisted in the DB Added unit test case for WatchdogServiceModVerIdLookup changes Updated test resources schema.sql and data.sql to include changes to watchdog_service_mod_ver_id_lookup table Added length to consumer id column with WatchdogServiceModVerIdLookup class ASDC Controller has been enhanced to include the notification message and consumer id as part of existing table watchdog_service_mod_ver_id_lookup. Change-Id: Iee805761ffc16f456d068c44b53804a7febc7933 Issue-ID: SO-1475 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-05provide correct custIdsBenjamin, Max (mb388a)2-0/+150
correct variable name and use bean comparison included object assertion in junit on catalog client update test name to reflect return value fix cvnfc query by 2 customization uuid relationships provide customization ids to module query input Change-Id: I99df11c417230e398f86554d889a40e9d157544c Issue-ID: SO-1466 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04cloud config migration from openstack to catdbBenjamin, Max (mb388a)8-196/+39
remove the wait and sleep code in migration move cloud config migration from openstack to catdb Change-Id: Id887a37ce12665e5d8a604308ea251744529491c Issue-ID: SO-1461 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04Clean up Unit tests for auditBenjamin, Max (mb388a)16-344/+342
Fix file names to adjust for case sensitivity Clean up Unit tests for audit Change-Id: I839b8a55d47c545cfd54c4c81eecda098b847fce Issue-ID: SO-1462 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04Merge "add in a retry function for cloud config migration"Steve Smokowski1-1/+16