Age | Commit message (Collapse) | Author | Files | Lines |
|
Project: optf/osdf master 4de3bb8c9f62f15d6aeb965f9d4c47edb7efd2e9
Updated the schematics models of the HAS API
Updated the validation models and related testcases.
Issue-ID: OPTFRA-203
Change-Id: I02219e64543eb7a9a7933322bf19f21e070496f4
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Project: optf/osdf master 215b19360f73242f2348c812c0afab7d77c083a8
Merge "Inserted policy tosca models and examples"
Inserted policy tosca models and examples
Uploaded the policy tosca models and policy examples for HAS.
Issue-ID: OPTFRA-27
Change-Id: I96ae70c5fe34ce7f40f461801e149d81afa52ea3
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Project: optf/osdf master 1989be6667eeb3b70e959c688c6b423b30dde78a
Adding the missing healthcheck
Adding the missing healthcheck from previous commit.
Change-Id: I443dff8a22ea641bcbdfc4e8aa73ba5557d3259f
Issue-ID: OPTFRA-22
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Project: optf/osdf master bc1d288ac29c3c9bf968cea5ac2d95b8bcd67eae
Update the policy adaptor and related testcases
Generalized the policy adaptor code by removing homing specific logic.
Issue-ID: OPTFRA-27
Change-Id: I331030a2f3f5c0c17af1a72af9794131555a9217
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Project: optf/osdf master ed70b5c6d6589e4e1ce80229612ea5b680736c4c
added healthcheck
Issue-ID: OPTFRA-22
Change-Id: I783a597b81abd0027819fff0c103250e1e003c10
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/osdf master 5f91345fbb9cf6a9c55a0bdc70156af02fcf9b02
fixing docker image tag
Issue-ID: OPTFRA-22
Change-Id: Iacd81643a3a317171aaa3af8e78b2c6a33c52348
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/osdf master d3e7cabfd2ec2a77145b65e4d1fe6b378345adb9
fixing name of staging image
Issue-ID: OPTFRA-22
Change-Id: Iea233cbebc5b277ee23e7e52edce3778a23308a0
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/osdf master 53b90c3fc5d8a187b1a35992b039a8291a321fc4
Fix bug in docker build script
Fixed a spurios typo in date command
Issue-ID: OPTFRA-22
Change-Id: I4a9b02f52d07bba2091b95ab201c9fc0b252f971
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master 1c4a9f7f0d7ca61df2f0955f60aea9670e399d45
Merge "Fix Exception in resolve_demands RPC"
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>
|
|
Project: optf/has master 743b0cafc7a2ebc174c21e272ff017d8f4d8a801
Merge "Accommodate Changes for Music 2.4.x"
Accommodate Changes for Music 2.4.x
Issue-ID: OPTFRA-199
Change-Id: Ieadb1ae38621cd406af384458a9fce6ffdd15f0c
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
|
|
Project: optf/has master d8a3bd9ae9c72947b53df661c57f8dd697ef73dc
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>
|
|
Project: optf/osdf master b211c1919e8c04974ba8ab26ec63d34be3826e19
Merge "Fix "brain-overload" functions flagged by SONAR"
Fix "brain-overload" functions flagged by SONAR
Refactored two brain-overload functions
Moved a policy util function from conductor/api_builder.py to policy/utils.py
Issue-ID: OPTFRA-195
Change-Id: I879e7f4f5d92cc530c66d3ed071bf5246397ba13
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/osdf master aa429005c6670758fcf1d895f699b03250e8035b
Add docker components for CSIT
Added license to Dockerfile
Added 8699 internal port and 8698 external port
Issue-ID: OPTFRA-22
Change-Id: I232acc6cd417efda164ae825362dcc6d0be28a12
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master 5e2f356e8a51c08b442c05a954f1d8ada394932f
Merge "Added vim-id attribute for Homing Candidates"
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>
|
|
Project: optf/has master 9c7878cd58992d239bc1828d192cbaa8519b3452
add first seed of aaisim
Issue-ID: OPTFRA-192
Change-Id: I8347b99dbf09514dab7daa2f8e7bb8abc0122d54
Signed-off-by: Leonardo Bellini <leonardo.bellini@att.com>
|
|
Project: optf/osdf master 1a9638f5d5fc78f7e8be700e71b506fed3cc9d2d
New policies and required code changes
Issue-ID: OPTFRA-146
Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master 0983301fc60decb20a88f5d7b07d6fa9c8fb8855
Merge "Update oparent-python version for optf/has"
Update oparent-python version for optf/has
Change-Id: Ice973735086d9412220256678b1d0f71ca9ff979
Issue-ID: OPTFRA-184
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Project: optf/has master 589264e69c389524b390c2daa0dc33539e9b929b
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>
|
|
Project: optf/has master e73422283d5075d038a4ac95b97d8f089431e5ff
Merge "Docker dir - removed unused conf file"
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>
|
|
Project: optf/osdf master 7c70d5ba1469b9ea3220bc61be1d1973e5e3e98a
Merge "Update oparent-python version for optf/osdf"
Update oparent-python version for optf/osdf
Change-Id: I8b63a0e2ea35fbaa28674e4edf7da54ddd6ce054
Issue-ID: OPTFRA-184
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Project: optf/has master 13b79a8318b767c55109f5ab5d2b8454ec03f7b6
Merge "Adding more unit tests and .coveragerc"
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>
|
|
Project: optf/osdf master a02baa907ffa2a700013987cae25dc197ac63b69
Example Minizinc Placement Models for 5G
Issue-ID: OPTFRA-173
Change-Id: I245e64764d8dd6e9e254a79a97a7d49e228b125a
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/has master e4cee54e5b2bf43b3da857866036b1d178ee9617
Merge "Added more unit test cases in aai.py file"
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>
|
|
Project: optf/has master 3871d29d2414548083b1308298517562e6728117
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>
|
|
Project: optf/has master 6b4a181efbe7234074539ee9b2abed72fd7af964
Merge "Fixed Controller unit tests and UnboundlocalError"
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>
|
|
Project: optf/has master ac16f162c5b3a74b3d44a7445202f675f90992f5
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>
|
|
Project: optf/has master 57e1819840dbf6e5531f0abd62350098723a7599
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>
|
|
Project: optf/has master bfcbea292aa9e9c3e01bddd1cba80035c85df8ec
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>
|
|
Project: optf/has master be08ec28dc94e6a5b3bd21c422dd90a28a5a979e
Merge "Add INFO.yaml file"
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>
|
|
Project: optf/osdf master ebfec9169be3767c354b455fdbb4b6f7314f59a3
Dockerfile for OSDF Minizinc Placement Examples
Issue-ID: OPTFRA-153
Change-Id: Ieba7c834e1fa028a00f64bdbf1994fd6703a8fa0
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/has master b0eaf268072c637f68a1d7cf6dd162ab4f3e74f7
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>
|
|
Project: optf/osdf master 356b52c79dc56b97d910211272c7bdbef80b884a
getOptions renamed in osdfapp.py and tests
Issue-ID: OPTFRA-102
Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master 84dca64425db27fe9b2850a2ca20fdff09ac54d4
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>
|
|
Project: optf/osdf master 422df2fa5f10ea14352b1a319ee7764d704d6050
Clean up code smells, added osdfapp.py
Added osdfapp.py in inclusions. TODO: clean up this structure.
Notes:
1) Do not use java-like naming (use get_options instead of getOptions).
2) Do not have commented out code in imports (it got flagged as red)
Issue-ID: OPTFRA-102
Change-Id: Ie889b581dc8bf6683ff9bf60a6e14f254a26ef12
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master 6ac2dff39d6edb6c411a641036f474bb2e493f5b
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>
|
|
Project: optf/has master da17dd41a33cf488d16a2adedbca5c81cb3f75fc
Merge "Fix UnboundlocalError in translator.py"
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>
|
|
Project: optf/has master dd39227690397f1c0a741b541fdbfbffcb6a0ca1
Merge "Fix unreadable characters in tox tests"
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>
|
|
Project: optf/osdf master 27072ed98f1be56857d782e76ae59f3ebfb6473a
Exclude Tests from Sonar coverage report
Change-Id: I60bf015cdc4a3a7fad8babf146dd9e78470645d1
Issue-ID: OPTFRA-102
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Project: optf/has master 3b85d3b015393dc72b2b1a879c91441f67ec8834
Merge "Added unit test cases for data component"
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>
|
|
Project: optf/osdf master b8bad9d2cc5168e55271929a6474184129f31ef2
Adding SONAR coverage report support
Issue-ID: OPTFRA-102
Change-Id: I67552599ff49dff29f99578b83592dd8d2ced193
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master a29dff2ea59fa573ff4c1257e58f7813e17fdc40
Merge "Corrected Docker Files"
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>
|
|
Project: optf/has master 338ae6819b2e09a362fecf6c867541a1b171c3c8
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>
|
|
Project: optf/has master 19d220e1f87475ef762ba7f6fb39d4eb18ee4c20
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>
|
|
Project: optf/has master 37301dd6ce1fd71cfde394bef74e9645e808d804
Merge "Version.py must match setup.cfg"
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>
|
|
Project: optf/has master db05d1fb5487976a1e74545c76aa2f0db5e4c245
Merge "Add Active-Active code to has"
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>
|
|
Project: optf/has master da2f81ccb94a5830341da4a17b251a40fac6a6b9
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>
|
|
Project: optf/has master 62fd23a0b3c56de69a3dfd7b15ff5382d0d9f8be
Merge "Fixed location for setup.py"
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>
|
|
Project: optf/has master 8fdd83e998fbc4d68e6a3a9c01eb4029f43065e7
Merge "Add API documentation for optf-has"
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>
|
|
Project: optf/has master 5238bc5d23b926e49c2805890d108cc2f1dcc618
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>
|
|
Project: optf/has master 413abf436d94d48019f3995a860e0d43ea291b96
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>
|