aboutsummaryrefslogtreecommitdiffstats
path: root/packages/docker/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-10Merge "[Docker] Revert use of Java11"Steve Smokowski3-9/+24
2020-03-10[Docker] Revert use of Java11Sylvain Desbureaux3-9/+24
But keep use of non root user Issue-ID: SO-264 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Idde810bc130350070f65236633d4e89298d14d3b
2020-03-08Added git attributes to convert line endings toBoslet, Cory1-0/+5
Added git attributes to convert line endings to unix on checkout for .sh files Issue-ID: SO-2717 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I30cf53f6e89f447400ce51217ca4238b46f8fa23
2020-03-04Use base image for SO dockersSylvain Desbureaux3-29/+8
ONAP now has a specific base image for all containers using Java. This commit uses this file instead of creating a base image only for SO. Issue-ID: SO-2694 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9578e4d5556bd175ad65c6d2f9ce917997651c7a
2020-02-15Added AAF SSL certs related changesRamesh Parthasarathy4-28/+0
Removed client certs from the docker image. These client certs will be mounted on the docker image using helm charts. This will allow helm users to manage AAF credentials using the keyfile available in SO OOM for CADI AAF feature. Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com> Change-Id: I03efc6ad279f0eaf6773b0ddd42ab43fc053e424
2020-02-12Added AAF SSL certs related changesRamesh Parthasarathy1-0/+20
if AAF_SSL_CERTS_ENABLED environment variable is turned on it will try initialize other environment variables related to AAF SSL certs. SO OOM application overrides will be dynamically configured whether or not to use AAF SSL certs. Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com> Change-Id: I46eb8fa2f8f790232635a3e1926fd2464c48d173
2019-11-21Added AAF Integration related changesRamesh Parthasarathy5-1/+33
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-10-15Changing log level for org.reflectionswaqas.ikram1-181/+177
Change-Id: I901a640889cf935325524fc99303aa8e77f60ed7 Issue-ID: SO-2358 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-10-08VNFM Simulator Removed. Moved to CSIT.AndrewLamb1-4/+0
Change-Id: I6c439615d52751578200ef84aacb20b0263b3846 Issue-ID: SO-1952 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2019-09-10Integrate Logging LibraryPlummer, Brittany1-17/+18
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-08-26Added default value for when ErrorCode is null inBoslet, Cory1-13/+13
Added default value for when ErrorCode is null in mdc test to see if 404 log gets enhanced by change. Removed test id from class that was put to test via docker. Removed setting of partner name and tested with using try/catch Reverted change to request uri filter per comments Removed the request filter uri class that rerouted old uri orders Removed request filter from jersey config files Updated junit test that were pointing to the old uri to be failure test corrected formatting issues on ServiceInstancesTest Issue-ID: SO-2259 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id8f9daef139a82ee9e934d4d37906ffb7a7aadff
2019-04-19Build platform/cpu-agnostic SO container images on Arm platformBin Lu1-1/+1
Change-Id: Ifafbf5db2eaa6c31d7332697bf650633bfc307ea Signed-off-by: Bin Lu <bin.lu@arm.com> Issue-ID: INT-548
2019-04-09Added VNFM Simulator projectrokenny1-0/+4
Change-Id: I9b84164dc189128eed8d09b6ce69fc5d5fd78348 Issue-ID: SO-1618 Signed-off-by: rokenny <ronan.kenny@est.tech>
2019-03-27Added nss library to avoid ssl errorsRamesh Parthasarathy1-1/+1
Added nss library to the docker file to avoid ssl errors with alpine openjdk version "1.8.0_201" and above Change-Id: I42a2dae07a5d3ab4a505adbc9caa85c441f2e0a8 Issue-ID: SO-1675 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2018-11-21Fix PropertySmokowski, Steve (ss835w)1-1/+1
Issue-ID: SO-1237 Change-Id: I02484fbe6141e3f58e7d357d7866e44fd6e475d1 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-20Update LoggingSmokowski, Steve (ss835w)2-198/+172
Update logging to meet Casablanca Spec Change-Id: I029d6c63765992d6f091d96e2b4c34c60d30c484 Issue-ID: SO-947 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-19Addition of Dockerfile/logback for SO-Monitoringroot1-0/+4
Creating and adding the files required to include SO-Monitoring's docker image in the full SO build. Change-Id: I72cec6f51b8935f39757415eea7d8b961b8c8cd6 Issue-ID: SO-855 Signed-off-by: rope252 <gareth.roper@ericsson.com>
2018-09-12Add onap-ca.crt to dockerBrian Freeman2-1/+33
Issue-ID: SO-1031 Change-Id: Ib301c81bdd5683daf59345ec0a006253fe2c096a Signed-off-by: Brian Freeman <bf1936@att.com>
2018-09-04Fix LogbackSmokowski, Steve (ss835w)1-1/+0
Issue-ID: SO-974 Change-Id: Id553bc9f736f8e7cbefe3c29a56711712f082d5c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-31Update LoggingSmokowski, Steve (ss835w)1-23/+2
Add CXF interceptor for SOAP based logging Clean up extra logging statements Add UT to ensure MDC properly populated Change package name on Jax-RS Filter to be more accurate Issue-ID: SO-947 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-23Rename asdc-controller docker imageRob Daugherty1-1/+1
OOM would like it to be called onap/so/sdc-controller. Change-Id: Ifa37b4fa62f214a1ff56e31c4f4f4eca5b4566fc Issue-ID: SO-897 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-21openstack_adapter container fails to startRob Daugherty1-1/+2
The reported problem occurs because the openstack-adapters app is attempting to do a migration on top of a migration already performed by the catalog-db app. I'm adding these options to flyway in openstack-adapters: baseline-on-migrate: true validate-on-migrate: false Another issue is that the java-based CloudConfig migration class was looking for CloudConfig data only in the application.yaml file in the classpath. It was not looking for CloudConfig data in the override file. I've changed this logic to look in the override file first and then in application.yaml. Ideally, these sources would be merged, but I don't see a reasonable way to do it. Change-Id: I7ba07c1f8f00b4c628e825393ee31502950fe592 Issue-ID: SO-868 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-20Docker naming conventionRob Daugherty1-1/+1
SO is not following the naming convention. Docker image names should have an "onap" prefix. The image names are changed as follows: so/catalog-db-adapter --> onap/so/catalog-db-adapter so/request-db-adapter --> onap/so/request-db-adapter so/sdnc-adapter --> onap/so/sdnc-adapter so/openstack-adapter --> onap/so/openstack-adapter so/vfc-adapter --> onap/so/vfc-adapter so/asdc-controller --> onap/so/asdc-controller so/bpmn-infra --> onap/so/bpmn-infra so/api-handler-infra --> onap/so/api-handler-infra A corresponding change is needed in INT's docker-manifest.csv. Change-Id: I024e42607d5fc57a712ad67709f241ee8720a670 Issue-ID: SO-870 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-10Fix Session TimeSmokowski, Steve (ss835w)1-1/+1
Fix session times taking too long to create, which is causing fallout in heat environments Issue-ID: SO-845 Change-Id: I6655507bd062ed42c0f2062edd4edfb580dca194 Change-Id: I6655507bd062ed42c0f2062edd4edfb580dca194 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-03Support for docker-compose in heat environmentRob Daugherty19-1244/+109
Enhanced the application startup script and renamed it. Removed unused files. Note that everything in catalog-db-adapter's afterMigrate.sql script has been commented out. It needs work to match the current schema. Change-Id: I7b738ca13599476b9720bdb4a9aebaf3a9f86736 Issue-ID: SO-710 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-01Build docker imagesRob Daugherty4-0/+271
so/catalog-db-adapter so/requests-db-adapter so/sdnc-adapter so/openstack-adapters so/asdc-controller so/bpmn-infra so/api-handler-infra Base image is alpine with openjdk. Change-Id: Ied96227aa48cd5c1420ac328e251f601020a0679 Issue-ID: SO-780 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)1-1/+1
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-17dmaap host and port configuration for pnf featureLukasz Muszkieta1-3/+2
Change-Id: I4d13dce0b8819aa3d1e9848b9a39a43456dc1f30 Issue-ID: SO-466 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-05-23Fix library CVEs in SOchenying831-15/+33
Fix additional CVEs: berkeleydb For CVE-2016-3418 CVE-2016-0694 CVE-2016-0689 CVE-2016-0682 commons-email For CVE-2017-9801 jasypt For CVE-2014-9970 jetty For CVE-2017-9735 libxi For CVE-2016-7946 CVE-2016-7945 netty For CVE-2016-4970 xalan For CVE-2014-0107 Issue-ID: SO-579 Change-Id: Ifbc606367f2553f28b10b8a9644ece7785de6405 Signed-off-by: chenying83 <chenying83@huawei.com>
2018-04-26Fix library CVEs in SOchenying831-1/+1
Fix additional CVEs: commons-fileupload 1.3.3 For CVE-2016-1000031 logback 1.1.11 For CVE-2017-5929 springframework 4.3.14.RELEASE For CVE-2014-0225 CVE-2015-5211 Issue-ID: SO-579 Change-Id: I94f8332d420d2586262260a0a59a645f0de66b73 Signed-off-by: chenying83 <chenying83@huawei.com>
2018-04-23Fix library CVEs in SOchenying831-4/+57
Fix additional CVEs: Also refactored to use ubuntu apt repos instead of manually installing from launchpad. Issue-ID: SO-579 Change-Id: I58e29a7e0188452789741087bc9c4af82f102b09 Signed-off-by: chenying83 <chenying83@huawei.com>
2017-12-28Fixed git clone to point at gerritdfilppi1-5/+20
Change-Id: Idbec6e7239f526cb236212aa0509218218f60b1d Issue-ID: SO-365 Signed-off-by: DeWayne Filppi <dewayne@cloudify.co>
2017-11-14Add the --fresh option to update-ca-certificatesRob Daugherty1-1/+1
This will allow a certificate to be replaced with a new one. Issue: SO-342 Change-Id: I07dafe4aa4a8603de400913d3e4bdf709fd4daae Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-10-25Add wait-for.sh to control container boot orderSylvain Desbureaux2-1/+88
also install nc in order to make wait-for script works Change-Id: Id21f96bbf546542bf930c3faf33117a1434eeeee Issue-ID: SO-208 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2017-10-04Remove HeatBridge for nowDeterme, Sebastien (sd378r)1-4/+4
Remove python HeatBridge as it's breaking the docker build Change-Id: I4f24ccfccbd631218fe0d39af93f8edb030dcf12 Issue-ID: SO-182 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-09-26HeatBridge integration with Orchestration, part 1Arthur Martella2-0/+6
Adding Heatbridge python code and call into SO. Still needs configuration to be complete. Change-Id: I4869217699d857e27579decce91e9c542ce7a449 Issue-ID: SO-1 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-09-21Create /etc/mso/config.d/ASDC at install timeRob Daugherty2-0/+4
This directory is where the ASDC controller spools received CSARs. Change-Id: If8ea5463145f821bb34acae44ab03d0f287fea2b Issue-id: SO-131 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-09-07updated ARIA versiondfilppi1-1/+1
Change-Id: Ie0948e048a52a8743b919319cca78376e0dfea13 Issue-id: SO-104 Signed-off-by: DeWayne Filppi <dewayne@cloudify.co>
2017-08-10Merge "Fix typo"Seshu Kumar M1-1/+1
2017-08-03Added copyright headerdfilppi1-0/+18
Change-Id: I5ff93b3d7b2c71c30a618b3224226b37bc18c05e Signed-off-by: DeWayne Filppi <dewayne@gigaspaces.com>
2017-07-31added dockerfile for Ariadfilppi1-0/+11
Change-Id: I8b39268b774649b0da95162de6acdc03a6809224 Signed-off-by: DeWayne Filppi <dewayne@gigaspaces.com>
2017-07-18Updating Dockerfile & .gitreviewJulienBe5-8/+8
Moving maintainer to ONAP Updating Label to ONAP & SO .gitreview pointing to so.git Change-Id: I9fe96f88cb742cefd6ddc7fbdd4f25f264e3e0be Signed-off-by: JulienBe <jb379x@att.com>
2017-07-13Fix typoChuck Short1-1/+1
Dockerfile refers to Ubuntu not Fedora. Change-Id: Id7a76c85035d24c4591d71e40feba52f74c94c0e Signed-off-by: Chuck Short <charles.short@ericsson.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y2-2/+4
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-03-08Do not start chef-solo if mso-docker.json is emptyAlexis de Talhouët1-3/+8
Chef-solo is started both from the docker container [1] and from the start-jboss-server.sh script [2]. The Dockerfile is configured to erase the mso-docker.json configuration once applied, so when the container is started, and the strat-jboss-server.sh tries to play the recipes again, it fails as the environment file is empty. This patch adds a check to see if the file is empty, if not, we play the chef-solo recipes again, to overwrite the config. [1]: https://gerrit.openecomp.org/r/gitweb?p=mso.git;a=blob;f=packages/docker/src/main/docker/docker-files/Dockerfile.mso-chef-final;h=ff7f44bcfdba6fa0328cbd50803d3dc80a2a1def;hb=refs/heads/master#l57 [2]: https://gerrit.openecomp.org/r/gitweb?p=mso.git;a=blob;f=packages/docker/src/main/docker/docker-files/scripts/start-jboss-server.sh;h=2e9b9da27dd3d01fcf5ebc304ac03b15142fde53;hb=refs/heads/master#l16 Change-Id: I34573dedaaafbeb6b511f47b72e6e0cefea4e1d5 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-03-07Remove AT&T HTTP proxy URL from Dockerfile(s)Alexis de Talhouët1-3/+3
As this is now open-source code, they shouldn't be any reference to AT&T proxy settings. One can still configure the HTTP proxy by providing its proxy address, and by enabling it in docker-files/settings.xml. Change-Id: I190dc9e01349a9948b2103fb1791191e89b7399d Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-02-16Docker should clone config firstAnaël Closson1-1/+0
Mso-config and chef-config repos should be clone for docker image builds. Those repositories are taken from official openecomp.org repositories. Change-Id: I754472cc2e28c2ec2021b2c853566e12f8c9fe6b Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-09Remove repositories as Docker files dependencyAnaël Closson6-368/+29
Docker files used to clone git repositories for internal configuration managements. The git repositories should now be clone outside of the image building process and put in a specific directory. See src/main/docker/docker-files/chef-configs/readme.md. Change-Id: I4f8700b5f6e89821d223b7bacae51effb95daf9f Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-02-08Update naming to match openecompAnaël Closson6-15/+14
Change-Id: I972f55fa679958e5d76076d991a0a1de3a7d1de1 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC17-0/+1458
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>