diff options
Diffstat (limited to 'collaboration/GSoC-2011-Eranda/cassandra/src/main/resources/datastore.composite')
-rw-r--r-- | collaboration/GSoC-2011-Eranda/cassandra/src/main/resources/datastore.composite | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/collaboration/GSoC-2011-Eranda/cassandra/src/main/resources/datastore.composite b/collaboration/GSoC-2011-Eranda/cassandra/src/main/resources/datastore.composite new file mode 100644 index 0000000000..bf67ad5eee --- /dev/null +++ b/collaboration/GSoC-2011-Eranda/cassandra/src/main/resources/datastore.composite @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://datastore" + name="datastore-contribution"> + <component name="DatastoreComponent"> + <implementation.java class="org.apache.tuscany.nosqldatastore.DatastoreServiceImpl"/> + <service name="DatastoreService"> + <interface.java interface="org.apache.tuscany.nosqldatastore.DatastoreService"/> + <tuscany:binding.rest uri="http://localhost:8085/DatastoreService"> + <tuscany:wireFormat.json/> + <tuscany:operationSelector.jaxrs/> + </tuscany:binding.rest> + </service> + </component> +</composite> |