optf/has.git
6 years agoAdd flavor label mapping to Homing response 27/36827/4
Dileep Ranganathan [Mon, 19 Mar 2018 13:11:19 +0000 (06:11 -0700)]
Add flavor label mapping to Homing response

Added flavors to the recommendation JSON response from HAS

Change-Id: I7f993dba59d7a07866a2383567c75efe960e601a
Issue-ID: OPTFRA-182
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoData Service RPC for HPA 73/36073/7
Dileep Ranganathan [Thu, 15 Mar 2018 11:03:24 +0000 (04:03 -0700)]
Data Service RPC for HPA

Implemented RPC for get candidate list with hpa flavor mapping
Added unit tests for get_candidates_with_hpa

Issue-ID: OPTFRA-183
Change-Id: I9db74499ba964341368542b339163c3803e0924e
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoHPA Constraint solver plugin 71/36071/6
Dileep Ranganathan [Wed, 14 Mar 2018 22:17:06 +0000 (15:17 -0700)]
HPA Constraint solver plugin

Implement hpa constraint plugin and implement solve method
Initialize HPA constraint per solver request
Reordered constraint ranking
Implemented RPC invocation to data plugin for matching hpa

Change-Id: I5d63464b6bff6abc10599e000b2b56f926f146f9
Issue-ID: OPTFRA-178
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoMerge "Fix Exception in resolve_demands RPC"
Shankaranarayanan Puzhavakath Narayanan [Sat, 24 Mar 2018 02:12:13 +0000 (02:12 +0000)]
Merge "Fix Exception in resolve_demands RPC"

6 years agoMerge "Accommodate Changes for Music 2.4.x"
Shankaranarayanan Puzhavakath Narayanan [Fri, 23 Mar 2018 20:28:10 +0000 (20:28 +0000)]
Merge "Accommodate Changes for Music 2.4.x"

6 years agoAccommodate Changes for Music 2.4.x 93/38093/1
Ikram Ikramullah [Fri, 23 Mar 2018 13:38:24 +0000 (09:38 -0400)]
Accommodate Changes for Music 2.4.x

Issue-ID: OPTFRA-199
Change-Id: Ieadb1ae38621cd406af384458a9fce6ffdd15f0c
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
6 years agoFix Exception in resolve_demands RPC 05/37905/1
Dileep Ranganathan [Thu, 22 Mar 2018 17:07:01 +0000 (10:07 -0700)]
Fix Exception in resolve_demands RPC

'keyspace' is missing in the context parameter
passed to the resolve_demands rpc from translator

Change-Id: Ic9a3a11232ec558daa89890f904b4ee485ad3c50
Issue-ID: OPTFRA-198
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoMerge "Added vim-id attribute for Homing Candidates"
Shankaranarayanan Puzhavakath Narayanan [Thu, 22 Mar 2018 20:27:10 +0000 (20:27 +0000)]
Merge "Added vim-id attribute for Homing Candidates"

6 years agoHPA Enablement for A&AI data plugin 99/35699/4
Dileep Ranganathan [Tue, 13 Mar 2018 14:07:14 +0000 (07:07 -0700)]
HPA Enablement for A&AI  data plugin

Implemented HPA Enablement feature support for A&AI data plugin
Added flavors and hpa-capability child nodes to cloud-region cache.
Added unit tests for _get_flavors
Modified unit tests for resolve_demands

Change-Id: Ifeedb5f53a351079e8adbd42d216633062c36e1b
Issue-ID: OPTFRA-167
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoadd first seed of aaisim 51/37151/1
Leonardo Bellini [Tue, 20 Mar 2018 14:57:31 +0000 (09:57 -0500)]
add first seed of aaisim

Issue-ID: OPTFRA-192

Change-Id: I8347b99dbf09514dab7daa2f8e7bb8abc0122d54
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
6 years agoMerge "Update oparent-python version for optf/has"
Sastry Isukapalli [Sun, 18 Mar 2018 02:54:08 +0000 (02:54 +0000)]
Merge "Update oparent-python version for optf/has"

6 years agoAdded vim-id attribute for Homing Candidates 29/36329/1
Dileep Ranganathan [Fri, 16 Mar 2018 18:45:18 +0000 (11:45 -0700)]
Added vim-id attribute for Homing Candidates

