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')