This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 9998d1677 [ISSUE #4118]Add licenses to the Java classes generated from
CloudEvents protobuf (#4119)
9998d1677 is described below
commit 9998d1677212485692b26f83ef25e615b142c42e
Author: mxsm <[email protected]>
AuthorDate: Tue Jun 13 15:53:48 2023 +0800
[ISSUE #4118]Add licenses to the Java classes generated from CloudEvents
protobuf (#4119)
---
.../common/protocol/grpc/cloudevents/CloudEvent.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/CloudEventBatch.java | 17 +++++++++++++++++
.../grpc/cloudevents/CloudEventBatchOrBuilder.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/CloudEventOrBuilder.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/ConsumerServiceGrpc.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/EventMeshCloudEvents.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/EventMeshGrpcService.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/HeartbeatServiceGrpc.java | 17 +++++++++++++++++
.../protocol/grpc/cloudevents/PublisherServiceGrpc.java | 17 +++++++++++++++++
.../grpc/exception/ProtocolNotSupportException.java | 8 ++++----
tools/dependency-check/known-dependencies.txt | 14 ++++++--------
11 files changed, 163 insertions(+), 12 deletions(-)
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEvent.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEvent.java
index 00d7736fc..f04108f39 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEvent.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEvent.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-cloudevents.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatch.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatch.java
index 05643077a..5d541ec97 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatch.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatch.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-cloudevents.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatchOrBuilder.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatchOrBuilder.java
index f6088edd1..5f3256d6f 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatchOrBuilder.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventBatchOrBuilder.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-cloudevents.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventOrBuilder.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventOrBuilder.java
index b3b0b9c63..a375b43a8 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventOrBuilder.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/CloudEventOrBuilder.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-cloudevents.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/ConsumerServiceGrpc.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/ConsumerServiceGrpc.java
index 0ef33c03d..d3f25f558 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/ConsumerServiceGrpc.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/ConsumerServiceGrpc.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.eventmesh.common.protocol.grpc.cloudevents;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshCloudEvents.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshCloudEvents.java
index 663e852d6..aebe0a06c 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshCloudEvents.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshCloudEvents.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-cloudevents.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshGrpcService.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshGrpcService.java
index d0e767393..94dbdbbef 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshGrpcService.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/EventMeshGrpcService.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.
+ */
+
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: eventmesh-service.proto
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/HeartbeatServiceGrpc.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/HeartbeatServiceGrpc.java
index 43d3bfd6e..0b347e58c 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/HeartbeatServiceGrpc.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/HeartbeatServiceGrpc.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.eventmesh.common.protocol.grpc.cloudevents;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/PublisherServiceGrpc.java
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/PublisherServiceGrpc.java
index 6bc85cc86..279640203 100644
---
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/PublisherServiceGrpc.java
+++
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/cloudevents/PublisherServiceGrpc.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.eventmesh.common.protocol.grpc.cloudevents;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git
a/eventmesh-sdks/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/exception/ProtocolNotSupportException.java
b/eventmesh-sdks/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/exception/ProtocolNotSupportException.java
index 258ecc013..ef89340a8 100644
---
a/eventmesh-sdks/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/exception/ProtocolNotSupportException.java
+++
b/eventmesh-sdks/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/exception/ProtocolNotSupportException.java
@@ -42,7 +42,7 @@ public class ProtocolNotSupportException extends
RuntimeException {
* is <i>not</i> automatically incorporated in this runtime exception's
detail message.
*
* @param message the detail message (which is saved for later retrieval
by the {@link #getMessage()} method).
- * @param cause the cause (which is saved for later retrieval by the
{@link #getCause()} method). (A <tt>null</tt> value is permitted, and
+ * @param cause the cause (which is saved for later retrieval by the
{@link #getCause()} method). (A <code>null</code> value is permitted, and
* indicates that the cause is nonexistent or unknown.)
* @since 1.4
*/
@@ -51,12 +51,12 @@ public class ProtocolNotSupportException extends
RuntimeException {
}
/**
- * Constructs a new runtime exception with the specified cause and a
detail message of <tt>(cause==null ? null : cause.toString())</tt> (which
+ * Constructs a new runtime exception with the specified cause and a
detail message of <code>(cause==null ? null : cause.toString())</code> (which
* typically contains the class and detail message of
- * <tt>cause</tt>). This constructor is useful for runtime exceptions
+ * <code>cause</code>). This constructor is useful for runtime exceptions
* that are little more than wrappers for other throwables.
*
- * @param cause the cause (which is saved for later retrieval by the
{@link #getCause()} method). (A <tt>null</tt> value is permitted, and
+ * @param cause the cause (which is saved for later retrieval by the
{@link #getCause()} method). (A <code>null</code> value is permitted, and
* indicates that the cause is nonexistent or unknown.)
* @since 1.4
*/
diff --git a/tools/dependency-check/known-dependencies.txt
b/tools/dependency-check/known-dependencies.txt
index 7179877a7..e86d1d40e 100644
--- a/tools/dependency-check/known-dependencies.txt
+++ b/tools/dependency-check/known-dependencies.txt
@@ -22,10 +22,11 @@ bson-3.12.11.jar
byte-buddy-1.11.0.jar
cache-api-1.1.1.jar
checker-qual-3.12.0.jar
-cloudevents-api-2.2.0.jar
-cloudevents-core-2.2.0.jar
-cloudevents-json-jackson-2.2.0.jar
-cloudevents-kafka-2.2.1.jar
+cloudevents-api-2.4.2.jar
+cloudevents-core-2.4.2.jar
+cloudevents-json-jackson-2.4.2.jar
+cloudevents-kafka-2.4.2.jar
+cloudevents-protobuf-2.4.2.jar
commons-beanutils-1.9.4.jar
commons-cli-1.2.jar
commons-codec-1.11.jar
@@ -48,10 +49,8 @@ error_prone_annotations-2.9.0.jar
failureaccess-1.0.1.jar
fastjson-1.2.83.jar
google-auth-library-credentials-0.22.2.jar
-grpc-api-1.42.2.jar
grpc-api-1.43.2.jar
grpc-auth-1.39.0.jar
-grpc-context-1.42.2.jar
grpc-context-1.43.2.jar
grpc-core-1.43.2.jar
grpc-grpclb-1.17.1.jar
@@ -61,7 +60,6 @@ grpc-protobuf-1.42.2.jar
grpc-protobuf-1.43.2.jar
grpc-protobuf-lite-1.42.2.jar
grpc-protobuf-lite-1.43.2.jar
-grpc-stub-1.42.2.jar
grpc-stub-1.43.2.jar
gson-2.8.2.jar
guava-31.0.1-jre.jar
@@ -184,10 +182,10 @@ pravega-shared-controller-api-0.11.0.jar
pravega-shared-protocol-0.11.0.jar
pravega-shared-security-0.11.0.jar
proto-google-common-protos-2.0.1.jar
-protobuf-java-3.18.2.jar
protobuf-java-3.19.2.jar
protobuf-java-3.19.4.jar
protobuf-java-3.21.5.jar
+protobuf-java-util-3.15.0.jar
protobuf-java-util-3.17.2.jar
protobuf-java-util-3.21.5.jar
protobuf-java-util-3.5.1.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]