template.anypoint.json.ftl Maven / Gradle / Ivy
<#assign emp = emProperties == 'true'>
<#assign restProject = projectType == 'rest'>
<#assign d = domain == 'true'>
{
"name": "${projectName}"<#if restProject || emp>,#if>
<#if restProject>
"api": {
"addAutoDiscovery": true
}<#if emp>,#if>
#if>
<#if emp>
"properties": {
<#if restProject && !d >
"listener.http": {
"type": "https",
"secure": true
}
#if>
}
#if>
}