summaryrefslogtreecommitdiffstats
path: root/odlsli
AgeCommit message (Collapse)AuthorFilesLines
2018-08-10Install 3rd party dependenciesTimoney, Dan (dt5972)1-0/+7
Add separate component to install all third party dependencies, including EELF (needed by ansible-adapter) Change-Id: I9b16ed83d19c2ed22fefd28a4e2186d6e196edcd Issue-ID: CCSDK-454 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-02Fix logging configurationTimoney, Dan (dt5972)1-60/+84
ODL Oxygen uses log4j2, which has a different configuration format from log4j. The org.ops4j.pax.logging.cfg that we were installing was in log4j format, which is what caused logging to break. The old format also created a large number of log files for each node executed. In this commit, we no longer create separate log files for each dg / node. We do, however, add the current directed graph and node id to each line logged in karaf.log Change-Id: I1377efa7e0c6fa6963e18370d69bafab60ba024d Issue-ID: CCSDK-427 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-25Add missing maven reposTimoney, Dan (dt5972)1-0/+14
Add 2 new plugins (restconf-client, sshapi-call-node) to Maven repo Change-Id: Idd94ec823a079e00eb30bcccbc95ece29d823fc2 Issue-ID: CCSDK-397 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-06Manually update feature bootTimoney, Dan (dt5972)1-8/+9
As workaround for issue using opendaylight-ansible, add features to org.apache.karaf.features.cfg directly in Dockerfile. This is intended as a temporary fix until LF provides a way for us to git clone from https://git.opendaylight.org so we can install and use opendaylight-ansible. Change-Id: If21e82aa8cdfbada6a3a566c79960ed3f59e96ea Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-03Merge "Install ansible apt repo manually"Dan Timoney3-7/+25
2018-07-02Install ansible apt repo manuallyTimoney, Dan (dt5972)3-7/+25
add-apt-repository does not work on ONAP Jenkins, so install ansible apt repo manually Change-Id: I91d1ae7044f95ac536433d10b347fc60db3bd870 Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-29Merge "Add debugging to docker output"Dan Timoney1-0/+1
2018-06-29Add debugging to docker outputTimoney, Dan (dt5972)1-0/+1
Set docker to verbose to debug docker build issue. Change-Id: Icc1d2accedec329b7302231c7ff291a41f31d0e5 Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-26Change RANGE_RULE table to support multiple rangessb53561-2/+2
Change-Id: I376b9a5c13d9fb371693fc0ae725353ec468bb59 Issue-ID: CCSDK-316 Signed-off-by: Stan Bonev <sb5356@att.com>
2018-06-22Improve odlsli startup timeTimoney, Dan (dt5972)7-662/+506
Improved odlsli startup time by moving feature installation to build time, using ansible-opendaylight. Change-Id: I3f846da70e9aa0b8ce818ff83811c1b52aef1436 Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-18Update odlsli for ODL OxygenTimoney, Dan (dt5972)2-2/+3
Update odlsli to use ODL Oxygen as base container and to support local docker builds for testing. Change-Id: Ie615896e56177bf4b239ec080f09c50d8c16c0c5 Issue-ID: CCSDK-285 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-06Roll versions for Casablanca - distributionTimoney, Dan (dt5972)1-2/+2
Roll version to 0.3.0-SNAPSHOT for Casablanca development Change-Id: Ic047838bbd17545c04682c36fab05d0d03228c31 Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Use released parent pomv0.2.42.0.0-ONAP2.0.0-ONAPTimoney, Dan (dt5972)1-1/+1
Update to use release parent pom version 1.0.4 Change-Id: Id098c0c24e3ba7be294790a3762b2d2c80346cb6 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)1-2/+2
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I97522780e1ad6770ef8961c2b2395db5f5ff5d60 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Roll to the next Snapshot versionStilwell, David (stilwelld)1-2/+2
Change to version 0.2.3-SNAPSHOT and parent 1.0.3-SNAPSHOT Change-Id: I2903b3691873027c9d0de6189b5b2dcff57482ee Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-18Update distribution to use 1.0.2 parentTimoney, Dan (dt5972)1-1/+1
Updated pom.xmls to use released 1.0.2 version of CCSDK parent poms Change-Id: Idad4c59b4f433c3cd77183e249e0b49c6a6273ed Issue-ID: CCSDK-286 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-29Roll versions step 6 : distribution pomsTimoney, Dan (dt5972)1-2/+2
Roll version for next release candidate Change-Id: Ia054f3c88a3df8014083f58e1c1a08a9fb948a61 Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-26Adding feature daexim-allv0.2.1Stilwell, Daivd (stilwelld)1-1/+1
Update installCcsdkFeatures.sh to add odl-daexim-all Change-Id: Ie02eccef0c5cf4f4507673c566415f8bb5b682a8 Issue-ID: CCSDK-255 Signed-off-by: Stilwell, Daivd (stilwelld) <stilwelld@att.com>
2018-04-24Updating properties in aaiclient.propertiesRich Tabedzki1-1/+1
Changes made: * Updated certificate file location Change-Id: Ifdce62a8402ebc49e58b37297d473f6dce86e9d4 Issue-ID: CCSDK-250 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-04-23Fixing trustStore issues in AAI ClientRich Tabedzki2-187/+20
Changes made: * updated trustore.onap.client.jks to use latest AAF certificates * updated aaiclient.properties file Change-Id: I0eb06766983ae128fa9304fc62e5e8596b726b02 Issue-ID: CCSDK-247 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2018-04-16Merge "Install host key"Dan Timoney3-8/+30
2018-04-13Install host keyTimoney, Dan (dt5972)3-8/+30
Create a new script to install karaf host.key on ODL installation. Also, updated base ODL container to move ODL base distribution directory to /opt/opendaylight/current and create a symlink with the original name. This is done to allow OOM to support an external mount to /opt/opendaylight/current/daexim to preserve backups. Change-Id: I048b7d8002636dcd4ffbdff7242eb40d2a2787da Issue-ID: CCSDK-241 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-10Merge "Install directed graphs"Dan Timoney1-22/+18
2018-04-10Install directed graphsTimoney, Dan (dt5972)1-22/+18
Added execution to maven-dependency-plugin in odlsli/pom.xml to install directed graphs. Change-Id: I5bb9a01407d541be6e876f560faf1596fdbc4510 Issue-ID: CCSDK-237 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-04Update docker tag conventionJessica Wagantall1-1/+1
Update docker tagging convention to use: v0.17.0-SNAPSHOT-YYYYMMDDTHHMMSSZ (for dev images) v0.17.0-STAGING-YYYYMMDDTHHMMSSZ (for staging images) Change-Id: I6cb8f3de5d3d7c8cfa3a3da8de763a21bb42632e Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-19Add sleep for stopTimoney, Dan (dt5972)1-4/+6
Stop takes a few seconds, so wait 60 seconds after issuing stop for karaf to finish coming down. Change-Id: Icbde6152e417e60a9e4d138671ddf8ef8decb978 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-19Fix ODL restart issueTimoney, Dan (dt5972)2-14/+15
Found root cause of ODL restart issue had to do with order of installation of base ODL features. Fixed startup order and removed workaround in startODL.sh Change-Id: Id4b4f96242b981fba336b9e0a4de0439d2a93115 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-19Fix installation orderTimoney, Dan (dt5972)1-1/+1
Fix order of installation so that filters installs after sli Change-Id: I4742b476cbe2661185f7e644577770f30684a6bc Issue-ID: CCSDK-216 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-13Fix config dir nameTimoney, Dan (dt5972)1-1/+1
Config directory (SDNC_CONFIG_DIR) for CCSDK should be /opt/onap/ccsdk/data/properties. Change-Id: Ib9da44e19236414202400033c8ad251b2913f4fd Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-13Wait on termination of java processTimoney, Dan (dt5972)1-2/+3
Exec of client didn't work - docker container still dies at end of script. Trying instead to wait on death of java process. Change-Id: I5687ca46b55b13a4918b0be1e2204abf58ca43b2 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-13Exec last line of startODL.shTimoney, Dan (dt5972)1-1/+1
Need to exec last line of startODL.sh to get that process to be the one docker waits on Change-Id: Id697cd8f0347970ad3038ba2c576ab28f0e4cbad Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-12Fix odlsli restart issueTimoney, Dan (dt5972)1-20/+19
Instead of restarting container (which seems to fail), just start karaf client in foreground at end of startODL.sh to cause docker container to stay up as long as karaf is up. Also, remove Carbon container which is no longer needed for ONAP Beijing, and produces false positives in security scan. Change-Id: I8ea49769899cea206f46657bf6a3660d6a8a8d97 Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-09Resolve timing issue with restartTimoney, Dan (dt5972)1-1/+3
With Nitrogen, it can take some time after stop is issued for karaf container to actually come down. Add a sleep to allow time for stop to complete before execing karaf. Change-Id: Ifb39cb78390bd595791cc96ac148d17d3c9db08c Issue-ID: CCSDK-208 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-08Fix error in install featuresTimoney, Dan (dt5972)1-7/+7
Ccsdk install features script does not install northbound and plugin components properly. Change-Id: I61c87e9e6d7f05f616110762cebea1168d05e655 Issue-ID: CCSDK-179 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Fix error in install features Ccsdk install features script does not install northbound and plugin components properly. Change-Id: I7ec2276dca33555141233303ab2f30ae747ad1ba Issue-ID: CCSDK-179 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-05Update timestamp formatTimoney, Dan (dt5972)1-0/+1
Update build timestamp format to meet project standards Change-Id: If4d40eddaf1d9111e842140753e9da747e83306d Issue-ID: CCSDK-179 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-02Wrong groupIdTimoney, Dan (dt5972)1-0/+1
Set groupId to correct value (org.onap.ccsdk.distribution) to avoid inheriting wrong value from parent. Change-Id: Ic45596c810db12cee75268f21e7e2751fc7e3475 Issue-ID: CCSDK-179 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-02Use dependencies pluginTimoney, Dan (dt5972)1-18/+124
Update odlsli to use maven dependencies plugin within pom.xml to install features, as opposed to using separate installZips.sh script. That script was needed to work around a problem in early set up using self-signed SSL certs that no longer exists. Change-Id: Ia1b79d2f1c4593b8c6ff617882c4f9e9434ab0e0 Issue-ID: CCSDK-179 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-27Create nitrogen dockersDan Timoney6-130/+156
Updated dockers to install Nitrogen artifacts. Change-Id: I9710346f064fa5fff0d92b5d6de32cc84d9e1b3d Issue-ID: CCSDK-179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-21Fix org.ops4j.pax.logging.cfg logging configMarcus G K Williams1-4/+8
Update karaf logging config to keep logs from filling the disk by limiting DG logging file number and size. Issue-ID: SDNC-204 SDNC-203 Change-Id: I325357ed2c22018f1298faff0da1bedb40ab16ae Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-11-17Bump minor versionJessica Wagantall1-2/+2
Bump minor version in preparation for Amsterdam branching. (prat 2) Issue-ID: CIMAN-120 Change-Id: I221ed1573f8407a22ecd15a8c10aba2c6ca800ec Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-25Use version 0.1.0 of parentDan Timoney1-9/+4
Update to use version 0.1.0 (released version) of parent pom Change-Id: I526376855588082295cb4b2373bb5456456a9e70 Issue-ID: CCSDK-80 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-23Updated keystore file in ccsdk/distributionRich Tabedzki3-1/+1
Changes made: - updated content of the truststore.opendaylight.client.jks file Change-Id: I422ff6cd3d05993304e67af8fa65358d7efdd9ab Issue-ID: SDNC-134 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-10-18Add keystore file to ccsdk/distributionRich Tabedzki2-1/+1
Changes made: 1. added main/stores directory 2. added truststore file 3. updated pom file to properly include stores directory Change-Id: Ic10370e3c21c5e413c5745c2fbee7116f14a86a2 Issue-ID: SDNC-134 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
2017-09-26Fix feature versionsMarcus G K Williams1-3/+1
Issue-Id: CCSDK-104 Change-Id: Ifb53104404482b11aab08e411bc9ed798ac9a64c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-22Another change to fix failing featurePatrick Brady1-1/+1
Change-Id: I7b1cbae4a6102dd19e69f1fa9f867c689a00d3b0 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: CCSDK-102
2017-09-21Fix installFeatures.shDan Timoney1-1/+1
Fix name of core-utils feature in installFeatures.sh Change-Id: I4a99eb8f36cc399cbdf8b7ed6f66b06173e57943 Issue-ID: CCSDK-54 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-21Install sdnc-core-utils featureDan Timoney2-0/+2
Update odlsli container to install new sdnc-core-utils feature. Change-Id: I315d35387257b91e5f8f0bdf24f7ad43f43ffb99 Issue-ID: CCSDK-54 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-19Fix dblib driver propertyDan Timoney1-1/+1
dblib.properties file contains wrong name for JDBC driver property Change-Id: I989ef7076bbadb44e3be9554fe39384ef685ca82 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-18Copy logging config to docker-stagingMarcus G K Williams1-0/+19
Issue-Id: CCSDK-71 Change-Id: I1824228951dd38938216ee4bb242c516ed870e55 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-18Merge "Add Graph/Node to org.ops4j.pax.logging.cfg"Dan Timoney2-0/+66