Added vim-id attribute to both cloud and service candidate
Updated unit tests for aai.py

Change-Id: I3e1faf89c0490690b3988bb6d466dfbd534e37b6
Issue-ID: OPTFRA-187
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoAll compnents on Single docker image 91/35991/2
Ikram Ikramullah [Wed, 14 Mar 2018 15:37:06 +0000 (11:37 -0400)]
All compnents on Single docker image

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>
6 years agoUpdate oparent-python version for optf/has 87/35887/2
Dileep Ranganathan [Wed, 14 Mar 2018 22:22:03 +0000 (15:22 -0700)]
Update oparent-python version for optf/has

Change-Id: Ice973735086d9412220256678b1d0f71ca9ff979
Issue-ID: OPTFRA-184
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoMerge "Docker dir - removed unused conf file"
Shankaranarayanan Puzhavakath Narayanan [Thu, 15 Mar 2018 14:25:36 +0000 (14:25 +0000)]
Merge "Docker dir - removed unused conf file"

6 years agoMerge "Adding more unit tests and .coveragerc"
Sastry Isukapalli [Thu, 15 Mar 2018 02:28:32 +0000 (02:28 +0000)]
Merge "Adding more unit tests and .coveragerc"

6 years agoDocker dir - removed unused conf file 87/35787/2
Ikram Ikramullah [Wed, 14 Mar 2018 15:37:06 +0000 (11:37 -0400)]
Docker dir - removed unused conf file

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>
6 years agoMerge "Added more unit test cases in aai.py file"
Shankaranarayanan Puzhavakath Narayanan [Wed, 14 Mar 2018 03:19:17 +0000 (03:19 +0000)]
Merge "Added more unit test cases in aai.py file"

6 years agoAdded more unit test cases in aai.py file 51/35551/1
rl001m [Tue, 13 Mar 2018 18:36:52 +0000 (14:36 -0400)]
Added more unit test cases in aai.py file

Added more unit tests for AAI.
get_aai_rel_link and get_aai_rel_link_data Usage

Change-Id: Ie5bc835013da5333b7e2c6f19f48ad8910793643
Issue-ID: OPTFRA-101
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoCorrected Nexus Package content 31/35531/1
Ikram Ikramullah (ikram@research.att.com) [Tue, 13 Mar 2018 16:45:36 +0000 (12:45 -0400)]
Corrected Nexus Package content

Before dockerzation can proceed, contents of
the package must be correct. Few folders/files were missing.
Changed assembly.xml to include all but the ones that are
not needed.

Also, removed files from conductor/conductor folder that were
thought to have contributed to the correction of the package
initially.

conductor/conductor/README.rst
conductor/conductor/README.md
conductor/conductor/setup.py
conductor/conductor/setup.cfg

These files are actually not needed in that level
of folder (conductor/condcutor) - They should exist only on the
main conductor/ folder.

Issue-ID: OPTFRA-123
Change-Id: I006694ddc8e7e5de21ad17fb0d4720c5b19dc960
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
6 years agoMerge "Fixed Controller unit tests and UnboundlocalError"
Shankaranarayanan Puzhavakath Narayanan [Tue, 13 Mar 2018 02:20:22 +0000 (02:20 +0000)]
Merge "Fixed Controller unit tests and UnboundlocalError"

6 years agoFixed Controller unit tests and UnboundlocalError 53/34653/4
Ying Ruoyu [Thu, 8 Mar 2018 11:14:39 +0000 (19:14 +0800)]
Fixed Controller unit tests and UnboundlocalError

Fix parse_optimization function in translator.py
Defined and initialized variable function in the scope
Fix unit test for parse_optimization function
Add condition variable in function row_update in api.MockAPI

Change-Id: I2f08bcfc001e9ccb22a7315d243006a1995edc81
Issue-ID: OPTFRA-69
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
6 years agoAdd homing specification guide 49/35349/1
Shankar Narayanan [Tue, 13 Mar 2018 01:44:43 +0000 (21:44 -0400)]
Add homing specification guide

Add the homing specification guide in rst format. This should be in sync with doc/template/README.md

Issue-ID: OPTFRA-174
Change-Id: I972aa837fe520ade884b8254216bcf5f306e2ff8
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
6 years agoAdd homing specification guide 47/35347/1
Shankar Narayanan [Tue, 13 Mar 2018 01:38:32 +0000 (21:38 -0400)]
Add homing specification guide

