aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-09-17add single transaction api to aaiclientBenjamin, Max (mb388a)7-59/+339
fixed marshalling when issuing a patch request added support for single transaction api in A&AI Change-Id: Icf755f547523cc7dbf931e198177847a5a1c6ea1 Issue-ID: SO-1060 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-10add ability to start from parent uriBenjamin, Max (mb388a)2-0/+93
AAIResourceUris can now be created from parent uris fixed unit test after change to task impl removed last use of nodes query in code Change-Id: I797cb12674e3421972e35957bd4d431c3cf3285b Issue-ID: SO-1000 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-08added object constructorBenjamin, Max (mb388a)1-2/+6
added Object constructor to AAIResultWrapper Change-Id: Ic1bae387a13b7b7864c2687a63532347d8f102e7 Issue-ID: SO-998 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-08added generic fabric support to SOBenjamin, Max (mb388a)6-16/+133
Fix Autoincrement of ID field in table Fix accidental removal of method Update usage of requestdb client removed unused imports in common tasks and test Fix broken branch, have unit tests pass references the Epic branch Fix broken branch from compiling committing classpath for vfc adapter cause its not going away added in the fail case for when there are no profiles removed second set of adapters in application test yml removed double adapters in request db application test added jpa repo dependency to the so bpmn folder pom add creation timestamp column to the table added in null checks for Config returned from policy switched to string in requestprocess with jenerate switched to string in requestprocess with jenerate updated aai version in common pom to 605 from 591 renamed the db scripts for flyway sync to register added endpoint to application test yml for failing test ... Change-Id: I800f837ea75d7cdff740dc3a387e4d7654cfd085 Issue-ID: SO-972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-05Client LoggingSmokowski, Steve (ss835w)8-665/+84
Update Client Logging to use interceptor Move CXF to own project due to dependency hell Issue-ID: SO-947 Change-Id: I2597ff6d32231b8625b04ef63ab5e8f589e2545c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-28added unit test for decoded keysBenjamin, Max (mb388a)1-0/+8
unit test to demonstrate that uri values are decoded Change-Id: Idd90e02f9c794b7ebf6755a4dbd834fb29be40ad Issue-ID: SO-922 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-24aairesultwrapper is now actually serializableBenjamin, Max (mb388a)1-2/+17
added in a proper serialization and deserialization test addressed any comments from pull added in a serialization test for AAIResultWrapper and updated one of the null returns change jsonBody in AAIResultWrapper back to String Change-Id: Iffa5661f129cc26d69dfaa966cd265c67903cf21 Issue-ID: SO-899 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-23Merge "removed classes no longer in use"Rob Daugherty1-53/+0
2018-08-23removed classes no longer in useBenjamin, Max (mb388a)1-53/+0
Change create configuration to use yang service instance and removed AAIServiceInstance pojo. Change-Id: I2420503f1a00c2dc64b6021aad8e42aa2080eb98 Issue-ID: SO-895 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-21created generic HttpLookupUri classBenjamin, Max (mb388a)1-5/+5
created generic HttpLookupUri abstract class Change-Id: Ie45d620af77fb58c0a7b469aba4a10f274b0de59 Issue-ID: SO-877 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-13Update CatalogDB LoggingSmokowski, Steve (ss835w)1-0/+2
Update CatalogDB Logging to remove MSO Logger, remove useless log lines, clean up minor sonar issues while working in the file Issue-ID: SO-847 Change-Id: Icab5d8cf2885d2193bb55f495b3230dde0f5af54 Change-Id: I2d2b2fa919074c439b6c9039aa7ed5e45a792781 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-10Handle special aai case betterBenjamin, Max (mb388a)2-17/+126
corrected error handling in aai client for service instances updated the exception logic for si's that are not found adhere to mapNotFoundToEmpty in special case Issue-ID: SO-851 Change-Id: I3843733553143dae046c1ae944a3bfd71ac5170c Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)75-1701/+2043
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-05-15WorkflowResponse json issuesRob Daugherty1-0/+94
This commit adds some robustness to the interface between the API-H and BPMN, specifically, in how the response is handled. I don't have proof, but there appears to be some randomness to the json provider behavior when used with the jax-rs. Sometimes, the serializer is adding the root element, and sometimes it is not. Maybe there's something wrong with the configuration. Maybe we have competing json providers. I couldn't pin this down. I'm almost certain it is the presence of the root element in the content that causes the API-H code to fail parsing of the BPMN response. This doesn't kill the request, as you might expect, but rather, the API-H passes the BPMN response through to the client (VID, or policy, or whatever). The original problem (SO-586) was "fixed" by "removing the wrapper". This "wrapper" is a needed feature of the interface between BPMN and the API-H. We shouldn't have removed it. The fact that the "fix" appeared to work is due to the behavior I described in the previous paragraph. The API-H chokes on the message, and it passes it through unchanged. Not really what we want. So, I don't know why the jackson/json behavior is flaky and different now, but I can (and did) modify the API-H so it can parse a json message whether or not it has a root element. Note that WorkflowResponse.java (in BPMN) and CamundaResponse.java (in the API-H) are basically the same bean representing the message format. Seems less than ideal to have two different classes. Also note that I changed the name of the "response" attribute of the WorkflowResponse and CamundaResponse classes to "content". Got tired of seeing this nonsense everywhere in the code: response.getResponse() Change-Id: Icaf70f8457de99e493cf882170fe778c620308c9 Issue-ID: SO-586 Issue-ID: SO-618 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-05-04Fix for FileNotFoundException in MsoLoggerTestMichal Kabaj1-1/+1
Remove over 100 whitespaces from logger filename which causes the unit tests to fail in some development environments. Change-Id: I068f4d4562b635b19889c3537282949665348c21 Issue-ID: SO-604 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-04-18AAIRestClient support for Basic AuthRob Daugherty2-1/+18
Adding support for Basic Auth in the AAI Rest Clients because ONAP uses this (whereas ECOMP uses 2-way SSL). In general, each AAI client will allow the user to configure properties called "aai.auth" and "mso.msoKey". If these are set, then the client will add the Authorization header to every request. Change-Id: I7c81ec05d2ec4a7dca131f2e9e19d341ac89b09f Issue-ID: SO-576 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-04-10Merge "PnfReadyEventConsumer implementation"Seshu Kumar M1-85/+0
2018-04-06PnfReadyEventConsumer implementationLukasz Muszkieta1-85/+0
Change-Id: Ia4d9fedb023ef6893e887ff6b5802623649aeeba Issue-ID: SO-466 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-04-06Add junit test for UUIDChecker java Felix Sangalang1-0/+44
junit coverage for UUIDChecker Issue-ID: SO-558 Change-Id: I6203b970e9960ea8fba3a1c052cb24b0340b4284 Change-Id: I6203b970e9960ea8fba3a1c052cb24b0340b4284 Signed-off-by: Felix Sangalang <fs7692@us.att.com>
2018-03-28Merge "Added junit for policy client impl"Rob Daugherty1-75/+104
2018-03-28Added junit for policy client implKalkere Ramesh, Sharan (sk720x)1-75/+104
Change-Id: Ibe5319e9b795355372cbd5ef374a545fb3a9b1d3 Issue-ID: SO-542 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-03-27pnf ready event consumerLukasz Muszkieta1-0/+85
Change-Id: I63802ea60d318626ae32e734167d2bce602d72e4 Issue-ID: SO-466 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-03-23UT Coverage for SOSindhu A1-0/+64
UT Coverage for so/common/src/main/java/org/openecomp/mso/entity Issue-ID: SO-369 Change-Id: Ibf5859fb068abfadd7e9aa98e7ef2a82a2b654c7 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-22added openpojo test for policy entities beansBenjamin, Max (mb388a)1-0/+59
Change-Id: I41031381e5cb5d2f9540e6c941479283f6a59280 Issue-ID: SO-512 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-22updated grm beans test to remove flakey junitBenjamin, Max (mb388a)1-9/+12
Change-Id: Ie6162a62fb3e61d547a7dfd82f01f194127ac989 Issue-ID: SO-514 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-22added openpojo tests for sdno beansBenjamin, Max (mb388a)1-0/+59
Change-Id: I185fb4262347120ae94c6d41e0a8de4d47d1ea0f Issue-ID: SO-517 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-22Added openpojo tests for ruby beansBenjamin, Max (mb388a)1-0/+59
Change-Id: Id30228ee7b02d9200ca3c02b73e9b0cb9541df46 Issue-ID: SO-515 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-22added openpojo tests for service instance beansBenjamin, Max (mb388a)1-0/+64
Change-Id: I97db02310eace781b41b1463239a519a7a167a12 Issue-ID: SO-513 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-21UT CoverageSindhu A2-0/+92
UT Coverage for SO Change-Id: Ib9517c25b22c37c85b2af84259911b01ddb4bbe5 Issue-ID: SO-369 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
2018-03-21Adding JuintSP005016384-0/+189
Adding Junit for: 1.AAIOperationalEnvironmentTest 2.AAIOwningEntityTest 3.AAIProjectTest 4.AAIServiceInstanceTest Sonar link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Acommon%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fclient%2Faai%2Fobjects Change-Id: I68265d9df5094941bc6f85dd812b7c85480adf21 Issue-ID: SO-503 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-20Add test case for DmaapPublishersubhash kumar singh1-0/+60
Add test case for DmaapPublisher. Change-Id: Ia69b174eb429a1b9e69a250eb1110334a97785aa Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty50-231/+3256
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-09Revert Reduce log noise/warningsRob Daugherty7-1169/+1093
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e. It is seriously impeding our ability complete the promised merge of AT&T 1802 code. While I'm all for coding standards, if we are serious about using spaces instead of tabs, then I think we need to (1) agree with the community when this will happen, (2) do consistently in all files, and (3) enforce it. Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff Issue-ID: SO-368 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-08Reduce log noise/warnings format to conventionsMarcus G K Williams7-1093/+1169
Reduce build log warnings by formatting tests to ONAP code conventions (removing tabs etc.) Issue-ID: SO-368 Change-Id: I48c6d359b83617aebeb79db4e30c1d72d31f7eec Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-07Remove unnecessary String constructor callMunir Ahmad1-2/+2
Change-Id: Ibb0dcc412ae6243ee370b8e272455269303130eb Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Replace explicit type with dimond typeMunir Ahmad1-1/+1
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-21Boolean constructor callMunir Ahmad1-1/+1
Change-Id: Ic5a16598b1f1ac4f53ab651064b872316abafde0 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-09-11SO header changes for JsonSeshu-Kumar-M2-2/+2
IssueId: SO-120 Change-Id: I6d54eeeb34d8d46c588fd09c417aba3e1f5173b0 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-11Change the header to SOSeshu-Kumar-M7-7/+7
IssueId : SO-120 Change-Id: I1a94ec1846caaa8968054eb0124fa7cf7885a432 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-081710 Rebase - Second AttemptArthur Martella28-3053/+2
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y1-1/+3
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC41-0/+4873
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>