-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from sanctuuary/cwl_input_yml
Cwl input yml
- Loading branch information
Showing
11 changed files
with
284 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM eclipse-temurin:17-jdk-jammy | ||
WORKDIR /app | ||
COPY restape-0.2.2.jar /app | ||
ENTRYPOINT ["java", "-jar", "restape-0.2.2.jar"] | ||
COPY restape-0.2.4.jar /app | ||
ENTRYPOINT ["java", "-jar", "restape-0.2.4.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
162 changes: 115 additions & 47 deletions
162
src/main/java/nl/esciencecenter/controller/RestApeController.java
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 12 additions & 3 deletions
15
src/main/java/nl/esciencecenter/models/documentation/ConstraintElem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,29 @@ | ||
package nl.esciencecenter.models.documentation; | ||
|
||
import java.util.Map; | ||
|
||
import org.json.JSONArray; | ||
import org.json.JSONObject; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* This class represents a single constraint template. | ||
* TODO: This class is not used at the moment, but it is a good idea to use it | ||
* in the future. | ||
* | ||
*/ | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class ConstraintElem { | ||
public String id; | ||
public String label; | ||
public TaxonomyElem[] subsets; | ||
public ConstraintParam[] parameters; | ||
|
||
public ConstraintElem() { | ||
} | ||
} | ||
|
||
class ConstraintParam { | ||
public String dimension1Root; | ||
public String dimension2Root; | ||
} |
18 changes: 8 additions & 10 deletions
18
src/main/java/nl/esciencecenter/models/documentation/TaxonomyElem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
package nl.esciencecenter.models.documentation; | ||
|
||
import java.util.Map; | ||
|
||
import org.json.JSONArray; | ||
import org.json.JSONObject; | ||
import lombok.AllArgsConstructor; | ||
import lombok.NoArgsConstructor; | ||
|
||
/** | ||
* This class represents a single element of the taxonomy. | ||
* TODO: This class is not used at the moment, but it is a good idea to use it | ||
* in the future. | ||
* | ||
*/ | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class TaxonomyElem { | ||
public String constraintID; | ||
public String description; | ||
public Map[] parameters; | ||
|
||
public TaxonomyElem() { | ||
} | ||
public String id; | ||
public String label; | ||
public String root; | ||
public TaxonomyElem[] subsets; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.