Table of Contents | ||
---|---|---|
|
...
Project Name | Project Description | has code |
---|---|---|
ccsdk/dashboard | Opeations Manager Dashboard | |
ccsdk/distribution | CCSDK distribution packaging (e.g. docker containers) | |
ccsdk/parent | Parent POMs to be used by CCSDK clients | |
ccsdk/platform/blueprints | Blueprints. not in Amesterdam release | |
ccsdk/platform/nbapi | Northbound API | |
ccsdk/platform/plugins | Platform plugins | |
ccsdk/sli/adaptors | Common adaptors for use by directed graphs | |
ccsdk/sli/core | Core Service Logic Interpreter classes | |
ccsdk/sli/northbound | Common northbound APIS related to service logic interpreter | |
ccsdk/sli/plugins | Common plugins used by direcged graphs | python |
ccsdk/storage/esaas | Elastic Storage as a Service. not in Amesterdam release | |
ccsdk/storage/pgaas | PGAAS (PostgreSQL as a Service) | java, python, bash |
ccsdk/utils | Utilities | bash, yaml |
...
Info | ||
---|---|---|
| ||
This should have been done as part of "Setting Up Your Development Environment" and is only needed if you are behind a proxy and plan to use HTTP. If behind proxy, ensure git config has set http.proxy and https.proxy NVPs, check with the following command:
if no http/https proxies exist add them with the following commands:
here's an example:
|
...
Ensure your maven is installed / set up as per instruction from Maven section of Setting Up Your Development Environment page.
...
Following instruction from Maven Example settings.xml section of Setting Up Your Development Environment page to get your settings.xml file.
Info | ||
---|---|---|
| ||
If behind proxy,
|
...
Click the Maven Settings wrench to bring up the Settings window:
Select the Override of the User settings file, add the settings.xml file full path, the Apply button will be enabled. click on Apply to apply the change.
...
Info | ||||
---|---|---|---|---|
| ||||
<dependency> |
Mock Class Level Attributes
...
- download the Git for Windows installer
- start installer and follow Git Setup wizard screen Next until Finish prompts to complete the installation.
must have python installed
...
GIT Config Key | Expected Value | Setting Command |
---|---|---|
core.eol | lf | git config --global core.eol lf |
core.autocrlf | true | git config --global core.autocrlf true |
user.name | your name | git config --global user.name <your name> |
user.email | your email address | git config --global user.email <your email address> |
Anchor | ||||
---|---|---|---|---|
|
...
Steps | Command | Notes | |||||||
---|---|---|---|---|---|---|---|---|---|
1 | git commit -sam <comment summary> | Commit summary should not exceed 50 char. See ONAP Commit Messages for more details. | |||||||
2 | git log --shortstat | To ensure change lines are properly done and your commit has the following:
Here's an example:
If the Change-Id does not exist, do not proceed. You need to following Fix no change-id to fix it before proceeding further. | |||||||
3 | git commit --amend | Use this command to do the following:
| |||||||
4 | git review | This command will create the review at Gerrit. Once this command is completed, your newly created review can be found from Outgoing reviews in Gerrit self dashboard . |
...
- The ONAP Jobbuilder will be added automatically within one or two minutes after the review created, and a verfiy build will also be automatically triggered for your review in ONAP jenkins server.
- The committer can be found from Software Defined Newtork Controller secion in Resources and Repositories (Deprecated) page.
By now, you will just wait and check your email for information of
...
Tip | ||
---|---|---|
| ||
Once the vagrant has completed running it will still take some time for SDNC to come up. Have patience. |
...
Connecting to
...
your deployment
Basic Usage of Vagrant
Vagrant is commags commands are executed on the Base OS.
...
From the Base OS use the following command to see the running Guess guest VM ' ID id and name.
vagrant global-status
Port Forwarding
The Guess guest VM is running in its own private network and is using the NAT to get the the Base OS network. To see the port forwarding run the following command.
...
If you don't see any ports Oops. Configuring port-forwarding should have been configured earlier when editing the [integration.git] / bootstrap / vagrant-onap / Vagrantfile. Something must of went wrong. Here is the example of a snipet snippet that can be added to teh the Vagrant file.
Vagrant.configure("2") do |config|
if provider == :virtualbox && "sdnc".eql?(requested_machine)
config.vm.network "forwarded_port", guest: 8282, host: 8282, protocol: "tcp", auto_correct: true
config.vm.network "forwarded_port", guest: 8281, host: 8202, protocol: "tcp", auto_correct: true
end
...
Port forwarding can also be configured in the Virtual Box Gui. Here Here is an example
ssh to the
...
Guest OS
The follow command will open a ssh terminal to the running guess vm. The guess guest vm name or id can be used.
...
Basic Usage of Docker
docker commands are excuted executed on the guess guest OS
Get Detail about the dockerCommands
...
List the running docker containers
The follwing following command will list the running docker containers. The containterscontainer's id, name and whihc which ports are forwarded to the Guess OS can be found in this list.
...
Use the docker container id or name use the follwing following command to open a terminal to that container.
...
OpenDaylight RestConf API Web GUI
To connect to the runing sdnc Port running sdnc port forwarding must be configured correctly. The The port forwaded forwarded in the instruction above was 8282.
...