From 9618cb7b61571a2af4c43239f032cd2e0402027b Mon Sep 17 00:00:00 2001
From: Shanshan Jiang <shanshan.jiang@sintef.no>
Date: Thu, 17 Jan 2013 10:56:03 +0000
Subject: [PATCH] The first version of DeployManagerService implementation for
 interaction with uStore.

---
 ucc/.classpath                                |  10 +
 ucc/.project                                  |  34 +++
 ucc/.settings/org.eclipse.jdt.core.prefs      |   6 +
 ucc/.settings/org.eclipse.m2e.core.prefs      |   5 +
 ucc/.settings/org.eclipse.pde.core.prefs      |   3 +
 ucc/ASL2.0.txt                                | 202 ++++++++++++++++++
 ucc/MITX.txt                                  |  22 ++
 ucc/pom.xml                                   |  69 ++++++
 .../deploymanagerservice/impl/Activator.java  |  29 +++
 .../impl/DeployManagerServiceImpl.java        |  70 ++++++
 ucc/target/classes/META-INF/MANIFEST.MF       |  17 ++
 .../deploymanagerservice/impl/Activator.class | Bin 0 -> 1633 bytes
 .../impl/DeployManagerServiceImpl.class       | Bin 0 -> 2135 bytes
 ...ploymanagerservice.impl-1.0.0-SNAPSHOT.jar | Bin 0 -> 5404 bytes
 14 files changed, 467 insertions(+)
 create mode 100644 ucc/.classpath
 create mode 100644 ucc/.project
 create mode 100644 ucc/.settings/org.eclipse.jdt.core.prefs
 create mode 100644 ucc/.settings/org.eclipse.m2e.core.prefs
 create mode 100644 ucc/.settings/org.eclipse.pde.core.prefs
 create mode 100644 ucc/ASL2.0.txt
 create mode 100644 ucc/MITX.txt
 create mode 100644 ucc/pom.xml
 create mode 100644 ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/Activator.java
 create mode 100644 ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.java
 create mode 100644 ucc/target/classes/META-INF/MANIFEST.MF
 create mode 100644 ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/Activator.class
 create mode 100644 ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.class
 create mode 100644 ucc/target/ucc.deploymanagerservice.impl-1.0.0-SNAPSHOT.jar

