All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jeaf.SecurityRolesReport.xpt Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
«IMPORT uml»
«IMPORT JMM»

«EXTENSION org::openarchitectureware::util::stdlib::io»
«EXTENSION java::GeneratorCommons»
«EXTENSION java::Naming»
«EXTENSION functions::SecurityRole»
«EXTENSION functions::RESTOperation»

«DEFINE SecurityRolesReport FOR Model»
«FILE getSecurityRolesReportFileName() res_gen-»
# «getSecurityRolesReportName()»
«FOREACH this.getAllSecurityRoles().select(e|e.excludeFromDocumentation == false).sortBy(e|e.name) AS securityRole-»
## Role `«securityRole.name»`
«FOREACH securityRole.getAuthorizedServices().sortBy(e|e.name) AS service-»
### Service `«service.name»`
«FOREACH securityRole.getAuthorizedOperations(service) AS operation»
| Operation        | REST Resource Path |
|------------------|---------------|
| `«operation.name»(«FOREACH operation.ownedParameter.select(e|e.isInputParameter()) AS param SEPARATOR ", "»«param.type.name»«ENDFOREACH»)` | «IF operation.isRESTOperation()»`«operation.asRESTOperation().getFullPath()»`«ENDIF» |
«ENDFOREACH»
«ENDFOREACH-»
«ENDFOREACH-»
«ENDFILE-»
«ENDDEFINE»




© 2015 - 2024 Weber Informatics LLC | Privacy Policy