Esempio n. 1
0
  private void graphEdgeConfigAdd(Payload payload, Model model) {
    String type = payload.getType();
    String from = payload.getFrom();
    String to = payload.getTo();
    EdgeConfig config = m_topologyConfigManager.queryEdgeConfig(type, from, to);

    model.setEdgeConfig(config);
  }
Esempio n. 2
0
 private boolean graphEdgeConfigDelete(Payload payload) {
   return m_topologyConfigManager.deleteEdgeConfig(
       payload.getType(), payload.getFrom(), payload.getTo());
 }