Skip to content
Snippets Groups Projects
Commit 3139fbd3 authored by Marco Del Tufo's avatar Marco Del Tufo
Browse files

Update dss-dropboxes.md

parent 535266e5
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -17,8 +17,6 @@ is returned to its original state in the event of an error. ...@@ -17,8 +17,6 @@ is returned to its original state in the event of an error.
By deafult python 2.5 is used, but it's possible to use python version By deafult python 2.5 is used, but it's possible to use python version
2.7. 2.7.
Dropboxes are dss core plugins: [Core Dropboxes are dss core plugins: [Core
Plugins](/display/openBISDoc2010/Core+Plugins) Plugins](/display/openBISDoc2010/Core+Plugins)
...@@ -513,8 +511,6 @@ type or data set type). This provides an easy-to-use interface for a ...@@ -513,8 +511,6 @@ type or data set type). This provides an easy-to-use interface for a
common case. More complex searches, however, need to use the more common case. More complex searches, however, need to use the more
powerful API. powerful API.
### Authorization Service ### Authorization Service
The transaction provides an interface for querying the access privileges The transaction provides an interface for querying the access privileges
...@@ -626,8 +622,6 @@ Error Handling ...@@ -626,8 +622,6 @@ Error Handling
### Automatic Retry (auto recovery) ### Automatic Retry (auto recovery)
OpenBIS has a complex mechanism to ensure that the data registration via OpenBIS has a complex mechanism to ensure that the data registration via
dropboxes is atomic. When error occurs during data registration, the dropboxes is atomic. When error occurs during data registration, the
dropbox will try several times before it gives up on the process. The dropbox will try several times before it gives up on the process. The
...@@ -717,8 +711,6 @@ Validation scripts ...@@ -717,8 +711,6 @@ Validation scripts
See [Jython See [Jython
DataSetValidator](/display/openBISDoc2010/Jython+DataSetValidator). DataSetValidator](/display/openBISDoc2010/Jython+DataSetValidator).
Global Thread Parameters Global Thread Parameters
------------------------ ------------------------
...@@ -742,10 +734,6 @@ the `getGlobalState`. Here we show an example how to use: ...@@ -742,10 +734,6 @@ the `getGlobalState`. Here we show an example how to use:
threadPropertyDict = getThreadProperties(transaction) threadPropertyDict = getThreadProperties(transaction)
incomingRootDir = threadPropertyDict[u'incoming-root-dir'] incomingRootDir = threadPropertyDict[u'incoming-root-dir']
Sending Emails from a Drop box Sending Emails from a Drop box
------------------------------ ------------------------------
...@@ -757,10 +745,6 @@ Sending Emails from a Drop box ...@@ -757,10 +745,6 @@ Sending Emails from a Drop box
def process(transaction): def process(transaction):
transaction.getRegistrationContext().getPersistentMap().put(PERSISTANT_KEY_MAP, [fcId]) transaction.getRegistrationContext().getPersistentMap().put(PERSISTANT_KEY_MAP, [fcId])
Java Dropboxes Java Dropboxes
-------------- --------------
...@@ -891,8 +875,6 @@ implementation of this interface. ...@@ -891,8 +875,6 @@ implementation of this interface.
throws NotImplementedException; throws NotImplementedException;
} }
Sending Emails in a drop box (simple) Sending Emails in a drop box (simple)
------------------------------------- -------------------------------------
...@@ -907,8 +889,6 @@ Sending Emails in a drop box (simple) ...@@ -907,8 +889,6 @@ Sending Emails in a drop box (simple)
transaction.getGlobalState().getMailClient().sendEmailMessage("This is the subject", \ transaction.getGlobalState().getMailClient().sendEmailMessage("This is the subject", \
"This is the body", replyTo, fromAddress, recipient1, recipient2); "This is the body", replyTo, fromAddress, recipient1, recipient2);
### Java Dropbox Example ### Java Dropbox Example
This is a simple example of a pure-java dropbox that creates a sample This is a simple example of a pure-java dropbox that creates a sample
...@@ -968,8 +948,6 @@ Restart the DSS ...@@ -968,8 +948,6 @@ Restart the DSS
Calling an Aggregation Service from a drop box Calling an Aggregation Service from a drop box
---------------------------------------------- ----------------------------------------------
**drop box code** **drop box code**
''' '''
...@@ -998,8 +976,6 @@ Calling an Aggregation Service from a drop box ...@@ -998,8 +976,6 @@ Calling an Aggregation Service from a drop box
# Parameters: String sessionToken, String dataStoreCode,String serviceKey, Map<String, Object> parameters) # Parameters: String sessionToken, String dataStoreCode,String serviceKey, Map<String, Object> parameters)
s.createReportFromAggregationService(session_token, dss, service_key, d) s.createReportFromAggregationService(session_token, dss, service_key, d)
Known limitations Known limitations
----------------- -----------------
...@@ -1040,4 +1016,4 @@ Data set: ...@@ -1040,4 +1016,4 @@ Data set:
Material: Material:
- updating the same material - updating the same material
\ No newline at end of file
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