archetype-resources.anypoint.json Maven / Gradle / Ivy
{
#if (${rest} == 'yes')
"api": {
#if (${apiSpecInProject} == 'yes')
"assetCreate": true,
"assetMainFile": "${apiSpecId}.${apiSpecExt}",
#end
"addAutoDescovery": true,
"policies": [
#if (${clientIdEnforcementPolicy} == 'yes')
{
"configurationData": {
"credentialsOriginHasHttpBasicAuthenticationHeader": "customExpression",
"clientIdExpression": "#[attributes.headers['client_id']]",
"clientSecretExpression": "#[attributes.headers['client_secret']]"
},
"policyTemplateId": 299240,
"apiVersionId": 16317402,
"groupId": "68ef9520-24e9-4cf2-b2f5-620025690913",
"assetId": "client-id-enforcement",
"assetVersion": "1.2.2"
}
#end
],
#if (${slaTier} == 'yes')
"slaTiers": [
{
"name": "Standard",
"description": "Standard SLA Tier",
"autoApprove": false,
"limits": [
{
"visible": true,
"timePeriodInMilliseconds": 1000,
"maximumRequests": 1000
}
]
}
]
#end
},
#end
"properties": {
#if (${emProperties} == 'yes')
#if (${rest} == 'yes')
#if (${domain} == 'no')
"listener.http.host": {
"name": "HTTP listener host",
"default": "0.0.0.0"
},
"listener.http.port": {
"name": "HTTP listener port",
"default": "8081"
}
#end
#end
#end
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy