@@ -24,4 +24,7 @@ public interface CompositionRelationRespository extends Neo4jRepository<Composit
...
@@ -24,4 +24,7 @@ public interface CompositionRelationRespository extends Neo4jRepository<Composit
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Composition]->(target) return p")
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Composition]->(target) return p")
@Query("match (source:BaseNode),(target:BaseNode) where id(source)=$sourceId and id(target)=$targetId merge p=(source)-[r:Composition]->(target) return p")
@@ -25,4 +25,7 @@ public interface InputRelationReRepository extends Neo4jRepository<InputRelation
...
@@ -25,4 +25,7 @@ public interface InputRelationReRepository extends Neo4jRepository<InputRelation
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Input]->(target) return p")
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Input]->(target) return p")
@@ -24,5 +24,8 @@ public interface OutputRelationRepository extends Neo4jRepository<OutputRelation
...
@@ -24,5 +24,8 @@ public interface OutputRelationRepository extends Neo4jRepository<OutputRelation
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Output]->(target) return p")
@Query("match (source:BaseNode),(target:BaseNode) where source.metadataId=$sourceId and target.metadataId=$targetId create p=(source)-[r:Output]->(target) return p")