Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
9b196d1b
Commit
9b196d1b
authored
Aug 27, 2020
by
Piotr Gawron
Browse files
type names normalized
parent
924211b4
Changes
19
Hide whitespace changes
Inline
Side-by-side
web/src/test/java/lcsb/mapviewer/web/ChemicalControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -90,7 +90,7 @@ public class ChemicalControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of suggested chemical queries"
)
.
type
(
"
A
rray<
S
tring>"
))))
.
type
(
"
a
rray<
s
tring>"
))))
.
andExpect
(
status
().
is2xxSuccessful
())
.
andReturn
().
getResponse
().
getContentAsString
();
...
...
@@ -106,7 +106,7 @@ public class ChemicalControllerIntegrationTest extends ControllerIntegrationTest
return
responseFields
(
subsectionWithPath
(
"[].id"
)
.
description
(
"identifier of the chemical"
)
.
type
(
"
O
bject"
),
.
type
(
"
o
bject"
),
fieldWithPath
(
"[].name"
)
.
description
(
"name"
)
.
type
(
"string"
),
...
...
@@ -115,31 +115,31 @@ public class ChemicalControllerIntegrationTest extends ControllerIntegrationTest
.
type
(
"string"
),
fieldWithPath
(
"[].synonyms"
)
.
description
(
"list of synonyms"
)
.
type
(
"
A
rray<
S
tring>"
),
.
type
(
"
a
rray<
s
tring>"
),
subsectionWithPath
(
"[].references"
)
.
description
(
"list of references"
)
.
type
(
"
A
rray<Reference>"
),
.
type
(
"
a
rray<Reference>"
),
fieldWithPath
(
"[].targets"
)
.
description
(
"list of targets"
)
.
type
(
"
A
rray<Target>"
),
.
type
(
"
a
rray<Target>"
),
fieldWithPath
(
"[].targets[].name"
)
.
description
(
"target name"
)
.
type
(
"string"
),
subsectionWithPath
(
"[].targets[].references"
)
.
description
(
"list of target references"
)
.
type
(
"
A
rray<Reference>"
),
.
type
(
"
a
rray<Reference>"
),
subsectionWithPath
(
"[].targets[].targetElements"
)
.
description
(
"list of elements on the map associated with this target"
)
.
type
(
"
A
rray<
O
bject>"
),
.
type
(
"
a
rray<
o
bject>"
),
subsectionWithPath
(
"[].targets[].targetParticipants"
)
.
description
(
"list of identifiers associated with this target"
)
.
type
(
"
A
rray<
O
bject>"
),
.
type
(
"
a
rray<
o
bject>"
),
fieldWithPath
(
"[].directEvidence"
)
.
description
(
"direct evidence"
)
.
type
(
"string"
),
subsectionWithPath
(
"[].directEvidenceReferences"
)
.
description
(
"list of references"
)
.
type
(
"
A
rray<Reference>"
));
.
type
(
"
a
rray<Reference>"
));
}
@Test
...
...
web/src/test/java/lcsb/mapviewer/web/CommentControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -121,7 +121,7 @@ public class CommentControllerIntegrationTest extends ControllerIntegrationTest
return
responseFields
(
subsectionWithPath
(
"[]"
)
.
description
(
"list of comments"
)
.
type
(
"
A
rray<Comment>"
)).
andWithPrefix
(
"[]."
,
getCommentResponseFields
());
.
type
(
"
a
rray<Comment>"
)).
andWithPrefix
(
"[]."
,
getCommentResponseFields
());
}
private
List
<
FieldDescriptor
>
getCommentResponseFields
()
{
...
...
@@ -129,23 +129,23 @@ public class CommentControllerIntegrationTest extends ControllerIntegrationTest
fieldWithPath
(
"author"
)
.
description
(
"author name"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"owner"
)
.
description
(
"login of the user that created a comment"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"email"
)
.
description
(
"author email address"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"content"
)
.
description
(
"content"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"title"
)
.
description
(
"formatted name of the commented element"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"pinned"
)
.
description
(
"should the comment be visible to everybody on the map"
)
.
optional
()
...
...
@@ -158,7 +158,7 @@ public class CommentControllerIntegrationTest extends ControllerIntegrationTest
fieldWithPath
(
"removeReason"
)
.
description
(
"reason why comment was removed"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"id"
)
.
description
(
"comment identifier"
)
.
optional
()
...
...
@@ -170,11 +170,11 @@ public class CommentControllerIntegrationTest extends ControllerIntegrationTest
subsectionWithPath
(
"coord"
)
.
description
(
"coordinates where comment should be pinned"
)
.
optional
()
.
type
(
"
P
oint"
),
.
type
(
"
p
oint"
),
fieldWithPath
(
"icon"
)
.
description
(
"icon that should be used to visualize this comment"
)
.
optional
()
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"elementId"
)
.
description
(
"element identifier"
)
.
optional
()
...
...
@@ -183,7 +183,7 @@ public class CommentControllerIntegrationTest extends ControllerIntegrationTest
.
description
(
"type of the element that was commented on. Available options "
+
snippets
.
getOptionsAsString
(
ElementIdentifierType
.
class
))
.
optional
()
.
type
(
"
S
tring"
));
.
type
(
"
s
tring"
));
}
private
RequestParametersSnippet
getCommentsRequestParameters
()
{
...
...
web/src/test/java/lcsb/mapviewer/web/ConfigurationControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -96,7 +96,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
.
andDo
(
document
(
"configuration/list_options"
,
responseFields
(
subsectionWithPath
(
"[]"
)
.
description
(
"list of options"
)
.
type
(
"
A
rray<Option>"
)).
andWithPrefix
(
"[]."
,
configurationOptionFields
())))
.
type
(
"
a
rray<Option>"
)).
andWithPrefix
(
"[]."
,
configurationOptionFields
())))
.
andReturn
().
getResponse
().
getContentAsString
();
...
...
@@ -192,7 +192,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of available databases"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"[].name"
)
.
description
(
"name of the database"
)
.
type
(
"string"
))))
...
...
@@ -210,7 +210,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of available releases"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"[].licenseUrl"
)
.
description
(
"url with the content of license used for this release"
)
.
type
(
"string"
),
...
...
@@ -342,7 +342,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
.
type
(
"string"
),
fieldWithPath
(
"elementClassNames"
)
.
description
(
"Java classes that identify bioEntity types that can be annotated by the annotator"
)
.
type
(
"
List<S
tring>"
),
.
type
(
"
array<s
tring>"
),
fieldWithPath
(
"description"
)
.
description
(
"short description of the annotator"
)
.
type
(
"string"
)
...
...
@@ -350,7 +350,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
fieldWithPath
(
"parameters"
)
.
description
(
"list of supported input fields, generated outputs that can be filled by annotator and configuration options"
)
.
type
(
"
List<O
bject>"
)));
.
type
(
"
array<o
bject>"
)));
result
.
addAll
(
annotatorParameterFields
(
"parameters[]."
));
return
result
;
...
...
@@ -438,7 +438,7 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
.
optional
(),
fieldWithPath
(
"registryIdentifier"
)
.
description
(
"list of uris used by this identifier type"
)
.
type
(
"
A
rray<
S
tring>"
)
.
type
(
"
a
rray<
s
tring>"
)
.
optional
()));
}
...
...
@@ -535,34 +535,34 @@ public class ConfigurationControllerIntegrationTest extends ControllerIntegratio
.
optional
(),
fieldWithPath
(
prefix
+
"field"
)
.
description
(
"bioEntity field. Either this or 'annotation_type' is required for INPUT/OUTPUT parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"commonName"
)
.
description
(
"name of the CONFIG parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"description"
)
.
description
(
"description of the parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"inputType"
)
.
description
(
"type of the CONFIG parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"name"
)
.
description
(
"name of the CONFIG parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"value"
)
.
description
(
"default value of the CONFIG parameter"
)
.
type
(
"
S
tring"
)
.
type
(
"
s
tring"
)
.
optional
(),
fieldWithPath
(
prefix
+
"order"
)
.
description
(
"order position when listing parameters"
)
.
type
(
"number"
),
fieldWithPath
(
prefix
+
"type"
)
.
description
(
"type of parameter (INPUT/OUTPUT/CONFIG)"
)
.
type
(
"
S
tring"
));
.
type
(
"
s
tring"
));
return
result
;
}
...
...
web/src/test/java/lcsb/mapviewer/web/ConvertControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -130,16 +130,16 @@ public class ConvertControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"inputs"
)
.
description
(
"list of available input formats"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"inputs[].available_names"
)
.
description
(
"list of names that could be used for specific format"
)
.
type
(
"
A
rray<
S
tring>"
),
.
type
(
"
a
rray<
s
tring>"
),
fieldWithPath
(
"outputs"
)
.
description
(
"list of available input formats"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"outputs[].available_names"
)
.
description
(
"list of names that could be used for specific format"
)
.
type
(
"
A
rray<
S
tring>"
))));
.
type
(
"
a
rray<
s
tring>"
))));
}
@Test
...
...
@@ -171,16 +171,16 @@ public class ConvertControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"inputs"
)
.
description
(
"list of available input formats"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"inputs[].available_names"
)
.
description
(
"list of names that could be used for specific format"
)
.
type
(
"
A
rray<
S
tring>"
),
.
type
(
"
a
rray<
s
tring>"
),
fieldWithPath
(
"outputs"
)
.
description
(
"list of available input formats"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"outputs[].available_names"
)
.
description
(
"list of names that could be used for specific format"
)
.
type
(
"
A
rray<
S
tring>"
))));
.
type
(
"
a
rray<
s
tring>"
))));
}
@Test
...
...
web/src/test/java/lcsb/mapviewer/web/DrugControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -106,7 +106,7 @@ public class DrugControllerIntegrationTest extends ControllerIntegrationTest {
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of suggested drug queries"
)
.
type
(
"
A
rray<
S
tring>"
))))
.
type
(
"
a
rray<
s
tring>"
))))
.
andExpect
(
status
().
is2xxSuccessful
());
}
...
...
@@ -125,7 +125,7 @@ public class DrugControllerIntegrationTest extends ControllerIntegrationTest {
return
responseFields
(
subsectionWithPath
(
"[].id"
)
.
description
(
"identifier of the chemical"
)
.
type
(
"
O
bject"
),
.
type
(
"
o
bject"
),
fieldWithPath
(
"[].name"
)
.
description
(
"name"
)
.
type
(
"string"
),
...
...
@@ -134,31 +134,31 @@ public class DrugControllerIntegrationTest extends ControllerIntegrationTest {
.
type
(
"string"
),
fieldWithPath
(
"[].synonyms"
)
.
description
(
"list of synonyms"
)
.
type
(
"
A
rray<
S
tring>"
),
.
type
(
"
a
rray<
s
tring>"
),
fieldWithPath
(
"[].brandNames"
)
.
description
(
"list of brand names"
)
.
type
(
"
A
rray<
S
tring>"
),
.
type
(
"
a
rray<
s
tring>"
),
fieldWithPath
(
"[].bloodBrainBarrier"
)
.
description
(
"does drug cross blood brain barrier"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
subsectionWithPath
(
"[].references"
)
.
description
(
"list of references"
)
.
type
(
"
A
rray<Reference>"
),
.
type
(
"
a
rray<Reference>"
),
fieldWithPath
(
"[].targets"
)
.
description
(
"list of targets"
)
.
type
(
"
A
rray<Target>"
),
.
type
(
"
a
rray<Target>"
),
fieldWithPath
(
"[].targets[].name"
)
.
description
(
"target name"
)
.
type
(
"string"
),
subsectionWithPath
(
"[].targets[].references"
)
.
description
(
"list of target references"
)
.
type
(
"
A
rray<Reference>"
),
.
type
(
"
a
rray<Reference>"
),
subsectionWithPath
(
"[].targets[].targetElements"
)
.
description
(
"list of elements on the map associated with this target"
)
.
type
(
"
A
rray<
O
bject>"
),
.
type
(
"
a
rray<
o
bject>"
),
subsectionWithPath
(
"[].targets[].targetParticipants"
)
.
description
(
"list of identifiers associated with this target"
)
.
type
(
"
A
rray<
O
bject>"
));
.
type
(
"
a
rray<
o
bject>"
));
}
}
web/src/test/java/lcsb/mapviewer/web/FileControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -142,19 +142,19 @@ public class FileControllerIntegrationTest extends ControllerIntegrationTest {
return
Arrays
.
asList
(
fieldWithPath
(
"id"
)
.
description
(
"unique id in the system"
)
.
type
(
"
N
umber"
),
.
type
(
"
n
umber"
),
fieldWithPath
(
"filename"
)
.
description
(
"original name of the file"
)
.
type
(
"
N
umber"
),
.
type
(
"
n
umber"
),
fieldWithPath
(
"length"
)
.
description
(
"file length"
)
.
type
(
"
N
umber"
),
.
type
(
"
n
umber"
),
fieldWithPath
(
"owner"
)
.
description
(
"login of the file owner"
)
.
type
(
"
N
umber"
),
.
type
(
"
n
umber"
),
fieldWithPath
(
"uploadedDataLength"
)
.
description
(
"total number of uploaded bytes"
)
.
type
(
"
N
umber"
));
.
type
(
"
n
umber"
));
}
}
web/src/test/java/lcsb/mapviewer/web/FunctionControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -118,7 +118,7 @@ public class FunctionControllerIntegrationTest extends ControllerIntegrationTest
.
type
(
"string"
),
fieldWithPath
(
"arguments"
)
.
description
(
"list of function parameters"
)
.
type
(
"
A
rray<
O
bject>"
));
.
type
(
"
a
rray<
o
bject>"
));
}
private
ResponseFieldsSnippet
listOfFunctionFields
()
{
...
...
web/src/test/java/lcsb/mapviewer/web/GenomicsControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -77,7 +77,7 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
.
andDo
(
document
(
"genomics/get_organisms"
,
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of organisms"
)
.
type
(
"
A
rray"
)).
andWithPrefix
(
"[]."
,
organismResponseFields
())))
.
type
(
"
a
rray"
)).
andWithPrefix
(
"[]."
,
organismResponseFields
())))
.
andExpect
(
status
().
is2xxSuccessful
())
.
andReturn
().
getResponse
().
getContentAsString
();
...
...
@@ -92,7 +92,7 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
return
Arrays
.
asList
(
fieldWithPath
(
"resource"
)
.
description
(
"taxonomy id of the organism"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"annotatorClassName"
).
ignored
(),
fieldWithPath
(
"id"
).
ignored
(),
fieldWithPath
(
"link"
).
ignored
(),
...
...
@@ -110,10 +110,10 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of genome types"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"[].type"
)
.
description
(
"type"
)
.
type
(
"
S
tring"
))))
.
type
(
"
s
tring"
))))
.
andExpect
(
status
().
is2xxSuccessful
());
}
...
...
@@ -132,10 +132,10 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of genome versions"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"[].version"
)
.
description
(
"version"
)
.
type
(
"
S
tring"
))))
.
type
(
"
s
tring"
))))
.
andExpect
(
status
().
is2xxSuccessful
());
}
...
...
@@ -156,10 +156,10 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of urls"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"[].url"
)
.
description
(
"url"
)
.
type
(
"
S
tring"
))))
.
type
(
"
s
tring"
))))
.
andExpect
(
status
().
is2xxSuccessful
());
}
...
...
@@ -208,7 +208,7 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
.
andDo
(
document
(
"genomics/get_genomes"
,
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of downloaded genomes"
)
.
type
(
"
A
rray"
)).
andWithPrefix
(
"[]."
,
genomeInformationResponseFields
())))
.
type
(
"
a
rray"
)).
andWithPrefix
(
"[]."
,
genomeInformationResponseFields
())))
.
andExpect
(
status
().
is2xxSuccessful
())
.
andReturn
().
getResponse
().
getContentAsString
();
...
...
@@ -253,25 +253,25 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
private
List
<
FieldDescriptor
>
genomeInformationResponseFields
()
{
return
Arrays
.
asList
(
fieldWithPath
(
"downloadProgress"
)
.
description
(
"download progress (0-100%)"
)
.
type
(
"
D
ouble"
),
.
type
(
"
d
ouble"
),
fieldWithPath
(
"geneMapping"
)
.
description
(
"list of available gene mappings for given genome"
)
.
type
(
"
A
rray"
),
.
type
(
"
a
rray"
),
fieldWithPath
(
"idObject"
)
.
description
(
"unique id of genome in minerva"
)
.
type
(
"
N
umber"
),
.
type
(
"
n
umber"
),
fieldWithPath
(
"localUrl"
)
.
description
(
"url on minerva where local copy of genome can be accessed"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"organism"
)
.
description
(
"organism identifier"
)
.
type
(
"
O
bject"
),
.
type
(
"
o
bject"
),
fieldWithPath
(
"organism.resource"
)
.
description
(
"organism identifier"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"organism.type"
)
.
description
(
"organism identifier type (usually "
+
MiriamType
.
TAXONOMY
+
")"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"organism.annotatorClassName"
)
.
ignored
(),
fieldWithPath
(
"organism.id"
)
...
...
@@ -280,13 +280,13 @@ public class GenomicsControllerIntegrationTest extends ControllerIntegrationTest
.
ignored
(),
fieldWithPath
(
"sourceUrl"
)
.
description
(
"genome source url"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"type"
)
.
description
(
"type of genome (database from which it was downloaded)"
)
.
type
(
"
S
tring"
),
.
type
(
"
s
tring"
),
fieldWithPath
(
"version"
)
.
description
(
"genome version"
)
.
type
(
"
S
tring"
));
.
type
(
"
s
tring"
));
}
@Test
...
...
web/src/test/java/lcsb/mapviewer/web/MapControllerIntegrationTest.java
View file @
9b196d1b
...
...
@@ -141,7 +141,7 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
subsectionWithPath
(
"[].bounds"
)
.
description
(
"coordinates and the dimension of the element on the map"
)
.
type
(
"
O
bject"
)
.
type
(
"
o
bject"
)
.
optional
(),
fieldWithPath
(
"[].hierarchyVisibilityLevel"
)
.
description
(
"at what zoom level this element becomes visible in hierarchical view"
)
...
...
@@ -153,15 +153,15 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
subsectionWithPath
(
"[].synonyms"
)
.
description
(
"list of synonyms"
)
.
type
(
"
A
rray<
S
tring>"
)
.
type
(
"
a
rray<
s
tring>"
)
.
optional
(),
subsectionWithPath
(
"[].formerSymbols"
)
.
description
(
"list of former symbols"
)
.
type
(
"
A
rray<
S
tring>"
)
.
type
(
"
a
rray<
s
tring>"
)
.
optional
(),
subsectionWithPath
(
"[].references"
)
.
description
(
"list of references"
)
.
type
(
"
A
rray<Reference>"
)
.
type
(
"
a
rray<Reference>"
)
.
optional
(),
fieldWithPath
(
"[].notes"
)
.
description
(
"notes and description"
)
...
...
@@ -205,7 +205,7 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
subsectionWithPath
(
"[].other"
)
.
description
(
"list of oher properties"
)
.
type
(
"
O
bject"
)
.
type
(
"
o
bject"
)
.
optional
());
}
...
...
@@ -229,11 +229,11 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
subsectionWithPath
(
"[].centerPoint"
)
.
description
(
"center point"
)
.
type
(
"
P
oint"
)
.
type
(
"
p
oint"
)
.
optional
(),
subsectionWithPath
(
"[].lines"
)
.
description
(
"list of lines used to draw reaction"
)
.
type
(
"
A
rray<
L
ine>"
)
.
type
(
"
a
rray<
l
ine>"
)
.
optional
(),
fieldWithPath
(
"[].hierarchyVisibilityLevel"
)
.
description
(
"at what zoom level this element becomes visible in hierarchical view"
)
...
...
@@ -241,19 +241,19 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
subsectionWithPath
(
"[].references"
)
.
description
(
"list of references"
)
.
type
(
"
A
rray<Reference>"
)
.
type
(
"
a
rray<Reference>"
)
.
optional
(),
subsectionWithPath
(
"[].modifiers"
)
.
description
(
"list of modifiers"
)
.
type
(
"
A
rray<
O
bject>"
)
.
type
(
"
a
rray<
o
bject>"
)
.
optional
(),
subsectionWithPath
(
"[].reactants"
)
.
description
(
"list of reactants"
)
.
type
(
"
A
rray<
O
bject>"
)
.
type
(
"
a
rray<
o
bject>"
)
.
optional
(),
subsectionWithPath
(
"[].products"
)
.
description
(
"list of products"
)
.
type
(
"
A
rray<
O
bject>"
)
.
type
(
"
a
rray<
o
bject>"
)
.
optional
(),
fieldWithPath
(
"[].notes"
)
.
description
(
"notes and description"
)
...
...
@@ -261,11 +261,11 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
.
optional
(),
fieldWithPath
(
"[].kineticLaw"
)
.
description
(
"SBML kinetics law"
)
.
type
(
"
O
bject"
)
.
type
(
"
o
bject"
)
.
optional
(),
subsectionWithPath
(
"[].other"
)
.
description
(
"list of oher properties"
)
.
type
(
"
O
bject"
)
.
type
(
"
o
bject"
)
.
optional
());
}
...
...
@@ -527,7 +527,7 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
responseFields
(
fieldWithPath
(
"[]"
)
.
description
(
"list of all full search queries that could be used for quering the map"
)
.
type
(
"
A
rray<
S
tring>"
))))
.
type
(
"
a
rray<
s
tring>"
))))
.
andExpect
(
status
().
is2xxSuccessful
());
}
...
...
@@ -569,10 +569,10 @@ public class MapControllerIntegrationTest extends ControllerIntegrationTest {
fieldWithPath
(
"minZoom"
).
description
(
"minimum zoom level availbale for the map"
).
type
(
"number"
),
fieldWithPath
(
"maxZoom"
).
description
(
"maximum zoom level available for the map"
).
type
(
"number"
),
fieldWithPath
(
"submodelType"
).
description
(
"type of the submap"
).
type
(
"string"
),
fieldWithPath
(
"authors"
).
description
(
"list of authors"
).
type
(
"
A
rray<Author>"
),
fieldWithPath
(
"references"
).
description
(
"list of references"
).
type
(
"
A
rray<Reference>"
),
fieldWithPath
(
"authors"
).
description
(
"list of authors"
).
type
(
"
a
rray<Author>"
),
fieldWithPath
(
"references"
).
description
(
"list of references"
).
type
(
"
a
rray<Reference>"
),
fieldWithPath
(
"creationDate"
).
description
(
"creation date"
).
type
(
"timestamp"
),
fieldWithPath
(
"modificationDates"
).
description
(
"modification dates"
).
type
(
"
A
rray<timestamp>"
));
fieldWithPath
(
"modificationDates"
).
description
(
"modification dates"
).
type
(
"
a
rray<timestamp>"
));