UFGInsurance / mulint

Mule project linter
MIT License
6 stars 0 forks source link

Check pom.xml for anypoint.platform.client_id and anypoint.platform.client_secret (cloud deployment) #22

Closed aoathout closed 6 years ago

aoathout commented 6 years ago

anypoint.platform.client_id and anypoint.platform.client_secret are our organization client_id and secret and should not have any values for them in pom.xml. The are only needed in the org.mule.tools.maven plugin, under the "properties" section. The values should be placeholders. Example project to look at:

https://github.com/UFGInsurance/mulesoft-apis/blob/develop/Experience%20APIs/commercial-quote-experience-api/impl/commercial-quote-experience-api/pom.xml

TrueWill commented 6 years ago

@aoathout I'm about to open a PR for this, but should mulint also check that there are no properties for these? Is that both local and server properties? What if it's a property with a placeholder value?


Never mind - I think I answered my own question. I added checks for local/server properties.