You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2018/03/12 15:00:26 UTC

[08/32] tomee git commit: Delete mp

Delete mp



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

Branch: refs/heads/fb_tomee8
Commit: 0a0ddab90e50c84197ee8be409a5a9d0a6f1920f
Parents: f39497f
Author: Andy Gumbrecht <ag...@tomitribe.com>
Authored: Mon Feb 12 22:35:05 2018 +0100
Committer: Andy Gumbrecht <ag...@tomitribe.com>
Committed: Mon Feb 12 22:35:05 2018 +0100

----------------------------------------------------------------------
 microprofile/microprofile-config/pom.xml        | 41 -----------------
 .../config/MicroprofileConfigTest.java          | 37 ----------------
 .../java/org/superbiz/config/BeanAppScoped.java | 20 ---------
 .../src/test/resources/arquillian.xml           | 33 --------------
 microprofile/pom.xml                            | 46 --------------------
 5 files changed, 177 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/0a0ddab9/microprofile/microprofile-config/pom.xml
----------------------------------------------------------------------
diff --git a/microprofile/microprofile-config/pom.xml b/microprofile/microprofile-config/pom.xml
deleted file mode 100644
index cce11b2..0000000
--- a/microprofile/microprofile-config/pom.xml
+++ /dev/null
@@ -1,41 +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.
--->
-<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>microprofile</artifactId>
-    <groupId>org.apache.tomee</groupId>
-    <version>7.0.5-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>microprofile-config</artifactId>
-  <name>Microprofile :: Config</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.geronimo.config</groupId>
-      <artifactId>geronimo-config-impl</artifactId>
-    </dependency>
-  </dependencies>
-
-</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tomee/blob/0a0ddab9/microprofile/microprofile-config/src/test/java/org/apache/tomee/microprofile/config/MicroprofileConfigTest.java
----------------------------------------------------------------------
diff --git a/microprofile/microprofile-config/src/test/java/org/apache/tomee/microprofile/config/MicroprofileConfigTest.java b/microprofile/microprofile-config/src/test/java/org/apache/tomee/microprofile/config/MicroprofileConfigTest.java
deleted file mode 100644
index 25f2fc0..0000000
--- a/microprofile/microprofile-config/src/test/java/org/apache/tomee/microprofile/config/MicroprofileConfigTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.tomee.microprofile.config;
-
-import org.jboss.arquillian.container.test.api.Deployment;
-import org.jboss.arquillian.junit.Arquillian;
-import org.jboss.arquillian.test.api.ArquillianResource;
-import org.jboss.shrinkwrap.api.Archive;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.asset.EmptyAsset;
-import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.superbiz.config.BeanAppScoped;
-
-import java.net.URL;
-
-@RunWith(Arquillian.class)
-public class MicroprofileConfigTest {
-
-    @Deployment
-    public static Archive createDeployment() {
-        final WebArchive war = ShrinkWrap.create(WebArchive.class)
-                .addClass(BeanAppScoped.class)
-                .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
-
-        System.out.println(war.toString(true));
-        return war;
-    }
-
-    @ArquillianResource
-    private URL url;
-
-    @Test
-    public void should_get_config_parameter() {
-        Assert.fail("Not yet implemented for " + url);
-    }
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/0a0ddab9/microprofile/microprofile-config/src/test/java/org/superbiz/config/BeanAppScoped.java
----------------------------------------------------------------------
diff --git a/microprofile/microprofile-config/src/test/java/org/superbiz/config/BeanAppScoped.java b/microprofile/microprofile-config/src/test/java/org/superbiz/config/BeanAppScoped.java
deleted file mode 100644
index efe40ff..0000000
--- a/microprofile/microprofile-config/src/test/java/org/superbiz/config/BeanAppScoped.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.superbiz.config;
-
-import org.eclipse.microprofile.config.inject.ConfigProperty;
-import javax.enterprise.context.ApplicationScoped;
-import org.jboss.arquillian.core.api.annotation.Inject;
-
-import javax.annotation.PostConstruct;
-
-@ApplicationScoped
-public class BeanAppScoped {
-
-    @PostConstruct
-    public void postConstruct() {
-        System.out.println("BeanAppScoped created");
-    }
-
-    @Inject
-    @ConfigProperty(name="my.string.value", defaultValue = "nothing")
-    private String myString;
-}

http://git-wip-us.apache.org/repos/asf/tomee/blob/0a0ddab9/microprofile/microprofile-config/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/microprofile/microprofile-config/src/test/resources/arquillian.xml b/microprofile/microprofile-config/src/test/resources/arquillian.xml
deleted file mode 100644
index 588506e..0000000
--- a/microprofile/microprofile-config/src/test/resources/arquillian.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
-
-    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.
--->
-<arquillian xmlns="http://jboss.org/schema/arquillian"
-            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
-  <container qualifier="tomee" default="true">
-    <configuration>
-      <property name="httpPort">-1</property>
-      <property name="stopPort">-1</property>
-      <property name="dir">target/microprofile-config</property>
-      <property name="appWorkingDir">target/microprofile-config-work</property>
-      <property name="properties">
-        openejb.descriptors.output=true
-      </property>
-    </configuration>
-  </container>
-</arquillian>

http://git-wip-us.apache.org/repos/asf/tomee/blob/0a0ddab9/microprofile/pom.xml
----------------------------------------------------------------------
diff --git a/microprofile/pom.xml b/microprofile/pom.xml
deleted file mode 100644
index 3898810..0000000
--- a/microprofile/pom.xml
+++ /dev/null
@@ -1,46 +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.
--->
-<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>tomee-project</artifactId>
-    <groupId>org.apache.tomee</groupId>
-    <version>7.0.5-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>microprofile</artifactId>
-  <packaging>pom</packaging>
-  <name>Microprofile</name>
-
-  <modules>
-    <module>microprofile-config</module>
-    <module>microprofile-open-api</module>
-    <module>microprofile-fault-tolerance</module>
-    <module>microprofile-health</module>
-    <module>microprofile-jwt-auth</module>
-    <module>microprofile-metrics</module>
-    <module>microprofile-rest-client</module>
-    <module>microprofile-opentracing</module>
-  </modules>
-
-</project>
\ No newline at end of file