summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/palettes/http/palette.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/edit/palettes/http/palette.composite')
-rw-r--r--sca-cpp/trunk/modules/edit/palettes/http/palette.composite91
1 files changed, 91 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/palettes/http/palette.composite b/sca-cpp/trunk/modules/edit/palettes/http/palette.composite
new file mode 100644
index 0000000000..fb46490dea
--- /dev/null
+++ b/sca-cpp/trunk/modules/edit/palettes/http/palette.composite
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://http"
+ name="palette">
+
+ <service name="host" promote="host"/>
+ <service name="path" promote="path"/>
+ <service name="params" promote="params"/>
+ <service name="user" promote="user"/>
+ <service name="email" promote="email"/>
+ <service name="get" promote="get"/>
+ <service name="post" promote="post"/>
+ <service name="put" promote="put"/>
+ <service name="delete" promote="delete"/>
+
+ <component name="host" t:title="host" t:color="green1">
+ <t:implementation.python script="nuvem/host.py"/>
+ <service name="host"/>
+ <property name="host" t:visible="false"></property>
+ </component>
+
+ <component name="path" t:title="path" t:color="green1">
+ <t:implementation.python script="nuvem/path.py"/>
+ <service name="path"/>
+ <property name="path" t:visible="false"></property>
+ </component>
+
+ <component name="params" t:title="?params" t:color="green1">
+ <t:implementation.python script="nuvem/params.py"/>
+ <service name="params"/>
+ <property name="query" t:visible="false"></property>
+ </component>
+
+ <component name="user" t:title="user" t:color="green1">
+ <t:implementation.python script="nuvem/user.py"/>
+ <service name="user"/>
+ <property name="user" t:visible="false"></property>
+ </component>
+
+ <component name="email" t:title="email" t:color="green1">
+ <t:implementation.python script="nuvem/email.py"/>
+ <service name="email"/>
+ <property name="email" t:visible="false"></property>
+ </component>
+
+ <component name="get" t:title="http get" t:color="green1">
+ <implementation.cpp path="lib/http" library="libhttpget"/>
+ <service name="get"/>
+ <reference name="url"/>
+ </component>
+
+ <component name="post" t:title="http post **" t:color="green1">
+ <implementation.cpp path="lib/http" library="libhttppost"/>
+ <service name="post"/>
+ <reference name="url"/>
+ <reference name="content"/>
+ </component>
+
+ <component name="put" t:title="http put **" t:color="green1">
+ <implementation.cpp path="lib/http" library="libhttpput"/>
+ <service name="put"/>
+ <reference name="url"/>
+ <reference name="content"/>
+ </component>
+
+ <component name="delete" t:title="http delete **" t:color="green1">
+ <implementation.cpp path="lib/http" library="libhttpdelete"/>
+ <service name="delete"/>
+ <reference name="url"/>
+ </component>
+
+</composite>