cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [1/2] cxf-dosgi git commit: Document and clean up decorator
Date Tue, 13 Sep 2016 11:59:45 GMT
Repository: cxf-dosgi
Updated Branches:
  refs/heads/master 5494b35c9 -> 5e4e9325b


Document and clean up decorator


Project: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/commit/0c8ab7ab
Tree: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/tree/0c8ab7ab
Diff: http://git-wip-us.apache.org/repos/asf/cxf-dosgi/diff/0c8ab7ab

Branch: refs/heads/master
Commit: 0c8ab7ab787ae8097298f5753be48720e88e53ae
Parents: 5494b35
Author: Christian Schneider <chris@die-schneider.net>
Authored: Tue Sep 13 13:25:42 2016 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Tue Sep 13 13:25:42 2016 +0200

----------------------------------------------------------------------
 decorator/Readme.md                             |  7 +++++
 .../src/test/resources/test-resources/rs1.xml   | 31 --------------------
 .../src/test/resources/test-resources/rs2.xml   | 28 ------------------
 3 files changed, 7 insertions(+), 59 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/0c8ab7ab/decorator/Readme.md
----------------------------------------------------------------------
diff --git a/decorator/Readme.md b/decorator/Readme.md
new file mode 100644
index 0000000..fd62e4f
--- /dev/null
+++ b/decorator/Readme.md
@@ -0,0 +1,7 @@
+# CXF DOSGi Decorator
+
+Allows to export existing services by adding an xml descriptor to OSGI-INF/remote-service.
+
+The descriptor selects services by matching interfaces and service properties and can add
arbitrary service properties to it. So these services can be marked for export and configured.
+
+See [example descriptor](src/test/resources/sd.xml).

http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/0c8ab7ab/decorator/src/test/resources/test-resources/rs1.xml
----------------------------------------------------------------------
diff --git a/decorator/src/test/resources/test-resources/rs1.xml b/decorator/src/test/resources/test-resources/rs1.xml
deleted file mode 100644
index f67a833..0000000
--- a/decorator/src/test/resources/test-resources/rs1.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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.
--->
-
-<service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0">
-  <service-description>
-    <provide interface="SomeService" />
-    <property name="osgi.remote.requires.intents">confidentiality</property>
-  </service-description>
-  <service-description>
-    <provide interface="SomeOtherService" />
-    <provide interface="WithSomeSecondInterface" />
-  </service-description>
-</service-descriptions>

http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/0c8ab7ab/decorator/src/test/resources/test-resources/rs2.xml
----------------------------------------------------------------------
diff --git a/decorator/src/test/resources/test-resources/rs2.xml b/decorator/src/test/resources/test-resources/rs2.xml
deleted file mode 100644
index 098aa21..0000000
--- a/decorator/src/test/resources/test-resources/rs2.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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.
--->
-
-<service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0">
-  <service-description>
-    <provide interface="org.example.Service" />
-    <property name="deployment.intents">confidentiality.message integrity</property>
-    <property name="osgi.remote.interfaces">*</property>
-  </service-description>
-</service-descriptions>


Mime
View raw message