Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
elixibilitas-rest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INB
ELIXIR
T
tools-platform
elixibilitas
elixibilitas-rest
Commits
295c5c56
Commit
295c5c56
authored
Nov 11, 2020
by
redmitry@list.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add "@nmsp" property
parent
7dec2be6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/main/java/es/bsc/inb/elixir/elixibilitas/query/MongoQueries.java
...va/es/bsc/inb/elixir/elixibilitas/query/MongoQueries.java
+2
-0
No files found.
src/main/java/es/bsc/inb/elixir/elixibilitas/query/MongoQueries.java
View file @
295c5c56
...
...
@@ -227,6 +227,7 @@ public class MongoQueries {
Document
_id
=
(
Document
)
doc
.
remove
(
"_id"
);
doc
.
append
(
"@id"
,
toolsDAO
.
getURI
(
_id
));
doc
.
append
(
"@nmsp"
,
toolsDAO
.
getNamespace
(
_id
));
doc
.
append
(
"@type"
,
toolsDAO
.
getType
(
_id
));
doc
.
append
(
"@label"
,
toolsDAO
.
getLabel
(
_id
));
doc
.
append
(
"@version"
,
toolsDAO
.
getVersion
(
_id
));
...
...
@@ -439,6 +440,7 @@ public class MongoQueries {
for
(
Document
tool
:
tools
)
{
Document
_id
=
(
Document
)
tool
.
remove
(
"_id"
);
tool
.
append
(
"@id"
,
toolsDAO
.
getURI
(
_id
));
tool
.
append
(
"@nmsp"
,
toolsDAO
.
getNamespace
(
_id
));
tool
.
append
(
"@type"
,
toolsDAO
.
getType
(
_id
));
tool
.
append
(
"@label"
,
toolsDAO
.
getLabel
(
_id
));
tool
.
append
(
"@version"
,
toolsDAO
.
getVersion
(
_id
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment