cancel
Showing results for 
Search instead for 
Did you mean: 

Azure pipeline for Cloud Integration Content

Clen
Participant
0 Kudos

Hi #AskAnythingIntegration,

I am working on a PoC to build an Azure pipeline for Cloud Integration Content that could execute the tasks: Security scan of Groovy scrips, verifying best practices of programming in Groovy, verifying connectivity, and verifying naming convention.

Did you have experience with any LINT tool that you included in your pipeline for this type of scenario?

Alexander

Martin-Pankraz
Active Contributor

Hi Alexander,

nice to see more CI topics making its way into the CPI developments. You might find my two posts on the topic helpful too even though I didn't focus on LINT but rather on unit testing.

https://blogs.sap.com/2020/05/10/a-tale-of-azure-logicapps-and-cpi-or-how-my-iflows-learned-devops-p...

https://blogs.sap.com/2020/06/16/the-day-my-iflows-graduated-from-devops-high-adding-automated-unitt...

You might also want to have a look at integration with SAP TMS as described in this blog by SAP for the full spectrum.

When you say "verifying connectivity" do you mean CPI tenant or target iFlow? Once you are trying to publish any changes from your external CD tool (like Azure DevOps, GitHub Actions, Jenkins etc) via the CPI API, you will get an error in case there are issues. Do you see it differently?

Would be amazing if you could publish a blog once you are happy with your approach. Would bring some nice community efforts together 🙂

KR

Martin

Accepted Solutions (0)

Answers (2)

Answers (2)

Srinivas-Rao
Contributor
0 Kudos

Hi - Does this help ? https://blogs.sap.com/2021/03/14/cpilint-version-1.0.2-is-out/

Thanks & Regards

Srinivas Rao.

ajmaradiaga
Developer Advocate
Developer Advocate
0 Kudos

clen.riva have you looked at NPM Groovy Lint - https://nvuillam.github.io/npm-groovy-lint/. I've not used it myself but seems to be a very popular library used for Groovy linting. Their repo is very active, last release was 20 days ago and it is embedded in a popular VS Code Extension as well.

Clen
Participant
0 Kudos

Hi ajmaradiaga it looks promising, I will take a look. Any idea about a LINT tool to check the iFlows naming convention?