Age | Commit message (Collapse) | Author | Files | Lines |
|
Add support for HPA constraints translation
Add unit tests for HPA constraints validation
Updated with mandatory and score parameters
Updated flavorLabel and flavorProperties instead of label and features
Change-Id: Iec8fff2ad71f8ebeb58ef807d8d2b95ed3635ec1
Issue-ID: OPTFRA-168
Signed-off-by: Ying Ruoyu <ruoyu.ying@intel.com>
|
|
Implemented Multicloud vim controller plugin
Updated translator to parse vim_fit constraint
Implemented vim_fit constraint type
Implemented RPC for check_vim_capacity
Reordered constraint rank
Added unit tests
Change-Id: I5f01cf8fbefbb4b53e4370c5c6b43f72897e62bd
Issue-ID: OPTFRA-148
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Change-Id: I725aa29918f4d30b9977413629f4bc71a3513893
Issue-ID: OPTFRA-2
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Implemented match all operator for list inputs.
For eg: InstructionSetExetensions which checks for a
input set of requirements in the available capability list.
Change-Id: I3784ae2f85309236f790a0d6a5927ab3ec535b97
Issue-ID: OPTFRA-181
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Added postman scripts for Conductor, MUSIC and A&AI
Added postman Multicloud mock server and check_vim_capacity API
Change-Id: If8ae4d10a0bcc640d7f54e14a20b777867692ad9
Issue-ID: OPTFRA-169
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
Issue-ID: OPTFRA-199
Change-Id: Ieadb1ae38621cd406af384458a9fce6ffdd15f0c
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
|
|
'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>
|
|
|
|
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>
|
|
Issue-ID: OPTFRA-192
Change-Id: I8347b99dbf09514dab7daa2f8e7bb8abc0122d54
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
Issue-ID: OPTFRA-123
Change-Id: I9334bda9ef05ed18c4e1fe35616b53e9ba128dc1
Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
|
|
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>
|
|
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>
|
|
Remove or correct variable self-assignment
Change-Id: I21204b8c72b0f1890fe1278764da070013c69b34
Issue-ID: OPTFRA-101
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
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>
|
|
|
|
|
|
|
|
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>
|
|
|
|
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>
|
|
Added subunit-trace -f command which was missing
Change-Id: I9e1f4f3a3430349ceff3ef3bbe62119468399340
Issue-ID: OPTFRA-164
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Defined and initialized variable nested in the scope
Change-Id: Idfffc95490f8a11dd0377a8e50a4737e708ecfc7
Issue-ID: OPTFRA-163
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Unit test for conductor/data
Change-Id: I62e95824a8191adacd630746dc0101660d480886
Issue-ID: OPTFRA-70
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
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>
|
|
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>
|
|
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>
|