Permalink
Browse files

remove service folder

  • Loading branch information...
leejianwei committed Jul 12, 2012
1 parent 4970c7a commit ae52497624e87f418fe034226b0fca46f4f36ba8
Showing with 0 additions and 5,397 deletions.
  1. +0 −1 service/.gitignore
  2. +0 −52 service/build.gradle
  3. +0 −13 service/gradle.properties
  4. +0 −58 service/src/main/java/org/springframework/data/hadoop/admin/SpringHadoopAdminException.java
  5. +0 −57 service/src/main/java/org/springframework/data/hadoop/admin/SpringHadoopAdminWorkflowException.java
  6. +0 −278 service/src/main/java/org/springframework/data/hadoop/admin/service/BaseFileService.java
  7. +0 −81 service/src/main/java/org/springframework/data/hadoop/admin/service/FileInfo.java
  8. +0 −28 service/src/main/java/org/springframework/data/hadoop/admin/service/FileRemover.java
  9. +0 −28 service/src/main/java/org/springframework/data/hadoop/admin/service/FileSender.java
  10. +0 −46 service/src/main/java/org/springframework/data/hadoop/admin/service/FileService.java
  11. +0 −63 service/src/main/java/org/springframework/data/hadoop/admin/service/SimpleTemplateService.java
  12. +0 −149 service/src/main/java/org/springframework/data/hadoop/admin/service/SimpleWorkflowService.java
  13. +0 −72 service/src/main/java/org/springframework/data/hadoop/admin/service/TemplateInfo.java
  14. +0 −29 service/src/main/java/org/springframework/data/hadoop/admin/service/TemplateService.java
  15. +0 −106 service/src/main/java/org/springframework/data/hadoop/admin/service/WorkflowInfo.java
  16. +0 −31 service/src/main/java/org/springframework/data/hadoop/admin/service/WorkflowService.java
  17. +0 −34 service/src/main/java/org/springframework/data/hadoop/admin/util/Constant.java
  18. +0 −195 service/src/main/java/org/springframework/data/hadoop/admin/util/HadoopWorkflowDescriptorUtils.java
  19. +0 −447 service/src/main/java/org/springframework/data/hadoop/admin/util/HadoopWorkflowUtils.java
  20. +0 −162 service/src/main/java/org/springframework/data/hadoop/admin/web/TemplateController.java
  21. +0 −27 service/src/main/java/org/springframework/data/hadoop/admin/web/TemplateMenu.java
  22. +0 −168 service/src/main/java/org/springframework/data/hadoop/admin/web/WorkflowController.java
  23. +0 −27 service/src/main/java/org/springframework/data/hadoop/admin/web/WorkflowMenu.java
  24. +0 −43 service/src/main/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowDirectory.java
  25. +0 −72 ...e/src/main/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowDirectoryFilter.java
  26. +0 −72 .../main/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowLaunchRequestAdapter.java
  27. +0 −93 .../main/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowRemoveRequestAdapter.java
  28. +0 −65 service/src/main/java/org/springframework/data/hadoop/admin/workflow/SimpleSpringHadoopTasklet.java
  29. +0 −287 ...a/org/springframework/data/hadoop/admin/workflow/support/FileSystemApplicationContextFactory.java
  30. +0 −174 .../springframework/data/hadoop/admin/workflow/support/FileSystemApplicationContextsFactoryBean.java
  31. +0 −111 ...org/springframework/data/hadoop/admin/workflow/support/FileSystemWorkflowResourceFactoryBean.java
  32. +0 −71 service/src/main/java/org/springframework/data/hadoop/admin/workflow/support/WorkflowArtifacts.java
  33. +0 −31 ...ces/META-INF/spring/batch/bootstrap/spring-hadoop-admin/spring-hadoop-admin-execution-context.xml
  34. +0 −47 service/src/main/resources/META-INF/spring/batch/jobs/spring-hadoop-admin-workflow-context.xml
  35. +0 −53 ...rc/main/resources/META-INF/spring/batch/override/integration/spring-hadoop-admin-file-context.xml
  36. +0 −11 ...c/main/resources/META-INF/spring/batch/servlet/override/spring-hadoo-admin-controller-context.xml
  37. +0 −14 .../src/main/resources/META-INF/spring/batch/servlet/override/spring-hadoo-admin-message-context.xml
  38. +0 −60 ...src/main/resources/META-INF/spring/batch/servlet/override/spring-hadoop-admin-manager-context.xml
  39. 0 service/src/main/resources/batch-admin-dummy-business-schema.sql
  40. +0 −16 service/src/main/resources/batch-hsql.properties
  41. +0 −3 service/src/main/resources/core-site.xml
  42. +0 −7 service/src/main/resources/log4j.properties
  43. +0 −32 service/src/main/resources/ui-messages.properties
  44. +0 −51 service/src/main/webapp/WEB-INF/web.xml
  45. +0 −88 service/src/main/webapp/WEB-INF/web/manager/templates/html/templates.ftl
  46. +0 −17 service/src/main/webapp/WEB-INF/web/manager/templates/json/templates.ftl
  47. +0 −129 service/src/main/webapp/WEB-INF/web/manager/workflows/html/workflows.ftl
  48. +0 −27 service/src/main/webapp/WEB-INF/web/manager/workflows/json/workflows.ftl
  49. +0 −1 service/src/main/webapp/index.jsp
  50. +0 −130 ...e/src/test/java/org/springframework/data/hadoop/admin/util/HadoopWorkflowDescriptorUtilsTest.java
  51. +0 −293 service/src/test/java/org/springframework/data/hadoop/admin/util/HadoopWorkflowUtilsTest.java
  52. +0 −41 service/src/test/java/org/springframework/data/hadoop/admin/util/SimpleBean.java
  53. +0 −100 ...c/test/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowDirectoryFilterTest.java
  54. +0 −67 ...ice/src/test/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowDirectoryTest.java
  55. +0 −73 ...t/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowLaunchRequestAdapterTest.java
  56. +0 −84 ...t/java/org/springframework/data/hadoop/admin/workflow/HadoopWorkflowRemoveRequestAdapterTest.java
  57. +0 −97 ...e/src/test/java/org/springframework/data/hadoop/admin/workflow/SimpleSpringHadoopTaskletTest.java
  58. +0 −136 ...g/springframework/data/hadoop/admin/workflow/support/FileSystemApplicationContextFactoryTest.java
  59. +0 −96 ...ingframework/data/hadoop/admin/workflow/support/FileSystemApplicationContextsFactoryBeanTest.java
  60. +0 −90 ...springframework/data/hadoop/admin/workflow/support/FileSystemWorkflowResourceFactoryBeanTest.java
  61. +0 −96 ...e/src/test/java/org/springframework/data/hadoop/admin/workflow/support/WorkflowArtifactsTest.java
  62. 0 service/src/test/resources/batch-admin-dummy-business-schema.sql
  63. +0 −16 service/src/test/resources/batch-hsql.properties
  64. +0 −11 service/src/test/resources/batch.properties
  65. +0 −17 service/src/test/resources/log4j.properties
  66. +0 −29 service/src/test/resources/org/springframework/data/hadoop/admin/data-source-context.xml
  67. +0 −20 service/src/test/resources/org/springframework/data/hadoop/admin/env-context.xml
  68. +0 −49 service/src/test/resources/org/springframework/data/hadoop/admin/execution-context.xml
  69. +0 −8 service/src/test/resources/org/springframework/data/hadoop/admin/util/context.xml
  70. BIN service/src/test/resources/org/springframework/data/hadoop/admin/util/hadoop-examples-1.0.0.jar
  71. +0 −2 service/src/test/resources/org/springframework/data/hadoop/admin/util/hadoop.properties
  72. +0 −10 service/src/test/resources/org/springframework/data/hadoop/admin/util/invalid-context.xml
  73. +0 −8 service/src/test/resources/org/springframework/data/hadoop/admin/util/test/context.xml
  74. BIN service/src/test/resources/org/springframework/data/hadoop/admin/util/test/hadoop-examples-1.0.0.jar
  75. +0 −2 service/src/test/resources/org/springframework/data/hadoop/admin/util/test/hadoop.properties
  76. +0 −24 service/src/test/resources/org/springframework/data/hadoop/admin/util/testSpringBatchJob/context.xml
  77. BIN ...resources/org/springframework/data/hadoop/admin/util/testSpringBatchJob/hadoop-examples-1.0.0.jar
  78. +0 −8 ...rc/test/resources/org/springframework/data/hadoop/admin/util/testSpringBatchJob/hadoop.properties
  79. BIN ...ources/org/springframework/data/hadoop/admin/util/testWithoutDescriptor/hadoop-examples-1.0.0.jar
  80. +0 −2 ...test/resources/org/springframework/data/hadoop/admin/util/testWithoutDescriptor/hadoop.properties
  81. +0 −8 ...e/src/test/resources/org/springframework/data/hadoop/admin/util/testWithoutProperties/context.xml
  82. BIN ...ources/org/springframework/data/hadoop/admin/util/testWithoutProperties/hadoop-examples-1.0.0.jar
  83. +0 −38 ...c/test/resources/org/springframework/data/hadoop/admin/util/testWithoutSpringBatchJob/context.xml
  84. BIN ...es/org/springframework/data/hadoop/admin/util/testWithoutSpringBatchJob/hadoop-examples-1.0.0.jar
  85. +0 −8 .../resources/org/springframework/data/hadoop/admin/util/testWithoutSpringBatchJob/hadoop.properties
  86. +0 −8 service/src/test/resources/org/springframework/data/hadoop/admin/util/withoutJars/context.xml
  87. +0 −2 service/src/test/resources/org/springframework/data/hadoop/admin/util/withoutJars/hadoop.properties
  88. +0 −23 service/src/test/resources/org/springframework/data/hadoop/admin/workflow/context.xml
  89. BIN service/src/test/resources/org/springframework/data/hadoop/admin/workflow/hadoop-examples-1.0.0.jar
  90. +0 −8 service/src/test/resources/org/springframework/data/hadoop/admin/workflow/hadoop.properties
  91. +0 −24 service/src/test/resources/org/springframework/data/hadoop/admin/workflow/support/context.xml
  92. +0 −23 service/src/test/resources/org/springframework/data/hadoop/admin/workflow/support/copy/context.xml
  93. BIN ...t/resources/org/springframework/data/hadoop/admin/workflow/support/copy/hadoop-examples-1.0.0.jar
  94. +0 −8 .../src/test/resources/org/springframework/data/hadoop/admin/workflow/support/copy/hadoop.properties
  95. BIN ...c/test/resources/org/springframework/data/hadoop/admin/workflow/support/hadoop-examples-1.0.0.jar
  96. +0 −8 service/src/test/resources/org/springframework/data/hadoop/admin/workflow/support/hadoop.properties
  97. +0 −3 settings.gradle
