@Test public void testResolveSubjectNameFromFlowCacheName() { assertEquals(subjectName.getValue(), IidSflowNameUtil.resolveSubjectNameFromFlowCacheName(testName).getValue()); }
public static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName) { List<String> keys = Splitter.on(DELIMETER).splitToList(flowCacheName); String policyRuleGroupKey = keys.get(0); String subjectName = Splitter.on(KEY_DELIMETER).splitToList(policyRuleGroupKey).get(2); return new SubjectName(subjectName); }
IidSflowNameUtil { public static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName) { List<String> keys = Splitter.on(DELIMETER).splitToList(flowCacheName); String policyRuleGroupKey = keys.get(0); String subjectName = Splitter.on(KEY_DELIMETER).splitToList(policyRuleGroupKey).get(2); return new SubjectName(subjectName); } }
IidSflowNameUtil { public static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName) { List<String> keys = Splitter.on(DELIMETER).splitToList(flowCacheName); String policyRuleGroupKey = keys.get(0); String subjectName = Splitter.on(KEY_DELIMETER).splitToList(policyRuleGroupKey).get(2); return new SubjectName(subjectName); }  }
IidSflowNameUtil { public static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName) { List<String> keys = Splitter.on(DELIMETER).splitToList(flowCacheName); String policyRuleGroupKey = keys.get(0); String subjectName = Splitter.on(KEY_DELIMETER).splitToList(policyRuleGroupKey).get(2); return new SubjectName(subjectName); }  static String createFlowCacheName(InstanceIdentifier<Classifier> classifierIid, FlowCacheCons.Value value); static ContractId resolveContractIdFromFlowCacheName(String flowCacheName); static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName); static RuleName resolveRuleNameFromFlowCacheName(String flowCacheName); static ClassifierName resolveClassifierNameFromFlowCacheName(String flowCacheName); static String resolveFlowCacheValue(String flowCacheName); }
IidSflowNameUtil { public static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName) { List<String> keys = Splitter.on(DELIMETER).splitToList(flowCacheName); String policyRuleGroupKey = keys.get(0); String subjectName = Splitter.on(KEY_DELIMETER).splitToList(policyRuleGroupKey).get(2); return new SubjectName(subjectName); }  static String createFlowCacheName(InstanceIdentifier<Classifier> classifierIid, FlowCacheCons.Value value); static ContractId resolveContractIdFromFlowCacheName(String flowCacheName); static SubjectName resolveSubjectNameFromFlowCacheName(String flowCacheName); static RuleName resolveRuleNameFromFlowCacheName(String flowCacheName); static ClassifierName resolveClassifierNameFromFlowCacheName(String flowCacheName); static String resolveFlowCacheValue(String flowCacheName); static final String DELIMETER; static final String KEY_DELIMETER; }