summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-04-09Moving ssh-adaptor from APPC to CCSDKSingal, Kapil (ks220y)37-11/+5261
Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Icb363093d49595fba8d60045cb7cab49ce4198bc
2021-04-05avoid potential NPE in RestapiCallNodeSmokowski, Kevin (ks6305)1-1/+1
avoid potential NPE in class sendRequest method sendRequest Issue-ID: CCSDK-3246 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@us.att.com> Change-Id: I3b378336887b43c55ec2a3cdb8a82a4578eb6260
2021-03-25Moving chef-adaptor from APPCSingal, Kapil (ks220y)38-22/+4704
Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I416450c0de9951fe4d5c62cd7cea201c25feb562
2021-03-24Fix null pointer exceptionDan Timoney1-1/+4
Fix null pointer exception in case of empty list Issue-ID: CCSDK-3237 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic94d60bf7a52c23507ecc2402f9be9b580f2ea5b
2021-03-16modernizing propertyProvider by replacing Vector to ArrayListSingal, Kapil (ks220y)7-16/+23
Issue-ID: CCSDK-3213 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ifcc3f618512f1f5a347b8045e54ba82d0e21d6dd
2021-03-16Renaming ansible and saltstanck adapter to adaptorSingal, Kapil (ks220y)98-761/+761
Issue-ID: CCSDK-3212 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ibf0366b31a37173050602bd692627647f4f29bb7
2021-03-15Moving and merging Ansible adaptor from appc to ccsdk/sliSingal, Kapil (ks220y)30-882/+1905
Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I5b2c8a3aff7b0e874a659122264be06f412945be
2021-03-09Roll master version for IstanbulDan Timoney149-289/+319
Roll versions of ccskd parent poms to 2.2.0-SNAPSHOT and of ccsdk/sli to 1.3.0-SNAPSHOT for Istanbul release Issue-ID: CCSDK-3190 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1af3a469f0d8b5f46eed878e59dc318a9857c6db
2021-03-09Refactoring pom's name tagSingal, Kapil (ks220y)149-4326/+4311
Indenting pom's and running mvn tidy:pom to rearrange items Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ic9c7cfd76bd98e6a101ec7788841d96316508735
2021-02-23Roll to next Honolulu snapshotDan Timoney148-150/+150
Roll to next Honolulu snapshot Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I63f203e2d0dfc300b0693fdc46abeb9054596727
2021-02-23Release version 1.2.0 of ccsdk/sliDan Timoney1-0/+5
Release version 1.2.0 of ccsdk/sli Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia1b4117c1790e17314259c4d068fac0e4a8d7fe9
2021-02-23Fix error in artifacts parentDan Timoney7-21/+28
The artifacts modules are using wrong parent pom, which is causing compile issues in some local builds. Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ie2b8a9ac662bf842cc1c7e268e6a53254f4b5463
2021-02-22Implementation graph search for slitopologyutils, includes graph building ↵Decheng Zhang28-2/+3556
and path search Change-Id: I2496fcf971fb3f5ac9cbd63f4432cf7edafc1cee Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
2021-02-22Fix CCSDK-3168, issue that toJsonString doesn't work properly for large ↵Decheng Zhang1-1/+50
array attributes. Issue-Id: CCSDK-3168 Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com> Change-Id: I0aba52ea194dfe52db09a19da2f67d03619bb912 Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
2021-02-22Creating prototype of SliTopologyUtils, a topology utility for simple ↵Decheng Zhang1-0/+108
topology manipulation. Change-Id: I3c83eeb9c44f04a8d7b0e45429594de96f162c3d Signed-off-by: Decheng Zhang <decheng.zhang@huawei.com>
2021-02-22Use released version of parent pomsDan Timoney138-145/+145
Use released version 2.1.1 of parent poms Issue-ID: CCSDK-3179 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ied983f40f2d445dd58061eed3475aa0ac210a7d2
2021-02-18Add new EnvProperties classDan Timoney62-175/+485
Added new class EnvProperties, which extends java.util.Properties and supports property values containing embedded environment variable references. Updated code to use this class to load svclogic.properties, and updated dmaap listener to use that class to load dmaap listener configuration. Issue-ID: SDNC-1482 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I7538b719631d8c10c27d059aeb4f70ce92760ebd
2021-02-02migrate sli to alu-SR1Michael DÜrre71-2921/+873
migrate ODL interfaces and fix code for changes in alu-SR1 Issue-ID: CCSDK-3089 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Change-Id: Id48dcfc517585f2ce6b30047113cd1d173c3c9dc Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com>
2021-01-29Revert "migrate sli to alu-SR1"Dan Timoney70-869/+2921
This reverts commit ce4e5f9a00d2677495240ad367b9bfc4b74752d0. Reason for revert: ODL upgrade changes need to be backed out until issues in ccsdk/features are resolved. Change-Id: I168e2519e37f3eee61609d0da890c14db49ec49e
2021-01-27migrate sli to alu-SR1Michael DÜrre70-2921/+869
migrate ODL interfaces and fix code for changes in alu-SR1 Issue-ID: CCSDK-3089 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Change-Id: Iad824627c581c902b639a2f0246e3133d4e38c48
2021-01-26Revert "Limit use of odlparent poms"Dan Timoney123-421/+483
This reverts commit 7de29bfea89ff53a446bea07d8f74d1aaa87045b, due to issues encountered in the odlsli container in ccsdk/distribution. Issue-ID: CCSDK-3001 Issue-ID: CCSDK-3099 Change-Id: I79252b74693895f483eb390c575bb244195fe7ed Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-12-10Limit use of odlparent pomsDan Timoney139-508/+446
Updated pom.xmls to use standard maven project structure (i.e. parent of pom is pom in directory above), and updated top level pom to use org.ccsdk.parent:oparent as parent - EXCEPT in cases where module has true OpenDaylight dependencies and therefore needs to use ODL parent pom. Change-Id: I50429f28225152251ac2086235c14bb00f09c05c Issue-ID: CCSDK-3001 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-12-07Remove references to indivdual repo version propertiesDan Timoney41-160/+52
Updated combined ccsdl/sli repo to replace references to old repo versions (e.g. ccsdk.sli.core.version) with build-in maven property project.version. Issue-ID: CCSDK-3009 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I89c42dd571781f9bd8f9b463f53298519f61b96f
2020-12-03Updated aai-path.properties with AAI API'SMehreen Kaleem1-0/+4
used by MDONS use case Change-Id: I810a077199725dd0bb735c8bd6b5f68e026ed908 Issue-ID: CCSDK-3013 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
2020-12-02Add missing pom.xml filesDan Timoney168-270/+1100
Add missing modules to top level pom.xml and add missing pom files for core, adaptors, northbound and plugin directories. Also rolled version to next minor version (1.2.0-SNAPSHOT) to avoid conflict with compiled code from individual repos during transition to new structure. Issue-ID: CCSDK-3009 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: If58175bd2519955cd896290cac7001df4eb62287
2020-12-01Migrate sli-northbound repoJessica Wagantall253-2/+0
Migrate sli-northbound repo files into new directory "northbound". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Merge branch 'master' of ↵Jessica Wagantall253-0/+31056
/home/jwagantall/linuxfoundation/onap/IT-21112/sli-northbound Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Migrate sli-core filesJessica Wagantall328-0/+0
Migrate sli-core repo files into new directory "core". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Merge branch 'master' of /home/jwagantall/linuxfoundation/onap/IT-21112/sli-coreJessica Wagantall328-0/+34509
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Migrate files from sli-pluginsJessica Wagantall311-0/+0
Migrate sli-plugins repo into new directory "plugins". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Merge branch 'master' of ↵Jessica Wagantall311-0/+32214
/home/jwagantall/linuxfoundation/onap/IT-21112/sli-plugins Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Migrate sli-adaptor filesJessica Wagantall428-0/+0
Migrate sli-adaptor repo files into a new "adaptors" directory. Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-12-01Merge branch 'master' of ↵Jessica Wagantall430-11/+60541
/home/jwagantall/linuxfoundation/onap/IT-21112/sli-adaptors Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2020-11-30Add INFO.yaml for new ccsdk/sli repoDan Timoney1-0/+81
Add INFO.yaml for new ccsdk/sli repository Issue-ID: CCSDK-3008 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic31cde578dabc06a47f73a1219f5e103e9b1c6a6
2020-11-30Add initial files for new ccsdk/sli repoDan Timoney2-0/+138
Add initial pom.xml for new ccsdk/sli repo Issue-ID: CCSDK-3008 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I41cca73c191f871b3dcfbbac9f29964a046a262f
2020-11-30Release version 1.1.0 of sli/northboundDan Timoney31-70/+66
Release initial Honolulu version of sli/northbound and roll version to next snapshot Change-Id: I21ee4f2431d6e15573998fd615fc2090aee15810 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-25Release version 1.1.0 of sli/pluginsDan Timoney33-89/+68
Release initial Honolulu version of sli/plugins and roll version to next snapshot Change-Id: I75d58fccc8ab0b5653d3160ed6f2e302c3ade8b9 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-25Release version 1.1.0 of sli/adaptorsDan Timoney53-115/+106
Release initial Honolulu version of sli/adaptors and roll version to next snapshot Change-Id: I3a59f29d7819e8d777dd02aede9a263ea0be8e36 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-25Release version 1.1.0 of sli/coreDan Timoney38-37/+42
Release initial Honolulu version of sli/core and roll version to next snapshot Change-Id: Id65539a7e275c57fce0bc23e88bbc2eaf641cf05 Issue-ID: CCSDK-3002 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-17Fix NPE in toJsonString()Dan Timoney1-1/+5
Fixed SvcLogicContext.toJsonString() to return the empty string () if it cannot find the requested prefix in the service logic context. Change-Id: I5e36864f961b36b6c82a3db8d20483df6686ed15 Issue-ID: CCSDK-2990 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Handle properties file reference outside OSGiDan Timoney2-25/+33
Update properties file resolves for OSGi to handle ClassNotFoundError exception correctly. Change-Id: I511213e447d07576c9a44654956b207174ed6638 Issue-ID: CCSDK-2976 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Fix handling of non-OSGiDan Timoney3-4/+29
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-21Fix pattern validationDan Timoney2-4/+4
Pattern validation incorrectly disallows period as part of file name Change-Id: I3b3692093e16c41c312b326246a5dee83f674ee0 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-20Merge changes I4a6cb477,I00d6a0c1KAPIL SINGAL5-478/+69
* changes: Support netbox-client outside OSGi container Address security issues
2020-10-20Support netbox-client outside OSGi containerDan Timoney2-9/+63
Updated netbox-client initialization so that it works properly when initialized outside an OSGi container (e.g springboot) Change-Id: I4a6cb477206745eb4ca21f10a7fb54cc616ef4cd Issue-ID: CCSDK-2923 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-20Updating AAI service adaptor to use version 21 (v21) of the schema model.Hesam Rahimi26-859/+4152
Issue-ID: CCSDK-2393 Change-Id: I53369c73fd25c7f433fd99456e28fbe0fecbc59a Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
2020-10-19Disable external entities referenceDan Timoney1-0/+5
Disable external entities reference in properties node XML parser to avoid XXE vulnerability. Change-Id: I5136dc7edb575d944dfe9fbab334629ec18c5d47 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-19Address security issuesDan Timoney3-469/+6
Removed unused Mdsal activator class. Added file name validation for ConnectionBuilder in ansible adaptor Change-Id: I00d6a0c1edccae263520738f7a4685b1ad71b943 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-19Add file path validationDan Timoney7-4/+8
Add file path validation for EnvVarFileResolver. Refactored PathValidator to org.onap.ccsdk.sli.core.utils so it can be used here. Change-Id: Ibb50df0ad020cf376c1ce20e7b598f7ad7223d48 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>