Skip to content

Commit

Permalink
Fixed miredot config (OHDSI#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
marpozh authored and pavgra committed Jan 24, 2019
1 parent 33e46f5 commit 5da4327
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 27 deletions.
9 changes: 9 additions & 0 deletions api.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<h1>Welcome to OHDSI WebAPI</h1>
<body>

</body>
</html>
59 changes: 32 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
<plugin>
<groupId>com.qmino</groupId>
<artifactId>miredot-plugin</artifactId>
<version>1.5.1</version>
<version>2.1.2</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -272,31 +272,36 @@
</execution>
</executions>
<configuration>
<licence>cHJvamVjdHxvcmcub2hkc2kuV2ViQVBJfDIwMjAtMDMtMzF8dHJ1ZXwtMSNNQzBDRkNNQ2R2ZEhjbDg0Z2tONVI3bHlmQ2Y4SnNkYUFoVUFoMkdtOUVFdy9RelpLVzM1V2p6a2FsdzJZV009</licence>
<restModel>
<httpStatusCodes>
<httpStatusCode>
<httpCode>200</httpCode>
<document>always</document>
<defaultMessage>The service call has completed successfully.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>401</httpCode>
<document>Authorization Exception</document>
<defaultMessage>The user is not authorized to use this service.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>412</httpCode>
<document>put,post</document>
<defaultMessage>Invalid JSON/XML input.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>500</httpCode>
<document>always</document>
<defaultMessage>The service call has not succeeded.</defaultMessage>
</httpStatusCode>
</httpStatusCodes>
</restModel>
<licence>cHJvamVjdHxvcmcub2hkc2kuV2ViQVBJfDIwMjAtMDMtMzF8dHJ1ZXwtMSNNQzBDRkNNQ2R2ZEhjbDg0Z2tONVI3bHlmQ2Y4SnNkYUFoVUFoMkdtOUVFdy9RelpLVzM1V2p6a2FsdzJZV009</licence>
<restModel>
<httpStatusCodes>
<httpStatusCode>
<httpCode>200</httpCode>
<document>always</document>
<defaultMessage>The service call has completed successfully.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>401</httpCode>
<document>Authorization Exception</document>
<defaultMessage>The user is not authorized to use this service.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>412</httpCode>
<document>put,post</document>
<defaultMessage>Invalid JSON/XML input.</defaultMessage>
</httpStatusCode>
<httpStatusCode>
<httpCode>500</httpCode>
<document>always</document>
<defaultMessage>The service call has not succeeded.</defaultMessage>
</httpStatusCode>
</httpStatusCodes>
</restModel>
<output>
<html>
<intro>api.html</intro>
</html>
</output>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -678,7 +683,7 @@
<dependency>
<groupId>org.ohdsi</groupId>
<artifactId>standardized-analysis-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.cosium.spring.data</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public void setValue(final String value) {
this.value = value;
}

@Override
public Object getDesign() {

return design;
Expand Down

0 comments on commit 5da4327

Please sign in to comment.