aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2019-03-14Cleaned up content of MsoLoggerr.bogacki1-9/+0
Cleaned java and groovy code from 'getServiceName' method in MsoLogger. Change-Id: I23c3fc8005db5f89e94b87271bb60b7bcce72064 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-14Reduced content of MsoLoggerr.bogacki1-28/+1
Cleaned java code dependencies for 'setLogContext' and 'getServiceName' methods from MsoLogger. Fixed imports. Change-Id: I33251c837088ce580ffa1c44e69766c77283004b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-13Merge "Openstack adapter can't resolve HEAT parameter"Steve Smokowski14-44/+204
2019-03-13Openstack adapter can't resolve HEAT parameterBenjamin, Max (mb388a)14-44/+204
only cast to Element if value is of that type added XmlAccessorType annotations to classes map of string, object now correctly maps with jaxb Null comma delimited lists can convert to null as well Handle null values all types in input parameters map. Change-Id: Ic46ed31c05b8f8551d39b2267ae731829abfc1f0 Issue-ID: SO-1617 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-13Merge "Removed MsoLogger from UUIDChecker"Steve Smokowski2-52/+7
2019-03-13Updated from 'timeStamp' to 'timestamp'Benjamin, Max (mb388a)2-3/+50
Updated from 'timeStamp' to 'timestamp' in RequestStatus Change-Id: I863c87126e4a58179d82e6fe5d524d72ef57b4f1 Issue-ID: SO-1643 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-13Removed MsoLogger from UUIDCheckerr.bogacki2-52/+7
Cleaned UUIDChecker from MsoLogger. Fixed imports. Change-Id: Ieecea2fcd08025f950025f3bf8a679dee1626a25 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-11Merge "Cleaned up MsoLogger class"Steve Smokowski1-78/+2
2019-03-11Cleaned up MsoLogger classr.bogacki1-78/+2
Removed setServiceName method from MsoLogger. Cleaned up unused methods from MsoLogger. Change-Id: I1fe033ed25dda32c07693a5087bf65de3ecc229c Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-09connect objects with specific aai edge labelBenjamin, Max (mb388a)1-2/+2
connect vnr configuration to service instances with AAIEdge Change-Id: I88ca7ae1a4f3f8e9628141256d4703ae43518ef2 Issue-ID: SO-1614 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-07Merge "Add support for CDS basic-auth"Steve Smokowski4-2/+64
2019-03-07add equals and hashcode support to dslquerybuilderBenjamin, Max (mb388a)4-12/+58
added equals and hashcode support to dsl query builder Change-Id: I8affdd5da489e5aeacb5682ba83320a9d99c211d Issue-ID: SO-1598 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-06query clients now have more useable result methodsBenjamin, Max (mb388a)20-26/+390
ResourceAndUrl now outputs the correct wrapper type query clients now have more useable result methods Change-Id: I000f8a7e7d4e204d1da7ad1c6bb5ce3e2d0135b2 Issue-ID: SO-1596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-06Add support for CDS basic-authAlexis de Talhouët4-2/+64
Change-Id: I22834f989afb748917aa2099b1da78c5f794bbe5 Issue-ID: CCSDK-1055 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-06Merge "Fix Build"Marcus Williams1-1/+1
2019-03-06Fix BuildSmokowski, Steve (ss835w)1-1/+1
Fix build, AAI dependency has been incremented Issue-ID: SO-1600 Change-Id: I5bccdc5a40ca513905ee3b69d96662e6ff9889dc Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-02-28Merge "Added Junit for GRMClientCallFailed.java"Steve Smokowski1-0/+36
2019-02-28CorrelationId cleanupJoanna Jeremicz1-11/+0
Remove old correlationId field and references from ServiceInstancesRequest and rename correlationId to pnfCorrelationId Change-Id: I5d8861aebe14c68574b6c54bc8d4eadf2967478b Issue-ID: SO-1274 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-02-28Added Junit for GRMClientCallFailed.javaSudarshan Kumar1-0/+36
Added Junit for GRMClientCallFailed.java Issue-ID: SO-1576 Change-Id: Ia05c40399a400af8536732f172b0bb47691002f5 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-26Merge "Add CDS client"Steve Smokowski9-163/+721
2019-02-26Add CDS clientAlexis de Talhouët9-163/+721
Change-Id: I3f77a2c9e8341239b97675f5897cecf28c7dfb6f Issue-ID: SO-1483 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-26do not attempt to commit empty transactionsBenjamin, Max (mb388a)3-19/+21
do not attempt to commit empty transactions Change-Id: I0db4f87449e7362dbbc2dc6ccfffca9f75c077eb Issue-ID: SO-1569 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-25Merge "Added Junit For DMaaPConsumerFailure.java"Steve Smokowski1-0/+36
2019-02-25Merge "Removed MsoLogger from SO 'common' module"Steve Smokowski7-33/+58
2019-02-25Merge "Update long poll DMaaP timeout value to 55 seconds"Steve Smokowski1-1/+1
2019-02-25Added Junit For DMaaPConsumerFailure.javaSudarshan Kumar1-0/+36
Added Junit For DMaaPConsumerFailure.java Issue-ID: SO-1480 Change-Id: I1eff422baaf4e4475e3989d34f5dd591b1bfe4b1 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-25Removed MsoLogger from SO 'common' moduler.bogacki7-33/+58
Replaced MsoLogger with plain slf4j. Refactored login output. Change-Id: I3ff1882406782d64cf0f572c574ab1068449f76b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-24Update long poll DMaaP timeout value to 55 secondsBenjamin, Max (mb388a)1-1/+1
Update long poll DMaaP timeout value to 55 seconds Change-Id: I19e5b19e81e202933478ce9c7c1c6f96d89125ec Issue-ID: SO-1567 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-24Remove deprecated code that duplicates enabledBenjamin, Max (mb388a)1-18/+1
Remove deprecated code that duplicates enabled parameter Change-Id: I286ba0e4239207fca3aab30e6c9a159baea92fc5 Issue-ID: SO-1565 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-22remove payload logging from metric/audit sideBenjamin, Max (mb388a)4-35/+38
fixed unit test after changing how entities are read remove payload logging from metric/audit side Change-Id: Ibfe7cf96c76920926e9ae9ce5041389324d09b46 Issue-ID: SO-1564 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-22Merge "assignvfmodulebb must send use-preload"Steve Smokowski1-11/+17
2019-02-20Continue to separate AAIClient into GraphInventoryBenjamin, Max (mb388a)7-123/+256
added narad specific relationship implementation add mapper to narad rest client wrapper now returns correct relationships type equals now longer only works on AAIUris Change-Id: I12325f76ae08659ffe744a56f5e6b6d54196b054 Issue-ID: SO-1541 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-20assignvfmodulebb must send use-preloadBenjamin, Max (mb388a)1-11/+17
Corrections to JUnit data to account for usePreload usage. Resurrect usage of usePreload value and pass fromPreload to SDNC. Change-Id: I6fb52f6abf09ec501e90335a01e37db1c10ae2b3 Issue-ID: SO-1539 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-19Create Pre Building Block validatorBenjamin, Max (mb388a)1-2/+2
Use Flowvalidator shouldRunFor method to check if flow needs to be validated. Create Pre Building Block validator to check if cloud-region orchestration-disabled is true Change-Id: I2f1dca16c97505292d9b99f7e206713e4963261f Issue-ID: SO-1534 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-18set version when using constructorBenjamin, Max (mb388a)1-0/+1
set version when using constructor Change-Id: Iaa7c74c8189eb4c607f25fe3f1660c08e80b2586 Issue-ID: SO-1529 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-18Merge "fix critical sonar bugs"Steve Smokowski2-4/+12
2019-02-14query clients now set their expected objectBenjamin, Max (mb388a)3-4/+6
unit test is using the wrong number of keys for aai uri query clients now set their expected object for method Change-Id: I622c76cee0e9d47be35a78156267bf1c22cbf404 Issue-ID: SO-1514 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-14fix critical sonar bugsk.kazak2-4/+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-13add new functionality to aai clientBenjamin, Max (mb388a)32-901/+771
Remove only the first occurrence of parentUri from uriTemplate. add createIfNotExists to transaction clients moved classes to generic GraphInventory location removed unused interfaces from graphinventory client refactored all graph inventory clients Change-Id: I2b946674ff92c44d33fff2f327e96655ed5c0195 Issue-ID: SO-1501 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-13Merge "use encrypted auth for dmaap"Steve Smokowski10-62/+77
2019-02-11Merge "Add junit tests for AdapterRestClient"Steve Smokowski1-0/+109
2019-02-11restructured a&ai clientBenjamin, Max (mb388a)19-312/+703
made generics a bit safer and updated groovy tests Change-Id: I6d7a2567cd9bf795e0cfa4914a7674a4ed5f50c4 Issue-ID: SO-1493 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-11Merge "added license headers to various java files"Steve Smokowski10-0/+200
2019-02-11Merge "Increase long poll DMaaP timeout value to 60"Steve Smokowski1-0/+1
2019-02-08Increase long poll DMaaP timeout value to 60Benjamin, Max (mb388a)1-0/+1
Corrected a JUnit to include updated timeout value. Increase long poll DMaaP timeout value to 60 seconds Change-Id: I22a6f17bc694b17b14f25c7dccd6b57d89d0c2b7 Issue-ID: SO-1488 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08added license headers to various java filesBenjamin, Max (mb388a)10-0/+200
added license headers to various java files Change-Id: Icd93ba2943f9ab9a4298a7bf91a1b2e92f700e7a Issue-ID: SO-1487 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08add DSL endpoint support to A&AI ClientBenjamin, Max (mb388a)9-0/+416
add DSL endpoint support to A&AI Client Change-Id: I4e5772354d1d79a343bfac78b4a10ca0c00e3edf Issue-ID: SO-1485 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08Add junit tests for AdapterRestClientLukasz Muszkieta1-0/+109
Change-Id: Ieb92404710b716c40762365965852dc9a00947c2 Issue-ID: SO-1480 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-02-01compare resources from openstack to aaiBenjamin, Max (mb388a)2-0/+4
Address Review comments on pull request Update Unit test to have proper variable for testing update logic inside bpmn to reflect proper variable Update unit test to check property for audit Add flag to turn on and off audit behavior Add license headers, remove un-used files Update Building Block Tests and Activity Names Fix additional unit tests in so-bpmn-tasks layer Fix broken Junit Test, and correct Bug in if statement Add annotation to ignore class under test profile Additional bug fixes and unit tests for classes Add Additional JUNITS, add more sample data Add Openstack Audit functionality to Adapter Change-Id: I0492063271e991eefc608b56336a5cdf1d5a7778 Issue-ID: SO-1456 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-31use OE from AAI with sdcBenjamin, Max (mb388a)3-215/+0
Updated the SDC API call with the ECOMP OE from AAI relationship instead of VNF OE value. Change-Id: I576ed83364f11213f36781c033f7c2d56f98f1c6 Issue-ID: SO-1451 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>