diff --git a/ucc/.classpath b/ucc/.classpath
new file mode 100644
index 000000000..dd55e60ce
--- /dev/null
+++ b/ucc/.classpath
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/ucc/.project b/ucc/.project
new file mode 100644
index 000000000..a1de19b50
--- /dev/null
+++ b/ucc/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>ucc.deploymanagerservice.impl</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>com.trolltech.qtjambi.juicBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>com.trolltech.qtjambi.juicBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>
diff --git a/ucc/.settings/org.eclipse.jdt.core.prefs b/ucc/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..9a2991d50
--- /dev/null
+++ b/ucc/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,6 @@
+#Tue Jan 15 15:44:55 CET 2013
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/ucc/.settings/org.eclipse.m2e.core.prefs b/ucc/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 000000000..fa3e7c4ce
--- /dev/null
+++ b/ucc/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,5 @@
+#Mon Dec 17 14:28:05 CET 2012
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/ucc/.settings/org.eclipse.pde.core.prefs b/ucc/.settings/org.eclipse.pde.core.prefs
new file mode 100644
index 000000000..984e45bce
--- /dev/null
+++ b/ucc/.settings/org.eclipse.pde.core.prefs
@@ -0,0 +1,3 @@
+#Mon Dec 17 11:09:59 CET 2012
+BUNDLE_ROOT_PATH=target/classes
+eclipse.preferences.version=1
diff --git a/ucc/ASL2.0.txt b/ucc/ASL2.0.txt
new file mode 100644
index 000000000..75b52484e
--- /dev/null
+++ b/ucc/ASL2.0.txt
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
diff --git a/ucc/MITX.txt b/ucc/MITX.txt
new file mode 100644
index 000000000..9122fe24b
--- /dev/null
+++ b/ucc/MITX.txt
@@ -0,0 +1,22 @@
+================================================================
+The MIT License (MIT)
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use, copy,
+modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The NOTICE.txt file and this MITX.txt file shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/ucc/pom.xml b/ucc/pom.xml
new file mode 100644
index 000000000..0d076a79e
--- /dev/null
+++ b/ucc/pom.xml
@@ -0,0 +1,69 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>ucc.deploymanagerservice.impl</artifactId>
+    <packaging>bundle</packaging>
+    <version>1.0.0-SNAPSHOT</version>
+    <name>deploy manager service implementation</name>
+  
+    <properties>        
+		<bundle.require.bundle></bundle.require.bundle>
+		<bundle.import.package>org.osgi.framework;version="1.3.0", *</bundle.import.package>
+		<bundle.export.package></bundle.export.package>        
+    </properties>
+  
+    <build>    
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.1.0</version>
+                <extensions>true</extensions>
+                <configuration>
+					<instructions>
+						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Name>${project.artifactId}</Bundle-Name>						
+						<Bundle-Description>Implementation of a service for deploy manager service for uStore</Bundle-Description>
+						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Activator>org.universAAL.ucc.deploymanagerservice.impl.Activator</Bundle-Activator>
+						<Export-Package>${bundle.export.package}</Export-Package>
+                        <Import-Package>${bundle.import.package}</Import-Package>
+					</instructions>
+				</configuration>                
+            </plugin>
+            
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                </configuration>
+            </plugin>            
+        </plugins>
+    </build>
+  
+    <dependencies>        
+        <dependency> 
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.framework</artifactId>
+            <version>3.0.8</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.foundation</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency> 
+
+        <dependency>
+            <groupId>org.universAAL.tools.ucc</groupId>
+            <artifactId>ucc.deploymanagerservice</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+        </dependency>         
+    </dependencies>
+  
+    <description>deploy manager service implementation for uStore</description>
+    <groupId>org.universAAL.tools.ucc</groupId>
+</project>
diff --git a/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/Activator.java b/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/Activator.java
new file mode 100644
index 000000000..a5f0db82a
--- /dev/null
+++ b/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/Activator.java
@@ -0,0 +1,29 @@
+package org.universAAL.ucc.deploymanagerservice.impl;
+
+import java.util.Dictionary;
+import java.util.Hashtable;
+
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceRegistration;
+import org.universAAL.ucc.deploymanagerservice.DeployManagerService;
+
+public class Activator implements BundleActivator {
+    private ServiceRegistration registration;
+
+    public void start(BundleContext bc) throws Exception {
+        Dictionary props = new Hashtable();
+
+        props.put("service.exported.interfaces", "*");
+        props.put("service.exported.configs", "org.apache.cxf.ws");
+        props.put("org.apache.cxf.ws.address", "http://localhost:9090/deploymanager");
+        
+        registration = bc.registerService(DeployManagerService.class.getName(), 
+                                          new DeployManagerServiceImpl(), props);
+    }
+
+    public void stop(BundleContext bc) throws Exception {
+        registration.unregister();
+    }
+}
diff --git a/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.java b/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.java
new file mode 100644
index 000000000..0083e9f35
--- /dev/null
+++ b/ucc/src/main/java/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.java
@@ -0,0 +1,70 @@
+package org.universAAL.ucc.deploymanagerservice.impl;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.List;
+import java.util.Map;
+
+import org.universAAL.ucc.deploymanagerservice.DeployManagerService;
+
+/**
+ * Implemenation of the DeployManager Web service
+ * 
+ * @author sji
+ *
+ */
+
+public class DeployManagerServiceImpl implements DeployManagerService {
+
+	public void install(String sessionKey, String usrvfile) {
+		System.out.println("[DeployManagerService] Install with sessionKey: " + sessionKey + " for URL: " + usrvfile);
+		try {
+			URL usrvURL = new URL(usrvfile);
+			//TODO download the files and call Installer.install(usrvURL)
+		}
+		catch(MalformedURLException e) 
+		{
+			System.out.println("[ERROR] Malformed URL Exception for " + usrvfile);			
+		}
+		// TODO what check should be done with the sessionKey?
+		
+	}
+
+	public void update(String sessionKey, String usrvfile) {
+		System.out.println("[DeployManagerService] Update with sessionKey: " + sessionKey + " for URL: " + usrvfile);
+		try {
+			URL usrvURL = new URL(usrvfile);
+		}
+		catch(MalformedURLException e) 
+		{
+			System.out.println("[ERROR] Malformed URL Exception for " + usrvfile);
+		}
+		// TODO what check should be done with the sessionKey?
+	}
+
+	public void uninstall(String sessionKey, String serviceId) {
+		// TODO Auto-generated method stub
+		
+	}
+
+	public String getInstalledServices(String sessionKey) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	public String getInstalledUnitsForService(String sessionKey, String serviceId) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	public String getAALSpaceProfile() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	public String getUserProfile(String sessionKey) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+    
+}
\ No newline at end of file
diff --git a/ucc/target/classes/META-INF/MANIFEST.MF b/ucc/target/classes/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..c731e9001
--- /dev/null
+++ b/ucc/target/classes/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Built-By: sji
+Tool: Bnd-0.0.357
+Bundle-Name: ucc.deploymanagerservice.impl
+Created-By: Apache Maven Bundle Plugin
+Bundle-Version: 1.0.0.SNAPSHOT
+Build-Jdk: 1.6.0_30
+Bnd-LastModified: 1358419026944
+Bundle-ManifestVersion: 2
+Bundle-Activator: org.universAAL.ucc.deploymanagerservice.impl.Activat
+ or
+Bundle-Description: Implementation of a service for deploy manager ser
+ vice for uStore
+Import-Package: org.osgi.framework;version="1.3.0",org.universAAL.ucc.
+ deploymanagerservice;version="1.0"
+Bundle-SymbolicName: ucc.deploymanagerservice.impl
+
diff --git a/ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/Activator.class b/ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/Activator.class
new file mode 100644
index 0000000000000000000000000000000000000000..129e578b7ebdf1587f76b37c80e509c6bf0f101b
GIT binary patch
literal 1633
zcmb7EYf}_Q6g_uYm~|Kw7lSB15Y#Ly?%*@P;)9ohSxr?)naamzw%KhRW~O?25r0U2
zNUEZiT9qG=AC=0Thb+4L0Y6Mn-`kIK?&I{o|9$!gz-|0&p+LAF>XzFH)V|d5%1XoS
zc%IvoksrR@6M<;4SL%J`NmuPfzPsWXwJ%JlEffi(uf)D^eG#<WUv^$e&sZ2DOeZ&n
zaZ9<oTI|U;p?>YIc7moa4^I;uEn6x!S{M}ugi52&q3sO$*CRXYgrQ{>DD#joP?>#6
zD6WM~X=4B*4o<)(oNA~*zUb`jNd24G@g<?$2tDDy6j~*A?kt+NiU|uT@b|~hL<VCc
zv>{yUOFoNuEewo2F!h9~y>Z~lD2X?=FisfjX76yt!o-(_j#0k5DdM(CSlc*@krE~e
zlX*dE@*oPek<FT7481En8JBR8Kvf%;amB(E;Y^B=UbU{cc3~j&TL;sa;rvA%X1`Er
zba`Y|toM3mdtD`5BTV#=@xowNwV26|gwtHqnuvtgmNoBSxAunJvxIX!?wV*ewTyZB
z24SXcOtj>>ep0n|7@MWV`NjFKo6^Ef!gA6x$0^-<+Rx9ke$KnfhKpMk=DA_I@vr$J
zjvdy<9fH-8<^}gJC$Vxg{B5IE(5hRwN7y(ngH$~IXl${nY~01jFcz?6VUaMET-sMZ
zc{e$zW0`qp5|TQPh|oM*%baI#;WE!RJyD-Mt^!Yh@X&#U5}~l;vEKWg{JQ;FERhZ)
z*4uc0bk=cf!e|&9cxvGZ;d-AW<Z&K-4;*YJnzuW_mt?T99d@)QpQuFpClBA8T2f|Q
zVfF+34f0n=g5akxvH9uXahNTa|HS{n>IXP~@uYy0JPxH!2d8-MWE(Jw(`@krgE8K9
zhUZ1Len_wRlOYD!Q~!*!e|*5X=X2%r<qPj|>G!$v)$;XhQYlxHN%cl~?mcRsahG@A
zpZkcPig<?yUGV9Y=O~Y5h8)9r2Ajb+s{AV4=Km5VQesmXWKN91@d%HZQVDmkf>kC-
sSnES}mHh=KYghlqgO6Azbg}JpWs);=A;lQab{=BbIR;^iZz$l||8%gihX4Qo

literal 0
HcmV?d00001

diff --git a/ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.class b/ucc/target/classes/org/universAAL/ucc/deploymanagerservice/impl/DeployManagerServiceImpl.class
new file mode 100644
index 0000000000000000000000000000000000000000..fd021f41aeb8ba1427ec3c56f6cfbfa4e5ae0231
GIT binary patch
literal 2135
zcmb_dT~icC6g|Cs%(7WgSNuRlCxjSq34?|h6@nsyZd}k}167vg!!X;fV`gWjW@btF
zMR|=rK$TYc<dZ+j%ITS50cT8n;9<La?(IJJoO^Hge*E<IJ%H<YRKf{N58xWEYxt>z
z9!wW8qvoHBxS{4>O1Ozz8g7?R!mNh5B7QAmUc(&?cQq^s^v~I@9nA~$j8AL`^e%c$
zDR8`QyK=SD-ju=b=B7hSrS4g#vtb6d`c93#(MvlNcu@C(meFzTEg6Ih3w5JoSw>U(
zj<?-5U9&~247O}b8g|=vjQg=?CGj*8PmPXQ0nK*9$aEZmAI9si%q`P!Ot)n;qQG`r
zvssIxtaZX*YkjRQFqmv`Wn}Q1aDv43edCJhyzqjyY|^{*mnHqk_FQf&g)$7ed?dG(
z&`ex`qKfgtR*5*)h)nB`71NJ%z?3qF9lvQt^bIfvdjbYh&9$b$P)kO&#37rhV&?5i
zj>d_+@D~oAUuV6-WiLo^1a9WQWKnW~D+Ff28op`CCxMqJ92(EvJIKB36xH2VYIvQ%
zlFM;gM!r<lDV5GLDmbO#UKxwHFL3tr6yNLEPE!T~)6ep7p6hA$^gr$BrM_RT+j<#G
zSY`=zR#s<SmE{2@H9Rb%hTjCrajdi_6c5@ib#1vVAu#rAX>INC+H<|@SJ-;DY2s)C
z#uwPG$Ni8cE3kAVH$~vYeg+?JzLHiXF!#04c^N*0*w_vu+2)hrb%=X9=_T7Up70h%
zyo=Io^Vam6zAs&N_m4UKm+hdm#5`DxyyQX)oQh=}hUSg-RUpS@>^$fVe2e3J`2<e#
z87y*Ub8#Hvm%&+Z?z_4R@tTVQPIK&!jVE!2>vFOIXK{{S0>e1ZQ62uk7qgdh?F|a=
z(DQT`y_LQl^jG<-XdEW_+d**$1Mg6JI=PE)R{zGx>VfUY4()nP;89dD#h^Vgk@KVi
z1{)=nDlXD9OwJeZ5SL?eGw7oov|Qu~gWeHb;)<kF!fJIHdMu*GOz4z2O23AJtKqw0
zI>!D}(I6=vxuQ{W7$fruD!M}6<5W~VIz``i72Tm!m5xktr{idP;_T*1baTb$HqI6Q
zTF5Rb_zlhlf)&I+YCO;?Gcnqk#M?zHq-cUVucjDxIV(b0j9Uj76*3qq-X5bWCQ~#u
ctNzWR&Btg-^X{SX?tO)p#sASV6>B&C1!P3jIsgCw

literal 0
HcmV?d00001

diff --git a/ucc/target/ucc.deploymanagerservice.impl-1.0.0-SNAPSHOT.jar b/ucc/target/ucc.deploymanagerservice.impl-1.0.0-SNAPSHOT.jar
new file mode 100644
index 0000000000000000000000000000000000000000..0a406eee6ff8aee7d840fbca4283014bbb0f8bd2
GIT binary patch
literal 5404
zcmb_gc{tST`yM4rgt9M%Lb4ByeTf)ZhAE>gV;NhP!5B=U$d)3?-Wk~y$w8Lv8p~uk
zne4mBz9wggIP#l0{Z7>R9^bF)I?v~tKjxab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