Skip to content
Snippets Groups Projects
Commit 0e2fd3e5 authored by Swen Vermeul's avatar Swen Vermeul
Browse files

added all date-containing attributes for all entities

parent 7b444faa
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ def openbis_definitions(entity): ...@@ -11,7 +11,7 @@ def openbis_definitions(entity):
"Space": { "Space": {
"attrs_new": "code description".split(), "attrs_new": "code description".split(),
"attrs_up": "description".split(), "attrs_up": "description".split(),
"attrs": "code permId description registrator registrationDate modificationDate".split(), "attrs": "code permId description registrator registrationDate modifier modificationDate".split(),
"multi": "".split(), "multi": "".split(),
"identifier": "spaceId", "identifier": "spaceId",
"create": { "@type": "as.dto.space.create.SpaceCreation"}, "create": { "@type": "as.dto.space.create.SpaceCreation"},
...@@ -29,14 +29,14 @@ def openbis_definitions(entity): ...@@ -29,14 +29,14 @@ def openbis_definitions(entity):
"Experiment": { "Experiment": {
"attrs_new": "code type project tags attachments".split(), "attrs_new": "code type project tags attachments".split(),
"attrs_up": "project tags attachments".split(), "attrs_up": "project tags attachments".split(),
"attrs": "code permId identifier type project tags attachments".split(), "attrs": "code permId identifier type project tags registrator registrationDate modifier modificationDate attachments".split(),
"multi": "tags attachments".split(), "multi": "tags attachments".split(),
"identifier": "experimentId", "identifier": "experimentId",
}, },
"Sample": { "Sample": {
"attrs_new": "code type project parents children container components space experiment tags attachments".split(), "attrs_new": "code type project parents children container components space experiment tags attachments".split(),
"attrs_up": "project parents children container components space experiment tags attachments".split(), "attrs_up": "project parents children container components space experiment tags attachments".split(),
"attrs": "code permId identifier type project parents children components space experiment tags attachments container".split(), "attrs": "code permId identifier type project parents children components space experiment tags registrator registrationDate modifier modificationDate attachments container".split(),
"ids2type": { "ids2type": {
'parentIds': {'permId': {'@type': 'as.dto.sample.id.SamplePermId'}}, 'parentIds': {'permId': {'@type': 'as.dto.sample.id.SamplePermId'}},
'childIds': {'permId': {'@type': 'as.dto.sample.id.SamplePermId'}}, 'childIds': {'permId': {'@type': 'as.dto.sample.id.SamplePermId'}},
...@@ -79,7 +79,7 @@ def openbis_definitions(entity): ...@@ -79,7 +79,7 @@ def openbis_definitions(entity):
"Material": { "Material": {
"attrs_new": "code description type creation tags".split(), "attrs_new": "code description type creation tags".split(),
"attrs_up": "description type creation tags".split(), "attrs_up": "description type creation tags".split(),
"attrs": "code description type creation registrator tags".split(), "attrs": "code description type creation registrator registrationDate modifier modificationDate tags".split(),
"multi": "".split(), "multi": "".split(),
"identifier": "materialId", "identifier": "materialId",
}, },
...@@ -93,7 +93,7 @@ def openbis_definitions(entity): ...@@ -93,7 +93,7 @@ def openbis_definitions(entity):
"Vocabulary": { "Vocabulary": {
"attrs_new": "code description managedInternally internalNameSpace chosenFromList urlTemplate".split(), "attrs_new": "code description managedInternally internalNameSpace chosenFromList urlTemplate".split(),
"attrs_up": "description managedInternally internalNameSpace chosenFromList urlTemplate".split(), "attrs_up": "description managedInternally internalNameSpace chosenFromList urlTemplate".split(),
"attrs": "code description managedInternally internalNameSpace chosenFromList urlTemplate registrator registrationDate modificationDate".split(), "attrs": "code description managedInternally internalNameSpace chosenFromList urlTemplate registrator registrationDate modifier modificationDate".split(),
"multi": "".split(), "multi": "".split(),
"identifier": "vocabularyId", "identifier": "vocabularyId",
"search": { "@type": "as.dto.vocabulary.search.VocabularySearchCriteria" }, "search": { "@type": "as.dto.vocabulary.search.VocabularySearchCriteria" },
...@@ -105,7 +105,7 @@ def openbis_definitions(entity): ...@@ -105,7 +105,7 @@ def openbis_definitions(entity):
"VocabularyTerm": { "VocabularyTerm": {
"attrs_new": "code vocabularyCode label description official ordinal".split(), "attrs_new": "code vocabularyCode label description official ordinal".split(),
"attrs_up": "label description official ordinal".split(), "attrs_up": "label description official ordinal".split(),
"attrs": "code vocabularyCode label description official ordinal registrationDate modificationDate registrator".split(), "attrs": "code vocabularyCode label description official ordinal registrator registrationDate modifier modificationDate".split(),
"multi": "".split(), "multi": "".split(),
"identifier": "vocabularyTermId", "identifier": "vocabularyTermId",
"create": { "@type": "as.dto.vocabulary.create.VocabularyTermCreation"}, "create": { "@type": "as.dto.vocabulary.create.VocabularyTermCreation"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment