summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07use epsdk 2.5.0 in VIDEylon Malin1-11/+0
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Id483174b283a5f1eb6160982a446ccb223606c9e
2019-08-07Merge "removing unused ViewLog Controller and jsp"Ittay Stern1-33/+0
2019-08-07removing unused ViewLog Controller and jspEylon Malin1-33/+0
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7d5cdd0091e2c67adc617894386a58a89046880e
2019-08-07fix getNetworkListTest UTEylon Malin2-0/+301
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Id28c5b3062f45c217f0bfc93e6d2a7c6333d15c4
2019-08-06use cache for retrieving all subscribers listEylon Malin5-41/+29
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I73fcc78ebbd8ee01349ecefa924c20014ca33907
2019-08-06handle errors in change management and tenant isolationEylon Malin1-8/+8
use more tolerance way for parsing responses from MSO so VID can handle error responses with html body Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I72741ec1bf636a1200e8ecbd684ab1f3b2ab332a Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-04Remove web-filter for incoming scheduler requestsEylon Malin1-111/+0
authentication can be handled in a different way like using AAF (see 48b0c6ee) Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I68c664bc6a20ce4d8722558e00985b7638fed04b
2019-07-31Handle A&AI Service-Tree and add testsIttay Stern10-90/+1601
Issue-ID: VID-378 Change-Id: Id1b86b77732768f9b497e2fcd29ee1665381ac57 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-31Fix /version endpointIttay Stern4-52/+139
* Modify maven-replacer-plugin to set value in version.json * Configure features.set.filename=onap.features.properties Issue-ID: VID-507 Change-Id: I692ab3e9221118b836ae7249f483b5277a70bf6b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-30Take 'contact us' url from configurationRina Roi1-0/+1
Issue-ID: VID-541 Signed-off-by: Rina Roi <rina.roi@intl.att.com> Change-Id: Ia7d829c20a8689f7aab737ea83ed420b6c3448a3
2019-07-30Implant vid-app-common org.onap.vid.job (main and test)Einat Vinouze126-2964/+8868
Issue-ID: VID-378 Change-Id: I41b0bdc2c4e3635f3f3319b1cd63cefc61912dfc Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-29Remove restricted notice from TOSCA fileIttay Stern1-8/+8
Issue-ID: VID-499 Change-Id: Ib63c2cec9b29530461ad1ef2313f80548697b1f6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-25Don't double-wrap RequestDetails for (de)activateFabricConfigurationIttay Stern2-3/+3
Issue-ID: VID-267 Change-Id: I215bf008442b3bdfd4e80c1ba23e6a86e9d6f52b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-22Merge "Allow full-path to certificate and remove implicit Optional::toString"Wojciech Sliwka1-0/+31
2019-07-22Merge "Pnf pojo improvements"Wojciech Sliwka4-19/+34
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-07-21Return a value from MsoInterface::setServiceInstanceStatusIttay Stern3-49/+36
This resolves the case where mso_activate_service_instance API is returning an empty object. Issue-ID: VID-267 Change-Id: I691c7ca037c5458ce728bed10bf959e664679b6a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-19Add MsoController testskurczews1-12/+114
Issue-ID: VID-470 Change-Id: If1577f3a1ed625f0c7bf8e1940e1a92073191efc Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-07-19Pnf pojo improvementsMichal Kabaj4-19/+34
- added builder - immutable - improved json serialization Change-Id: If0c9128dfd27d1c04e2f8683bade16700789276e Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-07-18Don't override SystemProperties without restoring itIttay Stern2-14/+24
This resolves NullPointerException in Dublin's Jenkins' SyncRestClientForHttpServerTest. Issue-ID: VID-503 (cherry picked from commit ef34f16650be1f251447a7b9a1d9f1369ca459de) Change-Id: I65fbed0a6f6214d9495d0cb6456b3a8e4f094a3d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-18junits for AaiControllerTomasz Gwozdecki1-0/+23
-Added new test for getVersionByInvariantId method Change-Id: Iba77e8638047ba20ac80816b779575ce5e32df86 Issue-ID: VID-478 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-07-04Add controller which create error reportsmichal.banka4-0/+496
Change-Id: Icfba59e90420c0d849c9ba5fae3d0cb1b40ed265 Issue-ID: VID-488 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-07-01Merge "Extend probe mechanism"Ittay Stern6-16/+16
2019-07-01Extend probe mechanismWojciech Sliwka6-16/+16
Fixes from latest review. Introduce probe interface. ResponseWithRequestInfo is not used - it belongs to aai package and requires javax.ws.rs.core.Response. Fallback in aai client will be removed as soon as sdc provides https support (hopefully in El Alto). Change-Id: I4527d447a273328d38ff2ef7f9d2a93453cec9f2 Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-19Merge "Extend probe mechanism"Wojciech Sliwka4-18/+152
2019-06-18Extend probe mechanismWojciech Sliwka4-18/+152
added methods to: - new aai client - sdc client - so client Change-Id: Ib7beb5a5ac58c2ac9767f5e8dc4f988ac0a44c3e Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-12AaiController unit testsMichal Kabaj1-0/+25
- unit tests for getPNFInstances Change-Id: I9d77ad0e15be23dc169721c6b73bea9fb1ecaf19 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-06-10Rewrite tests for AaiServiceImplmichal.banka1-242/+754
Issue-ID: VID-386 Change-Id: I3cbcdada18f2813bc8a4cf442f54df297f5ec945 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-06-05junits for AaiControllerTomasz Gwozdecki1-0/+35
-Added new test for getSpecificPnf method Change-Id: I1837a364673c3dd04b559eacccd7baeeeb82208f Issue-ID: VID-478 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-06-03Support service models with policyIttay Stern2-0/+252
Upgrade sdc-tosca to 1.5.1 Issue-ID: VID-481 Cherry-picked from change: I75f0df4cae73257fc6aa58b9f5f627901c2c61c5 Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I13d61050e819c1f65bf855f314e84406d35f1a9c
2019-05-31Merge "AaiController unit tests"Wojciech Sliwka1-3/+31
2019-05-31AaiController unit testsMichal Kabaj1-3/+31
- unit tests for getAicZones - fixed encapsulation and immutability issues in AicZones and Zone objects Change-Id: I3f71d45bb3c4e2238966e245f0ab77031c4dcb60 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-05-30Add MsoControllerTestskurczews1-86/+103
Issue-ID: VID-470 Change-Id: I9416247d8d9548d1c01af070d8106b1512dee200 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-05-15junits for AaiControllerTomasz Gwozdecki1-0/+26
-Added new test for getNodeTemplateInstances method Change-Id: I1214445de2710482964c3e195a91b73bef9ef6da Issue-ID: VID-478 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-04-24Merge "Rewrite LoggerControllerTests"Wojciech Sliwka4-35/+147
2019-04-23Merge "Sonar fix too many method param"Wojciech Sliwka2-31/+36
2019-04-23Sonar fix too many method paramArindam Mondal2-31/+36
Issue-ID: VID-466 Change-Id: I5fbffdddabf9f62a5408cd8b40397a42753006e8 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-04-19Rewrite LoggerControllerTestsJoanna Jeremicz4-35/+147
Add JUnit tests with minor code refactor Issue-ID: VID-384 Change-Id: Ic3bee8e1f6ee58a10053bb0ad2d006912965da1a Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-04-19Fix sonar issue in vid-app-commonParshad Patel1-4/+9
Fix Constructor has 8 parameters, which is greater than 7 authorized issue Issue-ID: VID-464 Change-Id: If3311351746f4a4890ab73e844decd34486a324f Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-11Merge "removing /onap/so/infra from properties"Wojciech Sliwka2-2/+2
2019-04-11removing /onap/so/infra from propertiesBartosz Gardziejewski2-2/+2
Change-Id: I9a42d8e3cf0e4fb17356645b7d894d279fe1501b Issue-ID: VID-460 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-04-10Merge "Inject an SystemPropertiesWrapper instance to MsoClient"Ittay Stern3-10/+21
2019-04-10Inject an SystemPropertiesWrapper instance to MsoClientWojciech Sliwka3-10/+21
Change-Id: Ibbc8540042fc46bd0df42efec99cff5fc2e371a3 Issue-ID: VID-404 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-09Support for swaggerWojciech Sliwka4-4/+8
API definitions available under /vid/v2/api-docs Change-Id: Ie7e63bfbdb8d41c43bc04ca13351dba533776a8a Issue-ID: VID-377 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-09Merge "AaiController unit tests"Wojciech Sliwka1-22/+54
2019-04-09Merge "align logic to new so api"Wojciech Sliwka4-117/+109
2019-04-08AaiController unit testsMichal Kabaj1-22/+54
- refactored and added detailed unit tests testing spring rest mappings Change-Id: I602b4301c7e46d16cc8606a5e7bb3af1cb0cad21 Issue-ID: VID-456 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-04-08align logic to new so apiWojciech Sliwka4-117/+109
Change-Id: Ic1a975eb6d3d9487fc2e006d2f171fa044806ef3 Issue-ID: VID-400 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-08Merge "Increase test coverage for vid/aii - third part"Wojciech Sliwka8-424/+446
2019-04-04Increase test coverage for vid/aii - third partmichal.banka8-424/+446
Change-Id: Ib4da72c1da212cf009f70694ffcb0be4049cb67e Issue-ID: VID-385 Signed-off-by: michal.banka <michal.banka@nokia.com>