ResourceUtils { public static String serviceResourceName(String domainName, String serviceName) { return generateResourceName(domainName, serviceName, ""); }  static String roleResourceName(String domainName, String roleName); static String groupResourceName(String domainName, String groupName); static String serviceResourceName(String domainName, String serviceName);  }
@Test public void testServiceResourceName() { assertEquals(ResourceUtils.serviceResourceName("athenz", "service1"), "athenz.service1"); assertEquals(ResourceUtils.serviceResourceName("athenz.api", "service1"), "athenz.api.service1"); }