Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Project: optf/osdf master aa358e298d345da0582ad1ea3b496bb44650a4f1
Minizinc Placement Model Ex. for vDNS+vFW use case
Issue-ID: OPTFRA-153
Change-Id: I228e638e4c5bfb2cabd970c571077f3ebaf01ece
Signed-off-by: ramkri123 <ramkri123@gmail.com>
|
|
Project: optf/has master 69dda22c24d32535c96030a1b74c04cb64963b93
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>
|
|
Project: optf/osdf master f2541009309551548ed3567adbdc8f2e5b78d185
update OOF_HAS_R2_Interface.rst
update OOF_HAS_R2_Interface.rst according to the comments
Change-Id: I85ef6b26fabe5ce0a19a119c3f126fc0fc39c5c8
Issue-ID: OPTFRA-146
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
|
|
Project: optf/has master 8d22623d4cf2aacebe4498cb46733550349406ae
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>
|
|
Project: optf/osdf master 1a1852eb578debd53fb8cfc22de073b14aebdb5a
Adding/updating copyrights plus some unittests
Issue-ID: OPTFRA-96
Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/has master c9e7894c315b52d71ca7eddb520b4a19442e5433
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>
|
|
Project: optf/osdf master de18d2d3235e7c7a8fde000fff6ae426d132788a
Minizinc data model for Silver Customer
Issue-ID: OPTFRA-128
Change-Id: Ied194c53352a9ba61ae29c5aecda80f4ebcbcf3d
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
|
|
Project: optf/osdf master 3fa3bb0aa97c138073aa95d974bf4156f41a30af
Minizinc data model - no edge DC hard constraint
Issue-ID: OPTFRA-127
Change-Id: Ic781135f1697623f245d98a32571a2f1e03d2438
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
|
|
Project: optf/osdf master 8a4b33acb5b6e7953c39a1a1fff8d2e0da15b837
Minizinc data file for gold customer
Issue-ID: OPTFRA-126
Change-Id: I70ce27e11747d780ad4e851d685bdf0bdcf77bf8
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
Minizinc model-driven example for vDNS placement
Issue-ID: OPTFRA-110
Change-Id: I3944c82e387cda15a427005f5eb6527346fc37d5
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
|
|
Project: optf/osdf master 5b32883fa5fc1ceb6263adb9fd683c2d604abff0
Moved presentations to presentations folder
Issue-ID: OPTFRA-125
Change-Id: I14c94a26a64cd735501ee3667f7142c53e8982a4
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
|
|
Project: optf/osdf master 4fe0a276370fc7a9c5a851162027ef092dd4da87
Preso on model-driven approach for vDNS placement
Issue-ID: OPTFRA-125
Change-Id: Iaa0ecb306c4a098369cb2cfecece0e2301b837de
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
|
|
Project: optf/has master 83aaed5e6ea528e928755d56afc6ed1b8fa09cf3
Merge "Added unit tests for conductor.common.music module"
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>
|
|
Project: optf/has master ddf209a59f743d0c761eda9e9810cb414cb2c39d
Merge "Added more Unit tests for conductor/api module"
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>
|
|
Project: optf/has master 2a2e6a36e0bd9f73f66398717c8aec3a5b012e2f
Added version.properties
Issue-ID: OPTFRA-124
Change-Id: I18d4ab0dd301ecf85e398c8a521e60ebbe686cf5
Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
|
|
Project: optf/has master 601bec029087f09f3a8579de16aaa5ec6aa14b14
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>
|
|
Project: optf/osdf master e67e0375eb70b7cb503acf892b8aaf47a59d8417
Added the OOF-HAS API document
Created the docs folder and added the OOF-HAS API document.
Issue-ID: OPTFRA-62
Change-Id: Ic0eda71086f14ceed75cbbe48544b91b9df4c89c
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Project: optf/has master e761b422db53e8d81c875a3f0e7806fe942463cc
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>
|
|
Project: optf/has master a689ff1ccc5f162e109e4616935dbd037f33d447
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>
|
|
Project: optf/osdf master be581c1ec64f54663dd5417ce44ad525145e8c0a
Merge "Commit .gitreview"
Commit .gitreview
Add .gitreview file to osdf
Change-Id: Ia38c6af1483e751d5a6eb61bb325efab546fd7c0
Issue-ID: OPTFRA-9
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
|
|
Project: optf/osdf master eb00044c3847db98fa6ab05d2e537efad95b9428
Restoring .gitignore after a mistake at merge
Issue-ID: OPTFRA-98
Change-Id: Idb8b53b30fa907ca1524558c512df0c6f54a9d81
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
|
|
Project: optf/osdf master 79e314af5d2094b297803325f3b2d74635834ec1
Added root pom.xml files for OSDF
Added pom.xml, assembly.xml
Modified .gitignore
Change-Id: I8b8bd6c180d1738567be6e6fa4c94c57e15f5b77
Issue-ID: OPTFRA-72
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Removed unused DB-adapters, test cases, 60+% cover
We are not using OracleDB, PostgresDB, and VerticaDB, so there is no
need to keep the "dead code" -- we can always add it back as needed.
Added test cases so that all the files are at least minimally covered.
Overall coverage on my local tox shows 66% coverage (I manually ensured
all files are included in the coverage report).
Issue-ID: OPTFRA-95
Change-Id: If1cab112236b4f32a96315308ce815088fa092d1
Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
Re-org folders, onboard test folder, test config
Reorganized the folder structure. Onboarded testcases. Added test config.
Issue-ID: OPTFRA-74
Change-Id: I97882a162a405a18ffd287495039e15ae9d0ad7b
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
|
|
Project: optf/has master 1c260cbd69b7e0e34c01dae57c19ce713bbf3277
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>
|
|
Project: optf/has master f55f488b69b97ab4bfba039b01aad97563e7c065
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>
|
|
Project: optf/has master 4f58c4461a09adbaff082b0ef3f48688cc59bfd1
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>
|