You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by hu...@apache.org on 2018/06/27 16:19:21 UTC
incubator-gobblin git commit: [GOBBLIN-517] Add missing apache
license info
Repository: incubator-gobblin
Updated Branches:
refs/heads/master f5b893cf3 -> 6936e0d19
[GOBBLIN-517] Add missing apache license info
Closes #2388 from zxcware/header
Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/6936e0d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/6936e0d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/6936e0d1
Branch: refs/heads/master
Commit: 6936e0d195d538083f62cc3a0c6fb662762ff7a3
Parents: f5b893c
Author: zhchen <zh...@linkedin.com>
Authored: Wed Jun 27 09:19:16 2018 -0700
Committer: Hung Tran <hu...@linkedin.com>
Committed: Wed Jun 27 09:19:16 2018 -0700
----------------------------------------------------------------------
.../metrics/kafka/GobblinScopePusherFactory.java | 17 +++++++++++++++++
.../gobblin/metrics/kafka/PusherFactory.java | 17 +++++++++++++++++
.../gobblin/metrics/kafka/PusherFactoryTest.java | 17 +++++++++++++++++
.../modules/core/GobblinServiceManager.java | 4 ++--
4 files changed, 53 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6936e0d1/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/GobblinScopePusherFactory.java
----------------------------------------------------------------------
diff --git a/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/GobblinScopePusherFactory.java b/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/GobblinScopePusherFactory.java
index a228394..556ffcc 100644
--- a/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/GobblinScopePusherFactory.java
+++ b/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/GobblinScopePusherFactory.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
package org.apache.gobblin.metrics.kafka;
import org.apache.gobblin.broker.StringNameSharedResourceKey;
http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6936e0d1/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/PusherFactory.java
----------------------------------------------------------------------
diff --git a/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/PusherFactory.java b/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/PusherFactory.java
index 08cbc7e..9a0d7cf 100644
--- a/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/PusherFactory.java
+++ b/gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/metrics/kafka/PusherFactory.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
package org.apache.gobblin.metrics.kafka;
import org.apache.commons.lang3.reflect.ConstructorUtils;
http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6936e0d1/gobblin-modules/gobblin-kafka-common/src/test/java/org/apache/gobblin/metrics/kafka/PusherFactoryTest.java
----------------------------------------------------------------------
diff --git a/gobblin-modules/gobblin-kafka-common/src/test/java/org/apache/gobblin/metrics/kafka/PusherFactoryTest.java b/gobblin-modules/gobblin-kafka-common/src/test/java/org/apache/gobblin/metrics/kafka/PusherFactoryTest.java
index ad48a1e..50b1d85 100644
--- a/gobblin-modules/gobblin-kafka-common/src/test/java/org/apache/gobblin/metrics/kafka/PusherFactoryTest.java
+++ b/gobblin-modules/gobblin-kafka-common/src/test/java/org/apache/gobblin/metrics/kafka/PusherFactoryTest.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
+
package org.apache.gobblin.metrics.kafka;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/6936e0d1/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
----------------------------------------------------------------------
diff --git a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
index 9626bcb..365ecb4 100644
--- a/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
+++ b/gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
@@ -233,8 +233,8 @@ public class GobblinServiceManager implements ApplicationLauncher, StandardMetri
.resources(Lists.<Class<? extends BaseResource>>newArrayList(FlowConfigsResource.class))
.injector(injector)
.build();
- this.restliServer.setPort(ConfigUtils.getInt(config,
- ServiceConfigKeys.SERVICE_PORT, new Integer(0)));
+ this.restliServer.setPort(ConfigUtils.getInt(config,
+ ServiceConfigKeys.SERVICE_PORT, Integer.valueOf(0)));
this.serviceLauncher.addService(restliServer);
}