summaryrefslogtreecommitdiffstats
path: root/conductor/docker
AgeCommit message (Collapse)AuthorFilesLines
2018-03-16All compnents on Single docker imageIkram Ikramullah6-120/+12
Made changes to docker settings to make a single image instead of multiple. Also made changes to the run and build scripts to work on this single image. The data component requires certs, keys and ca bundles settings too. For this, made changes to the run script. Also, do to this, added the feature of picking the default values from the current directory if arguments are not provided to the run-docker.scripts. For example: sudo ./run-dockers.sh will run without providing any arguments to it IF the directory from where it is run has these files in it. 1. conductor.conf -- configuration file 2. log.conf -- log settings files 3. aai_cert.cer 4. aai_key.key 5. aai_ca_bunlde.pem (pem) file The first two from the above have been created and provided in the current directory (has/). However, since certs will be different from env to env, the last three needs to be provided either by copying in the current direcotry or as the arguments 3, 4 and 5. The script will give a detailed message on what may be missing and how an attempt was made to get the default files. Checkt it out by playing with run-docker.sh file. Finally, the build script also calls the push script now. Since there can be no testing of this in ONAP artifcats prod BEFORE being merged to master, we can only test the push part once merged to master. Issue-ID: OPTFRA-123 Change-Id: I83c54c97953b71aae18166b937dd89195e705f73 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-03-14Docker dir - removed unused conf fileIkram Ikramullah1-340/+0
Removed file not needed for docker images. (conductor.conf). Also, added a remove-images.sh to remove images if needed. Issue-ID: OPTFRA-123 Change-Id: I7494a47da268a229d3d6730eb23fd5a5deb27653 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-03-12Moved all docker files moved to main folderIkram Ikramullah (ikram@research.att.com)4-63/+0
Issue-ID: OPTFRA-123 Change-Id: I9334bda9ef05ed18c4e1fe35616b53e9ba128dc1 Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
2018-03-08Merge "Added unit test cases for data component"Shankaranarayanan Puzhavakath Narayanan1-3/+3
2018-03-07Added unit test cases for data componentrl001m1-3/+3
Added Python unit test cases for aai.py file in data component. Modified the code in aai.py to make it test-driven. Issue-ID: OPTFRA-79 Change-Id: I5c912c8a13226c6dada921f255a030e798665938 Signed-off-by: rl001m <ruilu@research.att.com>
2018-03-07Corrected Docker FilesIkram Ikramullah (ikram@research.att.com)10-29/+105
Note: we've been running conductor/has using the source distribution (sdist) Running the git glone instead of going for the artifacts - will do the sdist based execution soon once the blocker for functional testing is removed. Also, added push script for docker images. Issue-ID: OPTFRA-123 Change-Id: I733113d217157828322ebc2464351abdc0752be6 Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
2018-02-19Fixed another DockerfileIkram Ikramullah1-1/+1
data component docker file was pointing to wrong repo. Fixed that to point to onap Issue-ID: OPTFRA-123 Change-Id: Ia02c97ebb8f43da21aed897cfb00e14adf7bb54d Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-02-15Added version.propertiesIkram Ikramullah5-30/+104
Issue-ID: OPTFRA-124 Change-Id: I18d4ab0dd301ecf85e398c8a521e60ebbe686cf5 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-02-14Dockerization EffortIkram Ikramullah8-0/+418
Added files to run components of conductor in docker. There is a build script and a run script. Run script has instructions on how to run the containers. Issue-ID: OPTFRA-123 Change-Id: Id55a25b3c54e19728ca218e7d98e20af0630a383 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>