This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • KNOX-103: Support multiple <pattern> children in <resource> for gateway.xml
Skip to end of metadata
Go to start of metadata

The examples below show how allowing multiple patterns per resource could simplify both service contributor development and significantly reduce the size of a generated gateway.xml.

Simplified Resource Contribution
ResourceDescriptor fileResource = context.getGatewayDescriptor().addResource();
fileResource.role( service.getRole() );
fileResource.pattern( WEBHDFS_EXTERNAL_PATH + "/?**" );
fileResource.pattern( WEBHDFS_EXTERNAL_PATH + "/**?**" );
Simplified Gateway Descriptor
  • No labels