This page describes general guidelines for developers who want to download and work on the E-CORD source code, or need to mock special development environments.
E-CORD is part of the default CORD code base. To know how you can download the CORD source code, see Building and Installing CORD. Each E-CORD service lives in a specific repository. A list of E-CORD services and links to their repositories is available in the main page of this guide.
NOTE: The E-CORD source code is available from the 4.1 release (branch) of CORD.
As for other CORD profiles, E-CORD can also be deployed in environments other than physical PODs. This creates a more convenient environment for developers, using less resources and providing a faster development life-cycle.
Two environments are available, depending on your needs:
To understand what a local development environment is, what it can help you with, and how to build it, look at this page.
When it’s time to specify the PODCONFIG file, use
To understand what CiaB is and what it can help you with, look here.
To build E-CORD CiaB, follow the steps here.
When it’s time to specify the PODCONFIG file, use
NOTE: When inspecting CiaB you will also need, on the global node to use.
export VAGRANT_CWD=~/cord/build/scenarios/single
instead of
export VAGRANT_CWD=~/cord/build/scenarios/cord
More detailed instructions on how to develop and deploy using CiaB can be found in the troubleshooting guide.
When using local PODs, you can emulate E-CORD test subscribers, doing the following.
ssh into the the head node
cd /opt/cord/build/platform-install
Deploy a test subscriber:
ansible-playbook -i inventory/head-localhost --extra-vars "@/opt/cord_profile/genconfig/config.yml" ecord-test-subscriber-playbook.yml