ONAP code quality improvement

Current status

  • When user push content to gerrit, Sonar does not analyse the content of the new source code but the content of the master.

  • Content of branch are never analyse in Sonar.

Proposal– Using webservises and webhook



  • Merge  only the « good» code for all branchs









Next steps

Test the webservices (on labs)  Done



Deploy the solution (LFN)

Jenkins setting
SonarCloud setting
Webservices adaptation



POC : Implement on one of ONAP project 

-Setting and adapt a quality gate (Sonar gate)



Generalize to all projects   To be done