You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by mn...@apache.org on 2010/10/07 12:35:52 UTC

svn commit: r1005399 - in /incubator/aries/trunk/application/application-noop-platform-repository: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/aries/ src/main/java/org/apache/aries/application/...

Author: mnuttall
Date: Thu Oct  7 10:35:51 2010
New Revision: 1005399

URL: http://svn.apache.org/viewvc?rev=1005399&view=rev
Log:
ARIES-361: Default bundles for integration plug points. From a patch by Emily Jiang. 

Added:
    incubator/aries/trunk/application/application-noop-platform-repository/pom.xml
    incubator/aries/trunk/application/application-noop-platform-repository/src/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/DefaultPlatformRepository.java
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/
    incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/noop-platform-repo.xml
Modified:
    incubator/aries/trunk/application/application-noop-platform-repository/   (props changed)

Propchange: incubator/aries/trunk/application/application-noop-platform-repository/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Oct  7 10:35:51 2010
@@ -0,0 +1,4 @@
+.settings
+target
+.classpath
+.project

Added: incubator/aries/trunk/application/application-noop-platform-repository/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-noop-platform-repository/pom.xml?rev=1005399&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-noop-platform-repository/pom.xml (added)
+++ incubator/aries/trunk/application/application-noop-platform-repository/pom.xml Thu Oct  7 10:35:51 2010
@@ -0,0 +1,50 @@
+<?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.
+-->
+<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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <artifactId>application</artifactId>
+        <groupId>org.apache.aries.application</groupId>
+        <version>0.3-incubating-SNAPSHOT</version>
+    </parent>
+    <artifactId>org.apache.aries.application.noop.platform.repo</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Aries Application Platform Repository</name>
+    <description>
+      Implementation of the no-op Platform Repository
+    </description>
+    <properties>
+        <aries.osgi.export.pkg>
+        </aries.osgi.export.pkg>
+        <aries.osgi.private.pkg>
+            org.apache.aries.application.noop.platform.repo.impl
+        </aries.osgi.private.pkg>
+    </properties>
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.aries.application</groupId>
+            <artifactId>org.apache.aries.application.api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+</project>

Added: incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/DefaultPlatformRepository.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/DefaultPlatformRepository.java?rev=1005399&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/DefaultPlatformRepository.java (added)
+++ incubator/aries/trunk/application/application-noop-platform-repository/src/main/java/org/apache/aries/application/noop/platform/repo/impl/DefaultPlatformRepository.java Thu Oct  7 10:35:51 2010
@@ -0,0 +1,35 @@
+
+
+/*
+ * 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 WARRANTIESOR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.aries.application.noop.platform.repo.impl;
+import java.net.URI;
+import java.util.Collection;
+
+import org.apache.aries.application.management.spi.repository.PlatformRepository;
+
+public class DefaultPlatformRepository implements PlatformRepository
+{
+  public Collection<URI> getPlatformRepositoryURLs()
+  {
+    return null;
+  }
+
+}

Added: incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/noop-platform-repo.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/noop-platform-repo.xml?rev=1005399&view=auto
==============================================================================
--- incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/noop-platform-repo.xml (added)
+++ incubator/aries/trunk/application/application-noop-platform-repository/src/main/resources/OSGI-INF/blueprint/noop-platform-repo.xml Thu Oct  7 10:35:51 2010
@@ -0,0 +1,25 @@
+<?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.
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+ 
+  <bean id="default-platform-repository" class="org.apache.aries.application.noop.platform.repo.impl.DefaultPlatformRepository"/>
+  <service interface="org.apache.aries.application.management.spi.repository.PlatformRepository" ref="default-platform-repository" ranking="-1"/>
+ 
+</blueprint>