Skip to content

Commit

Permalink
Merge pull request #1 from JPL-IMCE/v0.8.0
Browse files Browse the repository at this point in the history
Upgrade to OML v0.8.0
  • Loading branch information
melaasar authored Nov 5, 2020
2 parents 68921d7 + b128db3 commit b2c7b4f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ buildscript {

subprojects {
group = 'io.opencaesar.adapters'
version = '0.7.6'
version = '0.8.0'

ext.versions = [
legacy: '0.9.7.+',
oml: '0.7.+',
oml: '0.8.+',
]

repositories {
Expand Down
2 changes: 1 addition & 1 deletion legacy2oml-gradle/src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.6
0.8.0
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ class Legacy2Oml {
def dispatch void addToOntology(ReifiedRelationshipInstance input, Description description) {
val domain = input.getDescriptionBox.reifiedRelationshipInstanceDomains.findFirst[reifiedRelationshipInstance == input].domain
val range = input.getDescriptionBox.reifiedRelationshipInstanceRanges.findFirst[reifiedRelationshipInstance == input].range
oml.addRelationInstance(description, input.getName, domain.iri, range.iri)
oml.addRelationInstance(description, input.getName, Collections.singletonList(domain.iri), Collections.singletonList(range.iri))
oml.addRelationTypeAssertion(description, input.iri, input.singletonConceptualRelationshipClassifier.iri)
}

Expand Down
2 changes: 1 addition & 1 deletion legacy2oml/src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.6
0.8.0

0 comments on commit b2c7b4f

Please sign in to comment.