From: Michael O'Brien Date: Mon, 22 Jan 2018 00:50:22 +0000 (-0500) Subject: add eclipse proj/cp for ide debug X-Git-Tag: 2.0.0-ONAP~20 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fdd8de8305343fd63347fcd7757577aab52a483a;p=logging-analytics.git add eclipse proj/cp for ide debug Issue-ID: LOG-153 Change-Id: I8f7d2075c30eb32f67155b892175af94972f87be Signed-off-by: Michael O'Brien --- diff --git a/reference/.classpath b/reference/.classpath new file mode 100644 index 0000000..e6312a8 --- /dev/null +++ b/reference/.classpath @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/reference/.project b/reference/.project new file mode 100644 index 0000000..15686ec --- /dev/null +++ b/reference/.project @@ -0,0 +1,44 @@ + + + logging-reference + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.springframework.ide.eclipse.core.springnature + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/reference/logging-demo/.classpath b/reference/logging-demo/.classpath new file mode 100644 index 0000000..159bf9a --- /dev/null +++ b/reference/logging-demo/.classpath @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/reference/logging-demo/.project b/reference/logging-demo/.project new file mode 100644 index 0000000..ee4ad0b --- /dev/null +++ b/reference/logging-demo/.project @@ -0,0 +1,44 @@ + + + logging-demo + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.springframework.ide.eclipse.core.springnature + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/reference/logging-demo/src/main/java/org/onap/logging/ApplicationService.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationService.java similarity index 97% rename from reference/logging-demo/src/main/java/org/onap/logging/ApplicationService.java rename to reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationService.java index 09a8afb..d0355df 100644 --- a/reference/logging-demo/src/main/java/org/onap/logging/ApplicationService.java +++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationService.java @@ -18,7 +18,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.logging; +package org.onap.demo.logging; import org.springframework.stereotype.Service; @Service("daoFacade") diff --git a/reference/logging-demo/src/main/java/org/onap/logging/ApplicationServiceLocal.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationServiceLocal.java similarity index 95% rename from reference/logging-demo/src/main/java/org/onap/logging/ApplicationServiceLocal.java rename to reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationServiceLocal.java index cc583c9..ac585fb 100644 --- a/reference/logging-demo/src/main/java/org/onap/logging/ApplicationServiceLocal.java +++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/ApplicationServiceLocal.java @@ -18,9 +18,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.logging; - -import java.util.List; +package org.onap.demo.logging; public interface ApplicationServiceLocal { Boolean health(); diff --git a/reference/logging-demo/src/main/java/org/onap/logging/RestApplication.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestApplication.java similarity index 98% rename from reference/logging-demo/src/main/java/org/onap/logging/RestApplication.java rename to reference/logging-demo/src/main/java/org/onap/demo/logging/RestApplication.java index 2b729ae..b9604f3 100644 --- a/reference/logging-demo/src/main/java/org/onap/logging/RestApplication.java +++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestApplication.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.logging; +package org.onap.demo.logging; import java.util.HashSet; import java.util.Set; diff --git a/reference/logging-demo/src/main/java/org/onap/logging/RestHealthServiceImpl.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java similarity index 71% rename from reference/logging-demo/src/main/java/org/onap/logging/RestHealthServiceImpl.java rename to reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java index 24b4486..33e3874 100644 --- a/reference/logging-demo/src/main/java/org/onap/logging/RestHealthServiceImpl.java +++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java @@ -18,26 +18,16 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.logging; +package org.onap.demo.logging; -import java.util.List; import javax.inject.Inject; -import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; -import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Application; import javax.ws.rs.core.MediaType; + import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.ApplicationContext; -import org.springframework.context.support.ClassPathXmlApplicationContext; -import org.springframework.stereotype.Component; -import org.springframework.stereotype.Service; -import org.springframework.test.context.transaction.TransactionConfiguration; -import org.springframework.transaction.annotation.Transactional; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; @Path("/health") public class RestHealthServiceImpl extends Application { diff --git a/reference/logging-demo/src/main/java/org/onap/logging/RestServiceImpl.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestServiceImpl.java similarity index 72% rename from reference/logging-demo/src/main/java/org/onap/logging/RestServiceImpl.java rename to reference/logging-demo/src/main/java/org/onap/demo/logging/RestServiceImpl.java index 515662e..9dfe884 100644 --- a/reference/logging-demo/src/main/java/org/onap/logging/RestServiceImpl.java +++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestServiceImpl.java @@ -18,26 +18,16 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.logging; +package org.onap.demo.logging; -import java.util.List; import javax.inject.Inject; -import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; -import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Application; import javax.ws.rs.core.MediaType; + import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.ApplicationContext; -import org.springframework.context.support.ClassPathXmlApplicationContext; -import org.springframework.stereotype.Component; -import org.springframework.stereotype.Service; -import org.springframework.test.context.transaction.TransactionConfiguration; -import org.springframework.transaction.annotation.Transactional; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; @Path("/read") public class RestServiceImpl extends Application { diff --git a/reference/logging-demo/src/main/webapp/WEB-INF/spring.xml b/reference/logging-demo/src/main/webapp/WEB-INF/spring.xml index fd3d6ab..32d1235 100644 --- a/reference/logging-demo/src/main/webapp/WEB-INF/spring.xml +++ b/reference/logging-demo/src/main/webapp/WEB-INF/spring.xml @@ -29,11 +29,11 @@ - + - + diff --git a/reference/logging-demo/src/main/webapp/WEB-INF/web.xml b/reference/logging-demo/src/main/webapp/WEB-INF/web.xml index dd62a9c..d9e3e5f 100644 --- a/reference/logging-demo/src/main/webapp/WEB-INF/web.xml +++ b/reference/logging-demo/src/main/webapp/WEB-INF/web.xml @@ -13,11 +13,11 @@ org.glassfish.jersey.servlet.ServletContainer javax.ws.rs.Application - org.onap.logging.RestApplication + org.onap.demo.logging.RestApplication jersey.config.server.provider.packages - org.onap.logging + org.onap.demo.logging 1 diff --git a/reference/logging-library/.classpath b/reference/logging-library/.classpath new file mode 100644 index 0000000..16bf974 --- /dev/null +++ b/reference/logging-library/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/reference/logging-library/.project b/reference/logging-library/.project new file mode 100644 index 0000000..5ffa62b --- /dev/null +++ b/reference/logging-library/.project @@ -0,0 +1,53 @@ + + + logging-library + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.springframework.ide.eclipse.core.springbuilder + + + + + org.springframework.ide.eclipse.boot.validation.springbootbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.springframework.ide.eclipse.core.springnature + net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + + diff --git a/reference/logging-library/src/main/java/org/onap/logging/LoggingReference.java b/reference/logging-library/src/main/java/org/onap/logging/library/LoggingReference.java similarity index 96% rename from reference/logging-library/src/main/java/org/onap/logging/LoggingReference.java rename to reference/logging-library/src/main/java/org/onap/logging/library/LoggingReference.java index ccca682..534e7cf 100644 --- a/reference/logging-library/src/main/java/org/onap/logging/LoggingReference.java +++ b/reference/logging-library/src/main/java/org/onap/logging/library/LoggingReference.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.logging; +package org.onap.logging.library; public class LoggingReference { diff --git a/reference/logging-mock-service/.classpath b/reference/logging-mock-service/.classpath new file mode 100644 index 0000000..16bf974 --- /dev/null +++ b/reference/logging-mock-service/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/reference/logging-mock-service/.project b/reference/logging-mock-service/.project new file mode 100644 index 0000000..8e8b873 --- /dev/null +++ b/reference/logging-mock-service/.project @@ -0,0 +1,53 @@ + + + logging-mock-service + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + net.sf.eclipsecs.core.CheckstyleBuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.springframework.ide.eclipse.core.springbuilder + + + + + org.springframework.ide.eclipse.boot.validation.springbootbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.springframework.ide.eclipse.core.springnature + net.sf.eclipsecs.core.CheckstyleNature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + +