Setting up your development environment
Clamp is built using maven and is mostly composed of java code. Please follow the instructions under the Setting your development environment page to prepare your machine for developing clamp.
Cloning CLAMP code
CLAMP code is located in a single git repository named clamp
it is accessible via HTTPS : https://gerrit.onap.org/r/a/clamp.git
or SSH : ssh://USERNAME@gerrit.onap.org:29418/clamp
Please make sure to review the ONAP Development Procedures and Policies to understand how to interact with the gerrit/git repositories.
Project structure
CLAMP is composed of a main pom.xml and several sub modules.
Building CLAMP
Testing CLAMP
We created CSIT (Continuous System and Integration Testing) tests for clamp as requested for each ONAP component. This use Robot Framework. See this wiki page for more information: Creating a CSIT Test
The tests are created in the integration repository: https://gerrit.onap.org/r/#/admin/projects/integration
For Clamp we have created 2 test plans that test:
- The APIs to create templates, close loops,...
- The UI to login, click on menus, create templates or close loops manually, set properties,...
This is testing Clamp standalone and thus cannot validate interactions with other components (sdc, policy...). This still require some manual E2E testing.