Skip to content

Commit

Permalink
update to vodml 0.4.5 plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pahjbo committed Apr 8, 2024
1 parent b690664 commit ab1f920
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
8 changes: 6 additions & 2 deletions binding_proposal_model.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@
<name>proposal</name>
<file>proposaldm.vo-dml.xml</file>s
<java-package>org.ivoa.dm.proposal.prop</java-package>
<xml-targetnamespace prefix="prop" schemaFilename="proposalDM.xsd">http://ivoa.net/dm/proposalDM</xml-targetnamespace>
<xml-targetnamespace prefix="prop">http://ivoa.net/dm/proposalDM/v0.4</xml-targetnamespace>
<rdb inheritance-strategy="single-table"
discriminatorColumnLength="64"/>
<type-detail vodml-id="Justification.text">
<length>3072</length>
</type-detail>


</model>
<model>
<name>proposalManagement</name>
<file>proposalManagement.vo-dml.xml</file>
<java-package>org.ivoa.dm.proposal.management</java-package>
<xml-targetnamespace prefix="propm" schemaFilename="proposalManagement.xsd">http://ivoa.net/dm/proposalManagment</xml-targetnamespace>
<xml-targetnamespace prefix="propm" >http://ivoa.net/dm/proposalManagment/v0.4</xml-targetnamespace>
<rdb inheritance-strategy="single-table"
discriminatorColumnLength="64"/>
</model>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.gradle.kotlin.dsl.accessors.runtime.addDependencyTo

plugins {
id("net.ivoa.vo-dml.vodmltools") version "0.4.4"
id("net.ivoa.vo-dml.vodmltools") version "0.4.5"
`maven-publish`
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
signing
Expand Down
2 changes: 1 addition & 1 deletion src/main/vo-dml/proposalManagement.vo-dml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<name>proposalManagement</name>
<description>The data model for managing the proposal review process. Intended to work for phase 1</description>
<uri/>
<title>TBD</title>
<title></title>
<author>Paul Harrison</author>
<version>0.3</version>
<lastModified>2023-12-19T15:37:41Z</lastModified>
Expand Down
23 changes: 13 additions & 10 deletions src/main/vo-dml/proposaldm.vo-dml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
proposal to be reviewed and allocated time. It does not cover all the technical detail of instrument setup that would be needed to actually schedule the
observations, although the intention is that information about targets etc. could be automatically transferred to an observing system.</description>
<uri/>
<title>TBD</title>
<title></title>
<author>Paul Harrison</author>
<version>0.3</version>
<lastModified>2024-03-26T09:49:59Z</lastModified>
Expand All @@ -24,9 +24,12 @@
<documentationURL>not known</documentationURL>
</import>
<primitiveType>
<vodml-id>WikiDataId</vodml-id>
<name>WikiDataId</name>
<description>a WikiData identifier</description>
<vodml-id>WikiDataId</vodml-id>
<name>WikiDataId</name>
<description>a WikiData identifier</description>
<extends>
<vodml-ref>ivoa:stringIdentifier</vodml-ref>
</extends>
</primitiveType>
<enumeration>
<vodml-id>ProposalKind</vodml-id>
Expand Down Expand Up @@ -862,7 +865,7 @@
</multiplicity>
</attribute>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>Target</vodml-id>
<name>Target</name>
<description>A target source</description>
Expand Down Expand Up @@ -967,7 +970,7 @@
<vodml-ref>proposal:Target</vodml-ref>
</extends>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>Field</vodml-id>
<name>Field</name>
<description>Definition of an observing field pointing</description>
Expand Down Expand Up @@ -1076,12 +1079,12 @@
</multiplicity>
</attribute>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>ObservingConstraint</vodml-id>
<name>ObservingConstraint</name>
<description>a form of constraint on the observation</description>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>TimingConstraint</vodml-id>
<name>TimingConstraint</name>
<description>Any specific timing requirements for the observing</description>
Expand Down Expand Up @@ -1153,7 +1156,7 @@
<vodml-ref>proposal:TimingConstraint</vodml-ref>
</extends>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>PointingConstaint</vodml-id>
<name>PointingConstaint</name>
<description>A constraint that limits the telescope pointing</description>
Expand Down Expand Up @@ -1374,7 +1377,7 @@
</multiplicity>
</attribute>
</objectType>
<objectType abstract='true'>
<objectType abstract="true">
<vodml-id>Observation</vodml-id>
<name>Observation</name>
<description></description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void testJacksonOjectIds( ) throws JsonProcessingException {
String njn = "{\n"
+ " \"members\": [\n"
+ " {\n"
+ " \"role\": \"CHAIR\",\n"
+ " \"role\": \"Chair\",\n"
+ " \"member\": {\n"
+ " \"_id\": 1,\n"
+ " \"person\": {\n"
Expand All @@ -141,7 +141,7 @@ public void testJacksonOjectIds( ) throws JsonProcessingException {
+ " }\n"
+ " },\n"
+ " {\n"
+ " \"role\": \"SCIENCEREVIEWER\",\n"
+ " \"role\": \"ScienceReviewer\",\n"
+ " \"member\": {\n"
+ " \"_id\": 2,\n"
+ " \"person\": {\n"
Expand Down

0 comments on commit ab1f920

Please sign in to comment.