You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/03/15 08:31:50 UTC
[incubator-servicecomb-java-chassis] branch master updated: SCB-403
Add missing ASF headers (#602)
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/master by this push:
new ab99f8b SCB-403 Add missing ASF headers (#602)
ab99f8b is described below
commit ab99f8bd6ae12ee34b6db520b966db3ec4693aad
Author: Yang, Bo <oa...@gmail.com>
AuthorDate: Thu Mar 15 16:31:48 2018 +0800
SCB-403 Add missing ASF headers (#602)
---
.../io/protostuff/runtime/model/ModelProtobuf.proto | 19 ++++++++++++++++++-
.../microservices/no-use/cse.basic.Basic/main.idl | 18 +++++++++++++++++-
.../resources/microservices/no-use/hello/main.idl | 15 +++++++++++++++
.../microservices/no-use/helloworld.Greeter/main.idl | 15 +++++++++++++++
.../microservices/no-use/helloworld.Standard/main.idl | 17 ++++++++++++++++-
.../resources/microservices/no-use/server/main.idl | 17 ++++++++++++++++-
6 files changed, 97 insertions(+), 4 deletions(-)
diff --git a/common/common-protobuf/src/test/java/io/protostuff/runtime/model/ModelProtobuf.proto b/common/common-protobuf/src/test/java/io/protostuff/runtime/model/ModelProtobuf.proto
index 52d537d..1c2cb5a 100644
--- a/common/common-protobuf/src/test/java/io/protostuff/runtime/model/ModelProtobuf.proto
+++ b/common/common-protobuf/src/test/java/io/protostuff/runtime/model/ModelProtobuf.proto
@@ -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.
+ */
+
syntax = "proto3";
package io.protostuff.runtime.model;
@@ -15,4 +32,4 @@ message RequestHeader{
map<string, User> userMap = 8;
repeated string list = 9;
repeated User userList = 10;
-}
\ No newline at end of file
+}
diff --git a/demo/demo-schema/src/main/resources/microservices/no-use/cse.basic.Basic/main.idl b/demo/demo-schema/src/main/resources/microservices/no-use/cse.basic.Basic/main.idl
index 2bd4295..6b5cd76 100644
--- a/demo/demo-schema/src/main/resources/microservices/no-use/cse.basic.Basic/main.idl
+++ b/demo/demo-schema/src/main/resources/microservices/no-use/cse.basic.Basic/main.idl
@@ -1,3 +1,19 @@
+// 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 cse.basic;
message BasicRequest {
@@ -43,4 +59,4 @@ message AllBasicTypes {
service Basic {
rpc schalarType(BasicRequest) returns(BasicResponse);
-}
\ No newline at end of file
+}
diff --git a/demo/demo-schema/src/main/resources/microservices/no-use/hello/main.idl b/demo/demo-schema/src/main/resources/microservices/no-use/hello/main.idl
index 1ef02b8..6a6fd47 100644
--- a/demo/demo-schema/src/main/resources/microservices/no-use/hello/main.idl
+++ b/demo/demo-schema/src/main/resources/microservices/no-use/hello/main.idl
@@ -1,3 +1,18 @@
+// 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.
+
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
diff --git a/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Greeter/main.idl b/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Greeter/main.idl
index ec995e1..e415db0 100644
--- a/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Greeter/main.idl
+++ b/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Greeter/main.idl
@@ -1,3 +1,18 @@
+// 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 helloworld;
service Greeter {
diff --git a/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Standard/main.idl b/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Standard/main.idl
index b0a65f9..2cf0a7a 100644
--- a/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Standard/main.idl
+++ b/demo/demo-schema/src/main/resources/microservices/no-use/helloworld.Standard/main.idl
@@ -1,3 +1,18 @@
+// 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 helloworld;
message StandardRequest {
@@ -16,4 +31,4 @@ message ComplexType {
service Standard {
rpc sayHelloComplex (StandardRequest) returns (StandardResponse);
-}
\ No newline at end of file
+}
diff --git a/demo/demo-schema/src/main/resources/microservices/no-use/server/main.idl b/demo/demo-schema/src/main/resources/microservices/no-use/server/main.idl
index 92951fb..d60a7a8 100644
--- a/demo/demo-schema/src/main/resources/microservices/no-use/server/main.idl
+++ b/demo/demo-schema/src/main/resources/microservices/no-use/server/main.idl
@@ -1,3 +1,18 @@
+// 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.
+
message TestRequest{
required int32 index = 1;
required User user = 2;
@@ -79,4 +94,4 @@ message HelloRequest {
message HelloReply {
required string message = 1;
-}
\ No newline at end of file
+}
--
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.