aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2019-08-08Sonar Fix - Group.javadinesha1-4/+4
Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I128b69d6ddcf8b1198ffd42530d664c92dd13cc7 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-07support more resource types in ServiceModelInflatorEylon Malin1-0/+10
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I80ce2b81202ea08491f65fc47390f826b2b02d20
2019-08-07Merge "add default exception handling to VidRestrictedBaseController"Amichai Hemli1-0/+24
2019-08-07add default exception handling to VidRestrictedBaseControllerEylon Malin1-0/+24
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie5bac35975257ad092c75e8e7e7dfd8fefa0363e
2019-08-07Remove the declaration of thrown exceptionanushadasari1-1/+1
Remove the declaration of thrown exception 'org.onap.vid.aai.ExceptionWithRequestInfo' which is a runtime exception. Issue-ID: VID-559 Change-Id: I275d7323d153c70fa515af4a0417fe0910ee451d Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-07Remove Unused Importanushadasari1-2/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Leaving them in reduces the code's readability, since their presence can be confusing. Issue-ID: VID-563 Change-Id: Id88ce00cca08b58e0ac4beb60026c9dae5dd892e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-07At most one statement is allowed per lineanushadasari1-1/+3
At most one statement is allowed per line, but 2 statements were found on this line. For better readability, do not put more than one statement on a single line. Issue-ID: VID-562 Change-Id: Ibdae3413af96d49ce7a39e53d3af611e237cc16b Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-08-07removing unused ViewLog Controller and jspEylon Malin1-66/+0
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7d5cdd0091e2c67adc617894386a58a89046880e
2019-08-07Merge changes Iede12655,I73fcc78eIttay Stern6-35/+48
* changes: add endpoints for getVpnList and getActiveNetworkList use cache for retrieving all subscribers list
2019-08-06add endpoints for getVpnList and getActiveNetworkListEylon Malin1-0/+21
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Iede126556df337b1ab70dd76c9452f4b51e11376
2019-08-06use cache for retrieving all subscribers listEylon Malin5-35/+27
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I73fcc78ebbd8ee01349ecefa924c20014ca33907
2019-08-06Sonar Critical: Make dateFormat an instance variablenandkumar1-1/+2
Change-Id: I1f275c2b4b814afc7c50e02e756312ce6923efe0 Issue-ID: VID-535 Signed-off-by: nandkumar <np00602065@techmahindra.com>
2019-08-06Sonar Fix- RoleGenaratorServiceImpl.java- Define a constant instead of ↵dinesha1-5/+6
duplicating this literal Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I91dc81916fc1c7843e0f5b723cdf47153e682592 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-06Merge "Sonar Fix- CommandParentData.java- Move this variable to comply with ↵Ittay Stern1-3/+4
Java Code Conventions"
2019-08-06Sonar Fix- CommandParentData.java- Move this variable to comply with Java ↵dinesha1-3/+4
Code Conventions Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I104df866f1e4e8477c954942ae69fe647028e621 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-06Sonar Fix- ProbeController.java- Reorder the modifiers to comply with the ↵dinesha1-1/+1
Java Language Specification Fixed Sonar issues accross the file Issue-ID: VID-547 Change-Id: I6240ae0bc339ba43b55b8a66609935bc63705c1d Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-06handle errors in change management and tenant isolationEylon Malin4-20/+30
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-05Merge "Sonar Fix- ErrorReportController.java"Ittay Stern1-1/+0
2019-08-05Sonar Fix- ErrorReportController.javadinesha1-1/+0
Fixed Sonar Issues accross the file Issue-ID: VID-547 Change-Id: I915b2d28050a864db5c2a2e9b0ccce4061f46cfd Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-05Sonar Fix- VnfDetails.javadinesha1-5/+6
Fixed Sonar Issues accross the file Issue-ID: VID-547 Change-Id: I263ce5e172b68da20d537824794a3fae4455fde4 Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-05Sonar Fix- AaiClientInterface.java-Remove this unused importdinesha1-1/+0
Fixed sonar issues accross the file Issue-ID: VID-547 Change-Id: I3305f201e404d0e4b94f8a9eba428b03812592ed Signed-off-by: dinesha <dineshgs@in.ibm.com>
2019-08-05change management return 400 handling NPEEylon Malin1-4/+10
return 400 internal status when exception is thrown during extracting serviceInstanceId Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I97f740de0a700f503d115033980f8e8366e806e7
2019-08-04Remove web-filter for incoming scheduler requestsEylon Malin2-85/+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-08-04align backend get aicZone response fields name with the frontend expectationEylon Malin2-0/+3
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ib43b5c75ce0c841aec6e4c42bef78354ddf30493 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-04Resolving testAssociatePnfRachelF1-5/+5
Issue-ID: VID-543 Change-Id: Ib7d12d648f399096bf8d71b98249ff4994a156fc Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
2019-08-01Add flag for modern UIRina Roi1-0/+1
Issue-ID: VID-544 Change-Id: Iad79353ff9f55416d87b5bef56e38dd01357003b Signed-off-by: Rina Roi <rina.roi@intl.att.com>
2019-07-31Handle A&AI Service-Tree and add testsIttay Stern5-68/+137
Issue-ID: VID-378 Change-Id: Id1b86b77732768f9b497e2fcd29ee1665381ac57 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-31Fix /version endpointIttay Stern1-42/+8
* 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 Vinouze138-3608/+4868
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-29Merge "Patch NPE in Unirest HttpResponse::getBody when getRawBody is null"Wojciech Sliwka3-22/+103
2019-07-29Patch NPE in Unirest HttpResponse::getBody when getRawBody is nullIttay Stern3-22/+103
Issue-ID: VID-267 Change-Id: I469bbeea52d6e86f8f12f88e9754af81b3ae6ae6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-29Resolving testConfigUpdateGoodPayloadRachelF1-5/+17
Issue-ID: VID-533 Change-Id: Ie88c6182f2cbf468615a4146bced531c2ad150e0 Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
2019-07-25Merge "Merge workflow from vid to onap, fix workflow selenium tests"Ittay Stern1-4/+5
2019-07-25Merge workflow from vid to onap, fix workflow selenium testsRachelF1-4/+5
Issue-ID: VID-532 Change-Id: I5ae0a74d382cd31a9da1ec5b1220c5322f3abb40 Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
2019-07-25Don't double-wrap RequestDetails for (de)activateFabricConfigurationIttay Stern3-4/+12
Issue-ID: VID-267 Change-Id: I215bf008442b3bdfd4e80c1ba23e6a86e9d6f52b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-22Add `X-ONAP-PartnerName` header to all MSO requestsRina Roi2-24/+10
Issue-ID: VID-531 Change-Id: Ia6416c9da031cbca5d7a13cd93bb110bfc4bc1a2 Signed-off-by: Rina Roi <rina.roi@intl.att.com>
2019-07-22Merge "Allow full-path to certificate and remove implicit Optional::toString"Wojciech Sliwka1-6/+9
2019-07-22Merge "Pnf pojo improvements"Wojciech Sliwka1-45/+86
2019-07-22Allow full-path to certificate and remove implicit Optional::toStringIttay Stern1-6/+9
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-12/+6
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-131/+155
Issue-ID: VID-470 Change-Id: If1577f3a1ed625f0c7bf8e1940e1a92073191efc Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-07-19Pnf pojo improvementsMichal Kabaj1-45/+86
- added builder - immutable - improved json serialization Change-Id: If0c9128dfd27d1c04e2f8683bade16700789276e Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-07-11Change tests and log to expect "Browse SDC" (was "ASDC")Ittay Stern1-1/+1
Issue-ID: VID-516 Change-Id: I481880df1796721128b07e3dc3ae83085fc097e8 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-08Upgrade to Spring 5.1.6 + simulator fasterxmlEinat Vinouze1-5/+1
Issue-ID: VID-512 Change-Id: I9a74e6357671c5eee0a425354dcd07c762c69c83 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-07-08Adapting GUI for error report managingBartosz Gardziejewski1-1/+2
Change-Id: Idb3f5750596334990b030bfdf2f6551ad4d1c8e3 Issue-ID: VID-488 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-07-04Add controller which create error reportsmichal.banka15-54/+460
Change-Id: Icfba59e90420c0d849c9ba5fae3d0cb1b40ed265 Issue-ID: VID-488 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-07-01Merge "Extend probe mechanism"Ittay Stern17-80/+68
2019-07-01Extend probe mechanismWojciech Sliwka17-80/+68
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 Sliwka12-14/+160