summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2020-11-10Fix handling of non-OSGiDan Timoney2-2/+17
Fixed handling of case where aai-service and netbox-client are called outside OSGi container. Change-Id: Ie83dd217a77a021a30d171e0964d9ac709e40cc8 Issue-ID: CCSDK-2976 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-23- Adding the path for the newly introduced (i.e. in v21) network-route ↵Hesam Rahimi2-0/+7
resource in aai-schema, to the properties file. - Adding tunnel-termination-points and te-link-attributes back into aai schema. Issue-ID: CCSDK-2393 Change-Id: I80d21463c509c8caf802cf5681abc3434d6cf34a Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
2020-10-20Updating AAI service adaptor to use version 21 (v21) of the schema model.Hesam Rahimi25-857/+4150
Issue-ID: CCSDK-2393 Change-Id: I53369c73fd25c7f433fd99456e28fbe0fecbc59a Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
2020-08-12make logs quieterKevin Smokowski1-1/+1
make logs quieter Issue-ID: CCSDK-2645 Change-Id: Id880be7d733234b63a81a60326f78470db4fd576 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2020-08-03Update adaptors to sodiumDan Timoney1-0/+3
Update sli/adaptors to OpenDaylight Sodium release. 2 changes were needed: - mdsal-resource : needed to add unimplemented abstract methods in inner anonymous BundleContext class in test case. - resource-assignment: needed to correct unit test problems that were ignored in earlier versions of h2 Change-Id: Ice63bfce64768e46c4376db55e3e9e97d0b934ad Issue-ID: CCSDK-2551 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-01Merge "added assert statements in 7 test files"Dan Timoney1-0/+5
2020-05-27added assert statements in 7 test filesRupinder1-0/+5
Issue-ID: CCSDK-2232 Change-Id: I07e3806cac9a317130ad1d5fe4c9af4fb1a17a5d Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-27added assert statements in 5 test filesRupinder5-3/+16
Issue-ID: CCSDK-2232 Change-Id: I31033bc267381cf9f07701e4ebacbd318d3070d9 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-06SOTN-NNI integration test issue fixedsangu_36531-3/+3
ccsdk adaptor not able to process cVLAN and tpId attribute Changed tpId to tp-id and cVLAN to cvlan need cherrypick to frakfurt Issue-ID: CCSDK-2359 Signed-off-by: sangu_3653 <sangappa.m@huawei.com> Change-Id: I73ffbe503e082059b1bdb637dc4841102d92ca05
2020-03-31removed some unused importsRupinder1-5/+0
Removed unused imports to reduce code smells Issue-ID: CCSDK-2232 Change-Id: Id929b506c9030818a0b9daa975f526699e710270 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-03-21AAI v19 schema XSD merge to sdncshashikanth.vh@huawei.com1-372/+2132
Merged AAI v19 schema XSD Change-Id: I49e32b89369381c6a7cc25720415856ac0f40a1d Issue-ID: CCSDK-2171 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2020-03-19Merge "Adding required v19 model resources"Dan Timoney1-0/+10
2020-03-19Update processing of data of type List in AAIDeclarationsRich Tabedzki1-6/+49
Changes made: * Updated processing of data of type List in AAIDeclarations Issue-ID: CCSDK-2170 Change-Id: I019eaba0315d1131ff3f5fe50d5d76f824f939b7 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2020-03-12Adding required v19 model resourcesGaurav Agrawal1-0/+10
Adding new resources to path properties to make them available to SDNC. Issue-ID: CCSDK-2171 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Change-Id: I2425bf7040d427a082c27b71bc57a78ae31cdc93
2020-03-12Updating aai adapter to v19 modelGaurav Agrawal25-435/+435
Updated AAI XSD model to v19 to make new schema's available to SDNC. Change-Id: I5b82d97e0c96e1593237e0d10d790115bf8be965 Issue-ID: CCSDK-2171 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2019-11-05minor updates to clean up codeAgarwal, Ruchira (ra1926)4-4/+34
clean up code to sync with internal Issue-ID: CCSDK-1873 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: Idcc7186d5aaa783c527de3986e7a1ecd9bfcf651
2019-10-11[CCSDK] adding vnfc|cp paths to aai-path.propertiesstark, steven1-0/+4
Issue-ID: CCSDK-1814 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: Ia5437d6361884448e2894c5d899ab2265e59a232
2019-10-10Fix broken buildTimoney, Dan (dt5972)2-2/+4
MetricLogger no longer has its own static definitions for MDC fields - instead, these are in logging analytics class Change-Id: I3074cf6879120b1e03a5b14e6f38b13eef82ad77 Issue-ID: CCSDK-1824 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-15Code changes for OpenDaylight NeonTimoney, Dan (dt5972)1-0/+39
Updated code for OpenDaylight Neon, using conversion script in ccsdk/parent/tools. Change-Id: Ic91cff9ee50102b8af1a73f829908de82995b2ef Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-30Merge "Add "@Override" annotation above method signature"Dan Timoney1-1/+3
2019-07-30Merge "CCSDK-1559 -Rename this local variable to match the regular ↵Dan Timoney1-4/+4
expression '^[a-z][a-zA-Z0-9]*$'"
2019-07-30Merge "CCSDK-1557 -Replace the type specification in this constructor call ↵Dan Timoney1-1/+1
with the diamond operator ("<>")."
2019-07-30CCSDK-1559 -Rename this local variable to match the regular expression ↵Thugutla Sailakshmi1-4/+4
'^[a-z][a-zA-Z0-9]*$' Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$' Issue-ID: CCSDK-1559 Change-Id: I66e51fbb6f5836bc7b4ecb6640b2d63d7f7e1522 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-30Add "@Override" annotation above method signatureanushadasari1-1/+3
Using the @Override annotation is useful for: It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling. It improves the readability of the source code by making it obvious that methods are overridden. Change-Id: Ibcba103817ae804b064972cbe93c4a7e85076db7 Issue-ID: CCSDK-1558 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-30CCSDK-1557 -Replace the type specification in this constructor call with the ↵Thugutla Sailakshmi1-2/+2
diamond operator ("<>"). Replace the type specification in this constructor call with the diamond operator ("<>"). Issue-ID: CCSDK-1557 Change-Id: I714ddaf9d289a2a1ec82b8236b83103020fd8d25 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-07-29CCSDK-1554 -Major issue-Remove this unused "cause" local variable.Thugutla Sailakshmi1-3/+2
Major issue-Remove this unused "cause" local variable. Issue-ID: CCSDK-1554 Change-Id: I44ecce26b9cc22970eb10bfb9deaf0aa9ca34eca Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
2019-06-25Remove versions from project pomsTimoney, Dan (dt5972)1-3/+4
Remove versions from project poms and rely instead on dependencyManagement. Change-Id: I68171346273325e8dee0f7d2538549d2d8c154c8 Issue-ID: CCSDK-1416 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-15Updating aai adapter to v16 modelprakash.e25-429/+431
Updated AAI XSD model to v14 to make new schema's available to SDNC. Change-Id: I87030523747c21fcdb2f58ab9cab60124b7f9e25 Issue-ID: SDNC-764 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-05-02Fix SDWAN aai_schema_v14.xsd site-resource parametersprakash.e1-0/+14
Added postal-code and city parameters under site-resource in aai_schema_v14.xsd to update site-resource input parameters in AAI from SDNC Change-Id: I9423de1d2362f49be766f054c1cf9df172de4b1e Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-04-02Resolve jersey conflictTimoney, Dan (dt5972)1-9/+8
Updated aai-service to use glassfish version of jersey. Note: there might be additional work needed to handle host name verification properly (jersey 2 handles that differently - see details in jira) Change-Id: I0bd6df2e0ebf222f730aa02e99d4b032fd492bef Issue-ID: CCSDK-1192 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-06Deprecated named-query from AAIServiceRich Tabedzki15-905/+2
Changes made: * Removed named-query feature from AAIService codebase * Removed any additional unused classes * cleaned up aaiclient.properties * Removed related junit tests Change-Id: Ic9fffbff0eaa85a80f1aa0781c5e675e4bc44602 Issue-ID: CCSDK-1108 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2019-02-01improved handling of indexed dataRich Tabedzki23-461/+190
Changes made: * improve handling of indexed data in sli-adaptors:aai-service update request * added code to convert index based data to daat array based to better fit AAI UPDATE processing Change-Id: Ic5b457f546a70c82278c4f2c6b126b77e8d27eae Issue-ID: CCSDK-1013 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2019-01-31Merge "Fixed major sonar issue in AAIService.java"Dan Timoney1-19/+24
2019-01-30Merge "fixed sonar issue in AAIDeclarations.java"Dan Timoney1-4/+6
2019-01-30Merge "Sonar Fix: EchoRequest.java"Dan Timoney1-3/+4
2019-01-30Merge "Sonar fix: UpdateRequest.java"Dan Timoney1-2/+3
2019-01-30Merge "fixed sonar issue in GenericRequest.java"Dan Timoney1-2/+4
2019-01-30Merge "fixed sonar issues in NodesQueryRequest.java"Dan Timoney1-22/+4
2019-01-30Merge "fixed sonar issues in AAIServiceUtils.java"Dan Timoney1-2/+4
2019-01-30Merge "fixed sonar issues in NamedQueryRequest.java"Dan Timoney1-5/+7
2019-01-30Merge "fixed sonar issues in GenericQueryRequest.java"Dan Timoney1-3/+5
2019-01-30Merge "fixed sonar issue in AAIRequest.java"Dan Timoney1-2/+1
2019-01-10fixed sonar issue in AAIDeclarations.javaSandeep J1-4/+6
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ib22bbd3a59994d77713eeb5e556211ddb3f662d5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-09Sonar fix: UpdateRequest.javaArundathi Patil1-2/+3
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-922 Change-Id: I8c51fe961b9e007e44253c1c14850a0f79ea4f1e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-09Sonar Fix: EchoRequest.javaArundathi Patil1-3/+4
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-921 Change-Id: Ic438dfcd98b5643aef42da391e1926a2d79e6c38 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-09fixed sonar issue in GenericRequest.javaSandeep J1-2/+4
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ice555ba2ca3ae91fd8c745d512d7615f214ffe09 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-09fixed sonar issues in NodesQueryRequest.javaSandeep J1-22/+4
fixed sonar issues Issue-ID: CCSDK-552 Change-Id: Ia09a12c091eb310ba31973d8777d79c70aa850a2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-09fixed sonar issues in NamedQueryRequest.javaSandeep J1-5/+7
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I2947dc37fd46a07ceeed8a2014845f898b8d9699 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-09fixed sonar issues in AAIServiceUtils.javaSandeep J1-2/+4
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I9bf8336829eec56d5ddadef8adbb6b68b4cfbc99 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-09Fixed major sonar issue in AAIService.javaezhil1-19/+24
Change-Id: Ice32a830fa2d9885b64f7ce7a0d0fb47c268cb67 Issue-ID: CCSDK-914 Signed-off-by: ezhil <ezhrajam@in.ibm.com>