Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get HAS from the Linux Foundation Projects page.

git clone https://gerrit.onap.org/r/optf/has

Running the Example

Use virtual environment to create and manage libraries and dependencies for HAS project.

virtualenv {virtual_environment_location}
source {virtual_environemtn_location}/bin/activate


Inside of /HAS has folder, run the following commands:

python setup.py install
pip install -e .


Then in your In {virtual_environment "_location}/bin " folder, you should see the following files:five components of HAS/Conductor project

conductor-

...

api,conductor-controller

...

, conductor-

...

solver, conductor-reservation

...

, conductor-

...

data


To start the process, execute the following commands:

conductor-api --port=8091 -- --config-file={conductor_conf_file_location} 
conductor-controller --config-file={conductor_conf_file_location}
conductor-solver --config-file={conductor_conf_file_location}
conductor-reservation --config-file={conductor_conf_file_location}
conductor-data --config-file={conductor_conf_file_location}

Commit the Code

git commit -am "Initial proj struct"
git review -s
git commit -as --amend
# scroll down 2lines (above your Change-ID) - hit "i"forinsert - add: Issue-ID: OOM-500

git review