aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/util/HttpsAuthClientTest.java
AgeCommit message (Collapse)AuthorFilesLines
2019-07-22Allow full-path to certificate and remove implicit Optional::toStringIttay Stern1-0/+31
1) If getAAITruststoreFilename or getAAIKeystoreFilename has a file separator -- don't append certFilePath to filename. 2) getKeystorePath() is issuing Optional::orElse, as the code `+ getAAIKeystoreFilename()` is implicitly calling `getAAIKeystoreFilename().toString()` which yields a default toString e.g. "Optional[configValue]". Issue-ID: VID-229 Change-Id: I9c135cc3dfd72cdc203b59d78162a568a6dbd688 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-28First part of TestsWojciech Sliwka1-7/+8
Issue-ID: VID-385 add first part of new tests for AAI, move some files to proper directory Change-Id: I6600c48d26387faf9e6cd6dbe7107e10428f4b52 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-02-26Update license headersIttay Stern1-5/+5
- Source code files been updated with License Apache 2 header - Year format in copyright header of all source code files been updated Issue-ID: VID-427 Change-Id: I27dfd8a927a62c90a713cbeccf6ce656c4f920f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern1-18/+23
Main Features -------------- - Async-Instantiation jobs mechanism major update; still WIP (package `org.onap.vid.job`) - New features in View/Edit: Activate fabric configuration; show related networks; soft delete - Support AAI service-tree traversal (`AAIServiceTree`) - In-memory cache for SDC models and certain A&AI queries (`CacheProviderWithLoadingCache`) - Upgrade TOSCA Parser and add parsing options; fix malformed TOSCA models - Resolve Cloud-Owner values for MSO - Pass X-ONAP headers to MSO Infrastructure -------------- - Remove codehaus' jackson mapper; use soley fasterxml 2.9.7 - Surefire invokes both TestNG and JUnit tests - Support Kotlin source files - AaiController2 which handles errors in a "Spring manner" - Inline generated-sources and remove jsonschema2pojo Quality -------- - Cumulative bug fixes (A&AI API, UI timeouts, and many more) - Many Sonar issues cleaned-up - Some unused classes removed - Minor changes in vid-automation project, allowing some API verification to run Hard Merges ------------ - HTTP Clients (MSO, A&AI, WebConfig, OutgoingRequestHeadersTest) - Moved `package org.onap.vid.controllers` to `controller`, without plural -- just to keep semantic sync with ECOMP. Reference commit in ECOMP: 3d1141625 Issue-ID: VID-378 Change-Id: I9c8d1e74caa41815891d441fc0760bb5f29c5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)1-11/+1
Note that anyString() is not matching null values, therefore replaced with any() where relevant. Change-Id: If64944e1edc62013953e41b2645a2b78c578bbe8 Issue-ID: VID-359 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-08-06Refactor of an AAIRestInterfacetgolabek1-5/+77
Refactor and some additional tests added (cherry picked from commit 6d8fa7d179b8de802ae386b317ddd1214eac1c47) Change-Id: Ibe7583353499352aa81d100b9995b9c74133c447 Issue-ID: VID-229 Signed-off-by: Stern, Ittay (is9613) <is9613@att.com> [Added proper headers to modified and created files] Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)1-0/+4
Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-03-14Unit testsSonsino, Ofir (os0695)1-0/+18
Change-Id: I9c63fd607757bbec095c26341af593d9afd73886 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>