Add the homing specification guide in the rst format. Need to keep this in sync with doc/template/README.md.

Issue-ID: OPTFRA-174
Change-Id: I8b16f21d9657838577a8dc5788b522d4577bf190
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
6 years agoMoved all docker files moved to main folder 51/35251/1
Ikram Ikramullah (ikram@research.att.com) [Mon, 12 Mar 2018 16:39:31 +0000 (12:39 -0400)]
Moved all docker files moved to main folder

Issue-ID: OPTFRA-123
Change-Id: I9334bda9ef05ed18c4e1fe35616b53e9ba128dc1
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
6 years agoMerge "Add INFO.yaml file"
Shankaranarayanan Puzhavakath Narayanan [Mon, 12 Mar 2018 13:10:23 +0000 (13:10 +0000)]
Merge "Add INFO.yaml file"

6 years agoAdd INFO.yaml file 65/33565/3
Jessica Wagantall [Thu, 1 Mar 2018 08:12:36 +0000 (00:12 -0800)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I726b06556d7d2ff1fcde75522e38678eb367aa6d
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoAdding more unit tests and .coveragerc 39/34739/4
Dileep Ranganathan [Thu, 8 Mar 2018 02:33:33 +0000 (18:33 -0800)]
Adding more unit tests and .coveragerc

Added more unit tests for DataEndpoint class
Usage of pragma reverted

Change-Id: Id8d4ff76c3ca75a2538352b7eb29b87b1a598794
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoAdded more unit test cases in data component 59/34859/1
rl001m [Thu, 8 Mar 2018 23:10:12 +0000 (18:10 -0500)]
Added more unit test cases in data component

Modified the test_resolve_demand unit test, and added more test cases for aai.py file. The aai.py test coverage is 72% and total test coverage is 46%.

Change-Id: I6e5ea02fc2f32d8ab20830c4bcf40744c59113e2
Issue-ID: OPTFRA-79
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoFixed major bug in sonar report 23/34623/1
Dileep Ranganathan [Wed, 7 Mar 2018 19:00:36 +0000 (11:00 -0800)]
Fixed major bug in sonar report

Remove or correct variable self-assignment

Change-Id: I21204b8c72b0f1890fe1278764da070013c69b34
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoModified unit tests for Controller Module 29/34429/2
Ying Ruoyu [Wed, 7 Mar 2018 14:21:40 +0000 (22:21 +0800)]
Modified unit tests for Controller Module

Unit test for translator.py, rpc.py and translator_svc.py in conductor/controller

Change-Id: I382078152d7708b6946b68902151529dcf1f3be4
Issue-ID: OPTFRA-69
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
6 years agoMerge "Fix UnboundlocalError in translator.py"
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:33:36 +0000 (01:33 +0000)]
Merge "Fix UnboundlocalError in translator.py"

6 years agoMerge "Fix unreadable characters in tox tests"
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:30:47 +0000 (01:30 +0000)]
Merge "Fix unreadable characters in tox tests"

6 years agoMerge "Added unit test cases for data component"
Shankaranarayanan Puzhavakath Narayanan [Thu, 8 Mar 2018 01:09:41 +0000 (01:09 +0000)]
Merge "Added unit test cases for data component"

6 years agoAdded unit test cases for data component 85/34585/1
rl001m [Wed, 7 Mar 2018 21:53:50 +0000 (16:53 -0500)]
Added unit test cases for data component

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>
6 years agoMerge "Corrected Docker Files"
Shankaranarayanan Puzhavakath Narayanan [Wed, 7 Mar 2018 21:51:45 +0000 (21:51 +0000)]
Merge "Corrected Docker Files"

6 years agoCorrected Docker Files 67/34367/4
Ikram Ikramullah (ikram@research.att.com) [Tue, 6 Mar 2018 22:27:15 +0000 (17:27 -0500)]
Corrected Docker Files

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>
6 years agoFix unreadable characters in tox tests 87/34587/1
Dileep Ranganathan [Wed, 7 Mar 2018 14:58:12 +0000 (06:58 -0800)]
Fix unreadable characters in tox tests

Added subunit-trace -f command which was missing

