... | ... | @@ -67,7 +67,7 @@ Following assumptions were made: |
|
|
* the drafts are registered in B2SHARE just one time, even if the rule to scan for draft is executed multiple times.
|
|
|
* the collections are copied and published just one time, even if the rule to publish them is executed multiple times.
|
|
|
|
|
|
# scripts
|
|
|
# Scripts
|
|
|
The rule will call the methods of the python script **b2shareclientCLI.py** to execute the workflow, this methods can also be called directly.
|
|
|
|
|
|
The B2SAFE B2SHARE client has 3 major functions: draft, meta, publish; to create a draft, add metadata to and publish it. Further it has helping functions to list all names of communities available in B2SHARE, to get the schema of a community, to understand possible key value pairs of metadata file user has to fill, to get a specific draft to check it before publishing and to delete a draft if it is not correct.
|
... | ... | @@ -239,5 +239,5 @@ Ran 23 tests in 0.107s |
|
|
OK
|
|
|
```
|
|
|
|
|
|
# worflow diagram
|
|
|
# Worflow diagram
|
|
|
![publish from B2SAFE to B2SHARE workflow ](https://raw.githubusercontent.com/wiki/EUDAT-B2SAFE/B2SAFE-core/use_cases_publish_to_b2share.png) |