You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2017/06/14 01:30:12 UTC
incubator-griffin git commit: version of files
Repository: incubator-griffin
Updated Branches:
refs/heads/master bfc9a3b22 -> 742d03346
version of files
Author: Lionel Liu <bh...@163.com>
Closes #73 from bhlx3lyx7/master.
Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/742d0334
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/742d0334
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/742d0334
Branch: refs/heads/master
Commit: 742d033463bc4663868feefd9add3f1b518ebd92
Parents: bfc9a3b
Author: Lionel Liu <bh...@163.com>
Authored: Wed Jun 14 09:30:07 2017 +0800
Committer: Lionel Liu <bh...@163.com>
Committed: Wed Jun 14 09:30:07 2017 +0800
----------------------------------------------------------------------
.../griffin/core/schedule/SchedulerService.java | 18 +++++++++++++++---
.../core/metric/MetricServiceImplTest.java | 18 +++++++++++++++---
.../core/schedule/SchedulerControllerTest.java | 18 +++++++++++++++---
3 files changed, 45 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/742d0334/service/src/main/java/org/apache/griffin/core/schedule/SchedulerService.java
----------------------------------------------------------------------
diff --git a/service/src/main/java/org/apache/griffin/core/schedule/SchedulerService.java b/service/src/main/java/org/apache/griffin/core/schedule/SchedulerService.java
index 5d57ba1..d9ff62a 100644
--- a/service/src/main/java/org/apache/griffin/core/schedule/SchedulerService.java
+++ b/service/src/main/java/org/apache/griffin/core/schedule/SchedulerService.java
@@ -1,3 +1,18 @@
+/*-
+ * 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.apache.griffin.core.schedule;
import org.quartz.SchedulerException;
@@ -6,9 +21,6 @@ import java.io.Serializable;
import java.util.List;
import java.util.Map;
-/**
- * Created by xiangrchen on 6/7/17.
- */
public interface SchedulerService {
public List<Map<String, Serializable>> getJobs() throws SchedulerException;
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/742d0334/service/src/test/java/org/apache/griffin/core/metric/MetricServiceImplTest.java
----------------------------------------------------------------------
diff --git a/service/src/test/java/org/apache/griffin/core/metric/MetricServiceImplTest.java b/service/src/test/java/org/apache/griffin/core/metric/MetricServiceImplTest.java
index 671808a..e8acdf2 100644
--- a/service/src/test/java/org/apache/griffin/core/metric/MetricServiceImplTest.java
+++ b/service/src/test/java/org/apache/griffin/core/metric/MetricServiceImplTest.java
@@ -1,3 +1,18 @@
+/*-
+ * 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.apache.griffin.core.metric;
import org.apache.griffin.core.measure.repo.MeasureRepo;
@@ -13,9 +28,6 @@ import org.springframework.test.context.junit4.SpringRunner;
import static org.assertj.core.api.Assertions.fail;
import static org.junit.Assert.assertTrue;
-/**
- * Created by xiangrchen on 6/7/17.
- */
@RunWith(SpringRunner.class)
public class MetricServiceImplTest {
@TestConfiguration
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/742d0334/service/src/test/java/org/apache/griffin/core/schedule/SchedulerControllerTest.java
----------------------------------------------------------------------
diff --git a/service/src/test/java/org/apache/griffin/core/schedule/SchedulerControllerTest.java b/service/src/test/java/org/apache/griffin/core/schedule/SchedulerControllerTest.java
index c4eb3ec..f1d40d0 100644
--- a/service/src/test/java/org/apache/griffin/core/schedule/SchedulerControllerTest.java
+++ b/service/src/test/java/org/apache/griffin/core/schedule/SchedulerControllerTest.java
@@ -1,3 +1,18 @@
+/*-
+ * 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.apache.griffin.core.schedule;
import org.codehaus.jackson.map.ObjectMapper;
@@ -22,9 +37,6 @@ import static org.springframework.test.web.servlet.request.MockMvcRequestBuilder
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
-/**
- * Created by xiangrchen on 6/7/17.
- */
@RunWith(SpringRunner.class)
@WebMvcTest(value = SchedulerController.class,secure = false)
public class SchedulerControllerTest {