You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

With multiple languages being used in ONAP we need to have support for code-coverage for all of them. Even though we use some common called SONAR for the PTLS to view the code coverage not all languages are supported. 

Since no one person will have the knowledge of tools and techniques in all the languages the plan we have is.

  1. Choose a pilot project for every language
  2. Work out a generic plan for that language which can be ported to all the projects under the same language
  3. Communicate the plan through ONAP discuss and the seccoom mailing list so that other projects with the same language can be sure that they can support it.
  4. Then the pilot project will implement the setup locally and then work with the PTL for the pilot project and LF to get the tools installed.

Responsibilities of the pilot project

  1. Come with a generic proposal to get the reports generated in SONAR.
  2. Come up with the tools and techniques that are required.
  3. Get the tools installed in LF.

We need to find a pilot project for all the languages if we need code coverage for that particular language. And having code coverage is a requirement for CII badging.

Benefits of being the pilot

The pilot project's recommendation and setup will be the one that is officially supported. So lead the way to get your preferred way of setup in.


This page is intended to capture the languages used in ONAP and the projects.

LanguagePilot ProjectDetails
Python
Clojure
ProjectContact
DCAE
JavascriptCLAMP
ProjectContact
Sparky
CLAMPPierre Close
Golang
ProjectContact
Multi VIM/Cloud
Secret Management Service

Kiran Kamineni

Code Coverage in Golang:

Golang already provides some tools for capturing code coverage and reporting it. We already do that in the golang merge builds.

See jenkins log for details. We also report the coverage in the project page. See here.

JavaN/A because sonar supports Java out of the box
C/C++
ProjectContact

AAF

PKCS11 based key protection




  • No labels