summaryrefslogtreecommitdiffstats
path: root/conductor
AgeCommit message (Collapse)AuthorFilesLines
2018-03-02Fixing setup.cfg too like setup.pyIkram Ikramullah (ikram@research.att.com)2-1/+72
Changed email-ids to those of contributors in already existing files (files setup.cf was only copied from one direcotry to another) Issue-ID: OPTFRA-160 Change-Id: Ic87251654d5ffc9db496da40f6dd8d507ac5dcab Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
2018-03-02Fixed location for setup.pyIkram Ikramullah (ikram@research.att.com)1-0/+34
Looks like our daily job will fail if setup.py is not where it currently resides (higher folder). But if kept there, pip install wont work since it wont be part of the package created and uploaded. Moving it to both places for now for both items to work. Note: A restructuring is already in the plans to bring this 'multi-module' (so-called) structure to one straight strucutre. In that restucturing setup.py would eventually be in one place anyways. Issue-ID: OPTFRA-160 Change-Id: Ib9ff7a273d6cf1e0c00bb74e562f268e8a569d48 Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
2018-03-01Added unit tests for Data moduleDileep Ranganathan5-0/+322
Unit test for conductor/data Change-Id: I62e95824a8191adacd630746dc0101660d480886 Issue-ID: OPTFRA-70 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-01Integrate optf/has with SonarDileep Ranganathan1-1/+1
Added sonar properties for python related config Added custom inclusion/exclusion patterns which could be leveraged Change-Id: I3992a9120a30555fc933c1b052984367af69e4da Issue-ID: OPTFRA-101 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.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-19Correct Placement for version.propertiesIkram Ikramullah1-28/+0
Looks like jenkins parent jobs expect the verison.proeprties file to be one step higher than where it resides rihgt now. Fixed, this - hopefully next jenkins daily job will succeeed. Issue-ID: OPTFRA-124 Change-Id: I3444860123f347bbd532466f7ba7d509831b9af6 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-02-16Merge "Added unit tests for conductor.common.music module"Shankaranarayanan Puzhavakath Narayanan3-0/+250
2018-02-16Merge "Added more Unit tests for conductor/api module"Shankaranarayanan Puzhavakath Narayanan3-9/+103
2018-02-15Added version.propertiesIkram Ikramullah6-30/+132
Issue-ID: OPTFRA-124 Change-Id: I18d4ab0dd301ecf85e398c8a521e60ebbe686cf5 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-02-15Added unit tests for conductor.common.music moduleDileep Ranganathan3-0/+250
Unit tests for music api Change-Id: I9e239c23c0d3d81a860b121c7f8e462815068b31 Issue-ID: OPTFRA-68 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.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>
2018-02-13Added more Unit tests for conductor/api moduleDileep Ranganathan3-9/+103
Fixed the MUSIC rpc mock for plans api Issue-ID: OPTFRA-68 Change-Id: Ic0075c1816ed84133b2248e1b91e5e39ff4866d8 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-12Modified tox.ini for coverageDileep Ranganathan1-1/+1
Changed tox.ini to omit tests/*.py from coverage report Change-Id: Ia4f43a229cd749d8f7eab933bf40ba9319512282 Issue-ID: OPTFRA-79 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-11Unit Tests for Conductor/api moduleDileep Ranganathan5-2/+72
Created Unit Tests for PlansController Change-Id: I075ef2289548fa5afc2024173866307d174ea3d5 Issue-ID: OPTFRA-68 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-11Unit test for RootController and V1ControllerDileep Ranganathan7-3/+111
Addedd unit tests for RootController and V1Controller Updated tox.ini to support coverage Change-Id: I3adf9d2268776382ff1f067857947af9718c9ac8 Issue-ID: OPTFRA-68 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-10BaseApiTest class for conductor api moduleDileep Ranganathan2-0/+81
BaseTest class for all tests in conductor api module Uses pecan.testing, Mock MUSIC API Change-Id: I720a4aa7edd4a975ef7ec50bb6647b5825129a67 Issue-ID: OPTFRA-81 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-08Copyright Messages CleanupIkram Ikramullah29-394/+63
Tox and pep8 failed due to multiple reason causing our verify-python jobs to fail. One reason being the failure of test cases. Added sample test case for developers to follow. Another reason was the Copyright message appearing in supposedly empty package files. Removed copyright messages so pep8 can succeed. Issue-ID: OPTFRA-78 Change-Id: If7e4b28e2dabdba194e31a67da4647a342a7630f Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-02-06Added missing .testr.conf in conductorDileep Ranganathan2-1/+9
Missing .testr.conf is added. Bumped os-testr version in test-requirements.txt to 1.0.0 Issue-ID: OPTFRA-76 Change-Id: Icaacf67402be4ba6edbdc3edc587dc0e95166f30 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-06Fixed pep8 issues inside HASYing Ruoyu28-37/+25
Fixed pep8 issues including indentation, blank lines etc. In translator.py, errors.py etc. Change-Id: I73ea2815afded379926acccdc6796391e7540e32 Issue-ID: OPTFRA-61 Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
2018-02-05Merge "Fixed some pep8 issues"Shankaranarayanan Puzhavakath Narayanan4-42/+39
2018-02-01Fixed some pep8 issuesDileep Ranganathan4-42/+39
Fixed pep8 issues like optimizing import ordering, indentation etc. in aa.py, opts.py, service.py Change-Id: I235909f353cbb47e1c3e2c13d341a098d375d564 Issue-ID: OPTFRA-61 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-01-31Copyright Message in 'empty' filesIkram Ikramullah1-19/+0
While packaging/verification of the jjb job, saw error (on many files, not just this) that the file cannot have 'only comments in it' - since all the ONAP files need to have this copyright message, these __init__.py (a module specifier marker file only) can be excluded from this requirement? - This will be a good test for our jjb tempaltes as well. Change-Id: I7d297338f31327aac94947d31a831b53e0913814 Issue-ID: OPTFRA-60: Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-01-29Add intial pom.xml inheriting from oparent-pythonDileep Ranganathan2-0/+92
Created pom.xml for integrating with ci Change-Id: Ie6bec4b7d4d3bf4b86074b7405f882fee0bccab9 Issue-ID: OPTFRA-59 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2017-12-19Fixed the pip installation command in README filerl001m1-2/+2
Removed the 'ecomp' related command in README.md Change-Id: I0129d1bd29ffc0c19db788a5ccab4a46cbc2d70f Issue-ID: OPTFRA-11 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Merge "Added all common modules in conductor directory"Shankaranarayanan Puzhavakath Narayanan81-0/+6635
2017-12-17Merge "Added api directory to the repository"Shankaranarayanan Puzhavakath Narayanan13-0/+1197
2017-12-17Merge "Added reservation directory to the repository"Shankaranarayanan Puzhavakath Narayanan2-0/+390
2017-12-17Merge "Added data directory to the repository"Shankaranarayanan Puzhavakath Narayanan12-0/+1937
2017-12-17Merge "Added solver directory to the repository"Shankaranarayanan Puzhavakath Narayanan34-0/+2596
2017-12-17Added data directory to the repositoryrl001m12-0/+1937
Added the HAS-Data module in ONAP Change-Id: Iac9774f8d88bff672c35e5cbab29bd4397012c73 Issue-ID: OPTFRA-12 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Added reservation directory to the repositoryrl001m2-0/+390
Added the HAS-Reservation module in ONAP Change-Id: I34930fc94b70b2813917f390ba02a23291059b8a Issue-ID: OPTFRA-16 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Added api directory to the repositoryrl001m13-0/+1197
Added the HAS-API module in ONAP Change-Id: Ie4a3b3d2f478abbf4878a4c618a568d7f07c4fa3 Issue-ID: OPTFRA-15 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Added solver directory to the repositoryrl001m34-0/+2596
Added the HAS-Solver module in ONAP Change-Id: I5567e3976ad0dc693eb2adc2f479987001b14770 Issue-ID: OPTFRA-14 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Added controller directory to the repositoryrl001m5-0/+1207
Added the HAS-Controller module in ONAP Change-Id: I8ef7fcee936f3a607069b8d5da65beb0210a784c Issue-ID: OPTFRA-13 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-17Added all common modules in conductor directoryrl001m81-0/+6635
Added the common modules used by all the other components of Homing Optimizer. Change-Id: I6e8a991b54ef422da66b3174f27f6998731ec188 Issue-ID: OPTFRA-11 Signed-off-by: rl001m <ruilu@research.att.com>
2017-12-15Added conductor directory and README filerl001m1-0/+16
Added conductor directory and README file. The README file contains the description of ONAP Condcutor and license. Change-Id: I8dd6b65152f45ff6102dcdc0ba99c31c42d958ea Issue-ID: OPTFRA-10 Signed-off-by: rl001m <ruilu@research.att.com>