Hello,
I use sdn rx library but in an imperative way.
I have 3 nodes type :
@Node("App")
public class App {
@Id
@GeneratedValue
Long id;
@Property("name")
String name;
@DynamicLabels
List<String> nodeLabels;
}
@Node("Cluster")
public class Cluster {
@Id
@GeneratedValue
Long id;
String name;
@DynamicLabels
List<String> nodeLabels;
}
@Node("VM")
public class Vm {
@Id
@GeneratedValue
Long id;
String name;
@DynamicLabels
List<String> nodeLabels;
}
I want to know if i create a repo for each domain or i can use one for all types.
I have a request in my repo that return a subgraph - multiple types (App, Cluster, Vm) - How can i deal with this ?
Thank you