View
@@ -1 +0,0 @@
-example.log
View
@@ -1,52 +0,0 @@
-description = 'Spring Hadoop Admin Service'
-
-apply plugin: 'war'
-apply plugin: 'jetty'
-apply plugin: 'eclipse-wtp'
-
-repositories {
- maven { url "http://www.datanucleus.org/downloads/maven2/" }
-}
-
-dependencies {
- compile "org.springframework.data:spring-data-hadoop:$springHadoopVersion"
-
-
- runtime "org.codehaus.jackson:jackson-core-asl:$jacksonVersion"
- runtime "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
- runtime "commons-lang:commons-lang:$commonsLangVersion"
- runtime "org.codehaus.groovy:groovy:$groovyVersion"
- runtime "hsqldb:hsqldb:$hsqldbVersion"
-
- //pig
- runtime "org.apache.pig:pig:$pigVersion"
- runtime "jline:jline:$jlineVersion"
- runtime "org.antlr:antlr:$antlrVersion"
-
- //hive
- runtime "javax.jdo:jdo2-api:$jdoVersion"
- runtime "org.apache.hive:hive-service:$hiveVersion"
- runtime "org.apache.hive:hive-metastore:$hiveVersion"
- runtime "org.apache.hive:hive-jdbc:$hiveVersion"
-
- //log
- runtime "org.slf4j:slf4j-api:$slf4jVersion"
- runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
- runtime "org.slf4j:jcl-over-slf4j:$slf4jVersion"
-
- testCompile "com.google.guava:guava:12.0"
-}
-
-war {
- baseName "spring-hadoop-admin"
-}
-
-eclipse {
- project {
- name = "spring-hadoop-admin-service"
- }
-}
-
-httpPort = 8081
-
-defaultTasks 'clean', 'build'
View
@@ -1,13 +0,0 @@
-jacksonVersion = 1.9.6
-pigVersion = 0.9.2
-jlineVersion = 1.0
-antlrVersion = 3.1.1
-hiveVersion = 0.8.1
-jdoVersion = 2.3-ec
-groovyVersion = 1.8.5
-hsqldbVersion=1.8.0.7
-commonsLangVersion = 2.4
-springHadoopVersion = 1.0.0.BUILD-SNAPSHOT
-slf4jVersion = 1.6.1
-
-
@@ -1,58 +0,0 @@
-/*
- * Copyright 2011-2012 the original author or authors.
- *
- * 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.
- */
-package org.springframework.data.hadoop.admin;
-
-/**
- * Base class for Spring Hadoop Admin exception handling
- *
- * @author Jarred Li
- *
- */
-public class SpringHadoopAdminException extends Exception {
-
- /**
- *
- */
- private static final long serialVersionUID = -2954725715945849099L;
-
-
- /**
- * Default constructor
- *
- */
- public SpringHadoopAdminException() {
- super();
- }
-
- /**
- * constructor with message
- *
- * @param message The message for this exception
- */
- public SpringHadoopAdminException(String message) {
- super(message);
- }
-
- /**
- * constructor with message and throwable
- *
- * @param message The message for this exception
- * @param t
- */
- public SpringHadoopAdminException(String message, Throwable t) {
- super(message, t);
- }
-}
@@ -1,57 +0,0 @@
-/*
- * Copyright 2011-2012 the original author or authors.
- *
- * 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.
- */
-package org.springframework.data.hadoop.admin;
-
-
-/**
- * Exception to handle abnormal workflow operations
- *
- * @author Jarred Li
- *
- */
-public class SpringHadoopAdminWorkflowException extends SpringHadoopAdminException {
-
- /**
- *
- */
- private static final long serialVersionUID = -7884675315021716510L;
-
- /**
- * default constructor
- */
- public SpringHadoopAdminWorkflowException() {
- super();
- }
-
- /**
- * Exception with message
- *
- * @param message
- */
- public SpringHadoopAdminWorkflowException(String message) {
- super(message);
- }
-
- /**
- * Exception with message and throwable
- *
- * @param message
- * @param t
- */
- public SpringHadoopAdminWorkflowException(String message, Throwable t) {
- super(message, t);
- }
-}
Oops, something went wrong.

0 comments on commit ae52497

Please sign in to comment.