Change-Id: I9e1f4f3a3430349ceff3ef3bbe62119468399340
Issue-ID: OPTFRA-164
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoFix UnboundlocalError in translator.py 83/34383/1
Dileep Ranganathan [Tue, 6 Mar 2018 17:48:40 +0000 (09:48 -0800)]
Fix UnboundlocalError in translator.py

Defined and initialized variable nested in the scope

Change-Id: Idfffc95490f8a11dd0377a8e50a4737e708ecfc7
Issue-ID: OPTFRA-163
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoFix Sonar coverage report 31/34331/4
Dileep Ranganathan [Mon, 5 Mar 2018 23:35:18 +0000 (15:35 -0800)]
Fix Sonar coverage report

Added maven-exec plugin to trigger tox and coverage
Modified sonar properties to set the path to reports
Modified .gitignore to add coverage related files
Added test dependency junitxml

Change-Id: I7e4bb5e4b6bc217b9778350c703d864e9f8ef0e2
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoFix Data module unit tests 99/34099/1
Dileep Ranganathan [Mon, 5 Mar 2018 10:14:46 +0000 (02:14 -0800)]
Fix Data module unit tests

New code checkin was breaking the tests.
Modified the data module unit tests to fix the breakage.

Change-Id: I30b566f771badc4799fdd9a5a946c8c058d2ea6a
Issue-ID: OPTFRA-162
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoMerge "Version.py must match setup.cfg"
Shankaranarayanan Puzhavakath Narayanan [Sun, 4 Mar 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Version.py must match setup.cfg"

6 years agoMerge "Add Active-Active code to has"
Shankaranarayanan Puzhavakath Narayanan [Sun, 4 Mar 2018 17:11:00 +0000 (17:11 +0000)]
Merge "Add Active-Active code to has"

6 years agoVersion.py must match setup.cfg 53/33953/2
Ikram Ikramullah (ikram@research.att.com) [Sun, 4 Mar 2018 16:10:14 +0000 (11:10 -0500)]
Version.py must match setup.cfg

pip install -e . command was failing due to project
name mismatch in version.py (pbr settings) and setup.cfg.

Also, README.rst is a required file - must be present in
the directory pip install is run from (needed by setup.py).

Copied README.rst (and its markdown counterpart - README.md)
to one level in (./conductor).

Issue-ID: OPTFRA-161
Change-Id: I76e8e9c7d303a1e82524635118af3de36bc1a361
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
6 years agoAdd Active-Active code to has 73/32973/10
Ikram Ikramullah [Tue, 27 Feb 2018 00:43:43 +0000 (19:43 -0500)]
Add Active-Active code to has

Added Active-Active setup related files (new and modifications)

Issue-ID: OPTFRA-150
Change-Id: I50964ae990a465d0f977a4dea512dd61b35e308d
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
6 years agoFixing setup.cfg too like setup.py 27/33827/2
Ikram Ikramullah (ikram@research.att.com) [Fri, 2 Mar 2018 17:24:35 +0000 (12:24 -0500)]
Fixing setup.cfg too like setup.py

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>
6 years agoMerge "Fixed location for setup.py"
Shankaranarayanan Puzhavakath Narayanan [Fri, 2 Mar 2018 16:48:41 +0000 (16:48 +0000)]
Merge "Fixed location for setup.py"

6 years agoFixed location for setup.py 23/33823/2
Ikram Ikramullah (ikram@research.att.com) [Fri, 2 Mar 2018 16:28:12 +0000 (11:28 -0500)]
Fixed location for setup.py

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>
6 years agoMerge "Add API documentation for optf-has"
Shankaranarayanan Puzhavakath Narayanan [Fri, 2 Mar 2018 16:17:18 +0000 (16:17 +0000)]
Merge "Add API documentation for optf-has"

6 years agoAdded unit tests for Data module 83/32783/3
Dileep Ranganathan [Thu, 15 Feb 2018 16:12:42 +0000 (08:12 -0800)]
Added unit tests for Data module

Unit test for conductor/data

Change-Id: I62e95824a8191adacd630746dc0101660d480886
Issue-ID: OPTFRA-70
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoIntegrate optf/has with Sonar 99/33699/1
Dileep Ranganathan [Thu, 1 Mar 2018 14:20:22 +0000 (06:20 -0800)]
Integrate optf/has with Sonar

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>
6 years agoAdd API documentation for optf-has 69/33469/1
Shankar Narayanan [Wed, 28 Feb 2018 21:14:13 +0000 (16:14 -0500)]
Add API documentation for optf-has

Add the API documentation exposed by HAS, used by OSDF in R2.

Issue-ID: OPTFRA-155
Change-Id: I78fa78f26720ee4670fc62c250c2c4720aca2a77
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
6 years agoCleaning up names in Sonar 85/33285/1
Gildas Lanilis [Wed, 28 Feb 2018 00:23:10 +0000 (16:23 -0800)]
Cleaning up names in Sonar

Name is sonar should match repo name. In this case name is optf-has

Change-Id: I25ec7578c0e26125d9dc7237d02012546883474c
Issue-ID: CIMAN-65
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
6 years agoFixed another Dockerfile 09/32109/1
Ikram Ikramullah [Mon, 19 Feb 2018 16:20:57 +0000 (11:20 -0500)]
Fixed another Dockerfile

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>
6 years agoCorrect Placement for version.properties 07/32107/1
Ikram Ikramullah [Mon, 19 Feb 2018 15:26:41 +0000 (10:26 -0500)]
Correct Placement for version.properties

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>
6 years agoMerge "Added unit tests for conductor.common.music module"
Shankaranarayanan Puzhavakath Narayanan [Fri, 16 Feb 2018 16:47:51 +0000 (16:47 +0000)]
Merge "Added unit tests for conductor.common.music module"

6 years agoMerge "Added more Unit tests for conductor/api module"
Shankaranarayanan Puzhavakath Narayanan [Fri, 16 Feb 2018 16:47:31 +0000 (16:47 +0000)]
Merge "Added more Unit tests for conductor/api module"

6 years agoAdded version.properties 83/31883/1
Ikram Ikramullah [Thu, 15 Feb 2018 21:39:45 +0000 (16:39 -0500)]
Added version.properties

Issue-ID: OPTFRA-124
Change-Id: I18d4ab0dd301ecf85e398c8a521e60ebbe686cf5
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
6 years agoAdded unit tests for conductor.common.music module 91/31791/2
Dileep Ranganathan [Wed, 14 Feb 2018 18:32:45 +0000 (10:32 -0800)]
Added unit tests for conductor.common.music module

Unit tests for music api

Change-Id: I9e239c23c0d3d81a860b121c7f8e462815068b31
Issue-ID: OPTFRA-68
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoDockerization Effort 73/31773/1
Ikram Ikramullah [Wed, 14 Feb 2018 22:43:36 +0000 (17:43 -0500)]
Dockerization Effort

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>
6 years agoAdded more Unit tests for conductor/api module 89/31789/1
Dileep Ranganathan [Tue, 13 Feb 2018 11:32:12 +0000 (03:32 -0800)]
Added more Unit tests for conductor/api module

Fixed the MUSIC rpc mock for plans api

Issue-ID: OPTFRA-68
Change-Id: Ic0075c1816ed84133b2248e1b91e5e39ff4866d8
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoModified tox.ini for coverage 29/31529/1
Dileep Ranganathan [Mon, 12 Feb 2018 11:38:43 +0000 (03:38 -0800)]
Modified tox.ini for coverage

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>
6 years agoUnit Tests for Conductor/api module 27/31527/1
Dileep Ranganathan [Sun, 11 Feb 2018 20:06:18 +0000 (12:06 -0800)]
Unit Tests for Conductor/api module

Created Unit Tests for PlansController

Change-Id: I075ef2289548fa5afc2024173866307d174ea3d5
Issue-ID: OPTFRA-68
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoUnit test for RootController and V1Controller 81/31281/2
Dileep Ranganathan [Sat, 10 Feb 2018 20:00:18 +0000 (12:00 -0800)]
Unit test for RootController and V1Controller

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>
6 years agoBaseApiTest class for conductor api module 61/31161/1
Dileep Ranganathan [Fri, 9 Feb 2018 19:04:24 +0000 (11:04 -0800)]
BaseApiTest class for conductor api module

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>
6 years agoCopyright Messages Cleanup 73/30973/2
Ikram Ikramullah [Fri, 9 Feb 2018 04:29:04 +0000 (23:29 -0500)]
Copyright Messages Cleanup

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>
6 years agoAdded missing .testr.conf in conductor 23/30623/1
Dileep Ranganathan [Wed, 7 Feb 2018 00:21:22 +0000 (16:21 -0800)]
Added missing .testr.conf in conductor

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>
6 years agoFixed pep8 issues inside HAS 35/30135/4
Ying Ruoyu [Fri, 2 Feb 2018 13:56:16 +0000 (21:56 +0800)]
Fixed pep8 issues inside HAS

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>
6 years agoMerge "Fixed some pep8 issues"
Shankaranarayanan Puzhavakath Narayanan [Mon, 5 Feb 2018 17:49:19 +0000 (17:49 +0000)]
Merge "Fixed some pep8 issues"

6 years agoMerge "Copyright Message in 'empty' files"
Shankaranarayanan Puzhavakath Narayanan [Fri, 2 Feb 2018 18:43:55 +0000 (18:43 +0000)]
Merge "Copyright Message in 'empty' files"

6 years agoFixed some pep8 issues 45/30045/2
Dileep Ranganathan [Thu, 25 Jan 2018 18:14:52 +0000 (10:14 -0800)]
Fixed some pep8 issues

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>
6 years agoAdded Intellij files to .gitignore 33/30033/1
Dileep Ranganathan [Thu, 1 Feb 2018 12:04:37 +0000 (04:04 -0800)]
Added Intellij files to .gitignore

Change-Id: I3d14bdd6c1404044beb3d493e3cfdbecd9432f7b
Issue-ID: OPTFRA-10
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoMerge "Adding .gitignore to the repository"
Shankaranarayanan Puzhavakath Narayanan [Thu, 1 Feb 2018 16:47:42 +0000 (16:47 +0000)]
Merge "Adding .gitignore to the repository"

6 years agoCopyright Message in 'empty' files 85/29885/1
Ikram Ikramullah [Wed, 31 Jan 2018 20:34:28 +0000 (15:34 -0500)]
Copyright Message in 'empty' files

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>
6 years agoAdd intial pom.xml inheriting from oparent-python 59/29559/1
Dileep Ranganathan [Mon, 29 Jan 2018 14:36:20 +0000 (06:36 -0800)]
Add intial pom.xml inheriting from oparent-python

Created pom.xml for integrating with ci

Change-Id: Ie6bec4b7d4d3bf4b86074b7405f882fee0bccab9
Issue-ID: OPTFRA-59
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
6 years agoAdded LICENSE.txt file to has repository 33/29533/1
rl001m [Mon, 29 Jan 2018 18:15:50 +0000 (13:15 -0500)]
Added LICENSE.txt file to has repository

Change-Id: Ib0a87188869ec28fe4f07f256f9c3e2eb645d2ba
Issue-ID: OPTFRA-58
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoFixed the pip installation command in README file 75/26575/1
rl001m [Tue, 19 Dec 2017 19:51:27 +0000 (14:51 -0500)]
Fixed the pip installation command in README file

Removed the 'ecomp' related command in README.md

Change-Id: I0129d1bd29ffc0c19db788a5ccab4a46cbc2d70f
Issue-ID: OPTFRA-11
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoMerge "Added all common modules in conductor directory"
Shankaranarayanan Puzhavakath Narayanan [Sun, 17 Dec 2017 15:39:38 +0000 (15:39 +0000)]
Merge "Added all common modules in conductor directory"

6 years agoMerge "Added api directory to the repository"
Shankaranarayanan Puzhavakath Narayanan [Sun, 17 Dec 2017 15:39:27 +0000 (15:39 +0000)]
Merge "Added api directory to the repository"

6 years agoMerge "Added reservation directory to the repository"
Shankaranarayanan Puzhavakath Narayanan [Sun, 17 Dec 2017 15:39:20 +0000 (15:39 +0000)]
Merge "Added reservation directory to the repository"

6 years agoMerge "Added data directory to the repository"
Shankaranarayanan Puzhavakath Narayanan [Sun, 17 Dec 2017 15:39:13 +0000 (15:39 +0000)]
Merge "Added data directory to the repository"

6 years agoMerge "Added solver directory to the repository"
Shankaranarayanan Puzhavakath Narayanan [Sun, 17 Dec 2017 15:38:42 +0000 (15:38 +0000)]
Merge "Added solver directory to the repository"

6 years agoAdded data directory to the repository 09/26409/2
rl001m [Sun, 17 Dec 2017 14:18:41 +0000 (09:18 -0500)]
Added data directory to the repository

Added the HAS-Data module in ONAP

Change-Id: Iac9774f8d88bff672c35e5cbab29bd4397012c73
Issue-ID: OPTFRA-12
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoAdded reservation directory to the repository 17/26417/1
rl001m [Sun, 17 Dec 2017 14:30:34 +0000 (09:30 -0500)]
Added reservation directory to the repository

Added the HAS-Reservation module in ONAP

Change-Id: I34930fc94b70b2813917f390ba02a23291059b8a
Issue-ID: OPTFRA-16
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoAdded api directory to the repository 15/26415/1
rl001m [Sun, 17 Dec 2017 14:28:53 +0000 (09:28 -0500)]
Added api directory to the repository

Added the HAS-API module in ONAP

Change-Id: Ie4a3b3d2f478abbf4878a4c618a568d7f07c4fa3
Issue-ID: OPTFRA-15
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoAdded solver directory to the repository 13/26413/1
rl001m [Sun, 17 Dec 2017 14:26:41 +0000 (09:26 -0500)]
Added solver directory to the repository

Added the HAS-Solver module in ONAP

Change-Id: I5567e3976ad0dc693eb2adc2f479987001b14770
Issue-ID: OPTFRA-14
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoAdded controller directory to the repository 11/26411/1
rl001m [Sun, 17 Dec 2017 14:22:15 +0000 (09:22 -0500)]
Added controller directory to the repository

Added the HAS-Controller module in ONAP

Change-Id: I8ef7fcee936f3a607069b8d5da65beb0210a784c
Issue-ID: OPTFRA-13
Signed-off-by: rl001m <ruilu@research.att.com>
6 years agoAdded all common modules in conductor directory 07/26407/1
rl001m [Sun, 17 Dec 2017 14:04:31 +0000 (09:04 -0500)]
Added all common modules in conductor directory

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>
6 years agoAdded conductor directory and README file 91/26391/2
rl001m [Fri, 15 Dec 2017 20:49:01 +0000 (15:49 -0500)]
Added conductor directory and README file

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>
6 years agoAdding .gitignore to the repository 87/26387/1
Shankar Narayanan [Fri, 15 Dec 2017 21:12:18 +0000 (16:12 -0500)]
Adding .gitignore to the repository

Adding the .gitignore so that the seed-code commits can follow this.

Issue-ID: OPTFRA-10
Change-Id: I708b60f6099554ab13a80367dcfcb094cfdd68a3
Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
6 years agoAdding initial .gitreview 61/25561/1
Pamela Dragosh [Tue, 5 Dec 2017 16:11:54 +0000 (11:11 -0500)]
Adding initial .gitreview

Adding missing .gitreview so OPTF team can submit code.

Issue-ID: OPTFRA-9
Change-Id: Ia55bb39384f6839727ec7ace9fce6365e86e0a56
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
7 years agoUpdated headers to display correct pages 83/13183/1
jsseidel [Mon, 18 Sep 2017 16:44:53 +0000 (12:44 -0400)]
Updated headers to display correct pages

Updated headers so that when the release notes
docs were referenced in main documentation, they
would be displayed properly.

Change-Id: I27bfebe3cc4ba28272a367a4696037cdc94707e5
Issue-Id: DOC-47
Signed-off-by: jsseidel <spence@research.att.com>
7 years agoAdded docs directory and release notes template 13/12513/1
jsseidel [Thu, 14 Sep 2017 18:27:11 +0000 (14:27 -0400)]
Added docs directory and release notes template

Added docs directory and a template for release
notes. The template is simply a suggestion.
Feel free to remove or add files as needed for
whatever makes sense for your project.

Change-Id: I2d52479ad210ca57b5a70c0756f90eea3f8e3432
Issue-Id: DOC-47
Signed-off-by: jsseidel <jsseidel@fastmail.com>
7 years agoInitial empty repository
Jessica Wagantall [Thu, 6 Jul 2017 21:21:16 +0000 (21:21 +0000)]
Initial empty repository