myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3342] branches/wf4ever: Added config section ro_


From: noreply
Subject: [myexperiment-hackers] [3342] branches/wf4ever: Added config section ro_resource_types
Date: Wed, 23 Jan 2013 16:43:19 +0000 (UTC)

Revision
3342
Author
stain
Date
2013-01-23 16:43:18 +0000 (Wed, 23 Jan 2013)

Log Message

Added config section ro_resource_types

Modified Paths

Diff

Modified: branches/wf4ever/config/default_settings.yml (3341 => 3342)


--- branches/wf4ever/config/default_settings.yml	2013-01-23 16:43:11 UTC (rev 3341)
+++ branches/wf4ever/config/default_settings.yml	2013-01-23 16:43:18 UTC (rev 3342)
@@ -677,3 +677,36 @@
 
   - http://sandbox.wf4ever-project.org/rodl/sparql
 
+## ro_resource_types - types for adding resources (_add_item_ro.rhtml)
+# 
+# List of tuples:
+#
+# -
+#    - "The Label"  
+#    - "http://example.com/vocab#predicate"
+# -
+#    - "The Label"  
+#    - "http://example.com/vocab#predicate"
+
+
+ro_resource_types:
+  - 
+    - "Workflow"
+    - "http://purl.org/wf4ever/wfdesc#WorkflowDefinition"
+  - 
+    - "Resource"
+    - "http://purl.org/wf4ever/ro#Resource"
+  - 
+    - "Sketch"
+    - "http://purl.org/wf4ever/roterms#Sketch"
+  - 
+    - "Hypothesis"
+    - "http://purl.org/wf4ever/roterms#Hypothesis"    
+  - 
+    - "Conclusion"
+    - "http://purl.org/wf4ever/roterms#Conclusion"
+  - 
+    - "Results"
+    - "http://purl.org/wf4ever/roterms#Results"
+    
+    
\ No newline at end of file

Modified: branches/wf4ever/lib/conf.rb (3341 => 3342)


--- branches/wf4ever/lib/conf.rb	2013-01-23 16:43:11 UTC (rev 3341)
+++ branches/wf4ever/lib/conf.rb	2013-01-23 16:43:18 UTC (rev 3342)
@@ -206,6 +206,10 @@
     self.fetch_entry('research_object_endpoints')
   end
 
+  def self.ro_resource_types
+    self.fetch_entry('ro_resource_types')
+  end
+
   # Temporary config option for RODL access
   def self.rodl_bearer_token
     self.fetch_entry('rodl_bearer_token')

reply via email to

[Prev in Thread] Current Thread [Next in Thread]