You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2019/12/11 14:28:12 UTC
[dubbo-js] branch v3.0.0 updated: fixed java file LICENSE
This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch v3.0.0
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/v3.0.0 by this push:
new 08bc3af fixed java file LICENSE
new d0eac49 Merge pull request #177 from hufeng/v3.0.0
08bc3af is described below
commit 08bc3afccd772ece7dddc7a2d42b40541388fca0
Author: hufeng <fe...@gmail.com>
AuthorDate: Wed Dec 11 22:24:02 2019 +0800
fixed java file LICENSE
---
examples/hello-egg/.autod.conf.js | 24 +++------------
.../com/alibaba/dubbo/demo/DemoProvider.ts | 16 ++++++++++
examples/hello-egg/dubbo.json | 12 ++++----
examples/hello-egg/tslint.json | 34 ++++-----------------
java/dubbo-demo/dubbo-demo-api/pom.xml | 27 ++++++++--------
.../com/alibaba/dubbo/demo/BasicTypeProvider.java | 16 ++++++++++
.../com/alibaba/dubbo/demo/CustomizeException.java | 16 ++++++++++
.../java/com/alibaba/dubbo/demo/ErrorProvider.java | 16 ++++++++++
.../src/main/java/com/alibaba/dubbo/demo/Sex.java | 16 ++++++++++
.../java/com/alibaba/dubbo/demo/TypeRequest.java | 16 ++++++++++
.../java/com/alibaba/dubbo/demo/UserRequest.java | 16 ++++++++++
.../java/com/alibaba/dubbo/demo/UserResponse.java | 16 ++++++++++
java/dubbo-demo/dubbo-demo-consumer/pom.xml | 27 ++++++++--------
.../com/alibaba/dubbo/demo/consumer/Consumer.java | 18 ++++++++++-
.../META-INF/spring/dubbo-demo-consumer.xml | 27 ++++++++--------
.../src/main/resources/log4j.properties | 16 ++++++++++
java/dubbo-demo/dubbo-demo-provider/pom.xml | 27 ++++++++--------
.../dubbo/demo/provider/BasicTypeProviderImpl.java | 17 +++++++++++
.../dubbo/demo/provider/DemoProviderImpl.java | 28 +++++++++--------
.../dubbo/demo/provider/ErrorProviderImpl.java | 17 +++++++++++
.../com/alibaba/dubbo/demo/provider/Provider.java | 22 +++++++++++--
.../com/alibaba/dubbo/demo/provider/Provider1.java | 17 +++++++++++
.../META-INF/spring/dubbo-demo-provider.xml | 27 ++++++++--------
.../META-INF/spring/dubbo-demo-provider1.xml | 27 ++++++++--------
.../src/main/resources/log4j.properties | 16 ++++++++++
java/dubbo-demo/pom.xml | 29 +++++++++---------
java/pom.xml | 29 +++++++++---------
packages/interpret-cli/ext/jexpose-1.2.jar | Bin 1866659 -> 0 bytes
packages/interpret-cli/ext/jexpose-1.3.jar | Bin 1866760 -> 0 bytes
29 files changed, 394 insertions(+), 175 deletions(-)
diff --git a/examples/hello-egg/.autod.conf.js b/examples/hello-egg/.autod.conf.js
index baa4030..05b2b44 100644
--- a/examples/hello-egg/.autod.conf.js
+++ b/examples/hello-egg/.autod.conf.js
@@ -5,24 +5,10 @@ module.exports = {
plugin: 'autod-egg',
prefix: '^',
devprefix: '^',
- exclude: [
- 'test/fixtures',
- 'coverage',
- ],
- dep: [
- 'egg',
- 'egg-scripts',
- ],
- devdep: [
- 'autod',
- 'autod-egg',
- 'egg-bin',
- 'tslib',
- 'typescript',
- ],
- keep: [
- ],
- semver: [
- ],
+ exclude: ['test/fixtures', 'coverage'],
+ dep: ['egg', 'egg-scripts'],
+ devdep: ['autod', 'autod-egg', 'egg-bin', 'tslib', 'typescript'],
+ keep: [],
+ semver: [],
test: 'scripts',
};
diff --git a/examples/hello-egg/app/dubbo/providers/com/alibaba/dubbo/demo/DemoProvider.ts b/examples/hello-egg/app/dubbo/providers/com/alibaba/dubbo/demo/DemoProvider.ts
index e945820..6a712ab 100644
--- a/examples/hello-egg/app/dubbo/providers/com/alibaba/dubbo/demo/DemoProvider.ts
+++ b/examples/hello-egg/app/dubbo/providers/com/alibaba/dubbo/demo/DemoProvider.ts
@@ -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.
+ */
import {Dubbo, TDubboCallResult} from 'dubbo-js';
import {argumentMap, JavaString} from 'interpret-util';
import {UserRequest} from './UserRequest';
diff --git a/examples/hello-egg/dubbo.json b/examples/hello-egg/dubbo.json
index 589b75e..e1c2374 100644
--- a/examples/hello-egg/dubbo.json
+++ b/examples/hello-egg/dubbo.json
@@ -1,7 +1,7 @@
{
- "output": "./app/dubbo/providers",
- "entry": "com.alibaba.dubbo.demo",
- "entryJarPath": "../../java/dubbo-demo/dubbo-demo-api/target/dubbo-demo-api-2.6.3.jar",
- "libDirPath": "../../java/dubbo-demo/dubbo-demo-api/target/dependency",
- "providerSuffix": "Provider"
-}
\ No newline at end of file
+ "output": "./app/dubbo/providers",
+ "entry": "com.alibaba.dubbo.demo",
+ "entryJarPath": "../../java/dubbo-demo/dubbo-demo-api/target/dubbo-demo-api-2.6.3.jar",
+ "libDirPath": "../../java/dubbo-demo/dubbo-demo-api/target/dependency",
+ "providerSuffix": "Provider"
+}
diff --git a/examples/hello-egg/tslint.json b/examples/hello-egg/tslint.json
index 73221c9..605e134 100644
--- a/examples/hello-egg/tslint.json
+++ b/examples/hello-egg/tslint.json
@@ -1,27 +1,12 @@
{
"extends": "tslint:latest",
"rules": {
- "quotemark": [
- true,
- "single",
- "jsx-double"
- ],
- "no-console": [
- true,
- "dir",
- "log",
- "error",
- "warn"
- ],
+ "quotemark": [true, "single", "jsx-double"],
+ "no-console": [true, "dir", "log", "error", "warn"],
"space-before-function-paren": false,
- "interface-name": [
- true,
- "never-prefix"
- ],
+ "interface-name": [true, "never-prefix"],
"adjacent-overload-signatures": true,
- "member-access": [
- false
- ],
+ "member-access": [false],
"member-ordering": [
true,
{
@@ -29,15 +14,8 @@
}
],
"object-literal-sort-keys": false,
- "max-classes-per-file": [
- true,
- 10
- ],
- "variable-name": [
- true,
- "allow-leading-underscore"
- ],
+ "max-classes-per-file": [true, 10],
+ "variable-name": [true, "allow-leading-underscore"],
"align": [true, "statements"]
}
}
-
diff --git a/java/dubbo-demo/dubbo-demo-api/pom.xml b/java/dubbo-demo/dubbo-demo-api/pom.xml
index 39639a9..905096b 100644
--- a/java/dubbo-demo/dubbo-demo-api/pom.xml
+++ b/java/dubbo-demo/dubbo-demo-api/pom.xml
@@ -1,17 +1,18 @@
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/BasicTypeProvider.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/BasicTypeProvider.java
index c645c13..f612e12 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/BasicTypeProvider.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/BasicTypeProvider.java
@@ -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 com.alibaba.dubbo.demo;
public interface BasicTypeProvider {
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/CustomizeException.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/CustomizeException.java
index 2397f8f..1580cf1 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/CustomizeException.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/CustomizeException.java
@@ -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 com.alibaba.dubbo.demo;
public class CustomizeException extends Exception {
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/ErrorProvider.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/ErrorProvider.java
index e08e9f9..2424d48 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/ErrorProvider.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/ErrorProvider.java
@@ -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 com.alibaba.dubbo.demo;
public interface ErrorProvider {
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/Sex.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/Sex.java
index b34b2b3..b64965d 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/Sex.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/Sex.java
@@ -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 com.alibaba.dubbo.demo;
public enum Sex {
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/TypeRequest.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/TypeRequest.java
index 4525c1a..e31182c 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/TypeRequest.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/TypeRequest.java
@@ -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 com.alibaba.dubbo.demo;
import java.io.Serializable;
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserRequest.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserRequest.java
index 06f31d1..326cbdf 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserRequest.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserRequest.java
@@ -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 com.alibaba.dubbo.demo;
import java.io.Serializable;
diff --git a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserResponse.java b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserResponse.java
index a67e651..890efe9 100644
--- a/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserResponse.java
+++ b/java/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/UserResponse.java
@@ -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 com.alibaba.dubbo.demo;
import java.io.Serializable;
diff --git a/java/dubbo-demo/dubbo-demo-consumer/pom.xml b/java/dubbo-demo/dubbo-demo-consumer/pom.xml
index 0eb0797..fb0577b 100644
--- a/java/dubbo-demo/dubbo-demo-consumer/pom.xml
+++ b/java/dubbo-demo/dubbo-demo-consumer/pom.xml
@@ -1,17 +1,18 @@
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
diff --git a/java/dubbo-demo/dubbo-demo-consumer/src/main/java/com/alibaba/dubbo/demo/consumer/Consumer.java b/java/dubbo-demo/dubbo-demo-consumer/src/main/java/com/alibaba/dubbo/demo/consumer/Consumer.java
index c5b4ad7..1d959cb 100644
--- a/java/dubbo-demo/dubbo-demo-consumer/src/main/java/com/alibaba/dubbo/demo/consumer/Consumer.java
+++ b/java/dubbo-demo/dubbo-demo-consumer/src/main/java/com/alibaba/dubbo/demo/consumer/Consumer.java
@@ -1,6 +1,22 @@
+/*
+ * 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 com.alibaba.dubbo.demo.consumer;
-import com.alibaba.dubbo.demo.*;
+import com.alibaba.dubbo.demo.DemoProvider;
import org.springframework.context.support.ClassPathXmlApplicationContext;
diff --git a/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml b/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
index ce5fe5c..ace1cac 100644
--- a/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
+++ b/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
diff --git a/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties b/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties
index 6f2985b..2fbc9ca 100644
--- a/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties
+++ b/java/dubbo-demo/dubbo-demo-consumer/src/main/resources/log4j.properties
@@ -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.
+
###set log levels###
log4j.rootLogger=info, stdout
###输出到控制台###
diff --git a/java/dubbo-demo/dubbo-demo-provider/pom.xml b/java/dubbo-demo/dubbo-demo-provider/pom.xml
index fdc2a86..1591ca7 100644
--- a/java/dubbo-demo/dubbo-demo-provider/pom.xml
+++ b/java/dubbo-demo/dubbo-demo-provider/pom.xml
@@ -1,17 +1,18 @@
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/BasicTypeProviderImpl.java b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/BasicTypeProviderImpl.java
index 572097c..e849368 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/BasicTypeProviderImpl.java
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/BasicTypeProviderImpl.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 com.alibaba.dubbo.demo.provider;
import com.alibaba.dubbo.demo.BasicTypeProvider;
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/DemoProviderImpl.java b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/DemoProviderImpl.java
index 4846f49..1498693 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/DemoProviderImpl.java
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/DemoProviderImpl.java
@@ -1,30 +1,32 @@
/*
- * Copyright 1999-2011 Alibaba Group.
- *
- * 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
- *
+ * 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 com.alibaba.dubbo.demo.provider;
-import com.alibaba.dubbo.demo.DemoProvider;
-import com.alibaba.dubbo.demo.UserRequest;
-import com.alibaba.dubbo.demo.UserResponse;
-import com.alibaba.dubbo.rpc.RpcContext;
+package com.alibaba.dubbo.demo.provider;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
+import com.alibaba.dubbo.demo.DemoProvider;
+import com.alibaba.dubbo.demo.UserRequest;
+import com.alibaba.dubbo.demo.UserResponse;
+import com.alibaba.dubbo.rpc.RpcContext;
+
public class DemoProviderImpl implements DemoProvider {
public String sayHello(String name) {
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/ErrorProviderImpl.java b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/ErrorProviderImpl.java
index 8c60d8c..c19b0d0 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/ErrorProviderImpl.java
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/ErrorProviderImpl.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 com.alibaba.dubbo.demo.provider;
import com.alibaba.dubbo.demo.CustomizeException;
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider.java b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider.java
index 1f155fb..d4f5d66 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider.java
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider.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 com.alibaba.dubbo.demo.provider;
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -8,10 +25,11 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
public class Provider {
public static void main(String[] args) throws Exception {
- ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"META-INF/spring/dubbo-demo-provider.xml"});
+ ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
+ new String[] { "META-INF/spring/dubbo-demo-provider.xml" });
context.start();
// System.in.read(); // 按任意键退出
- while(true) {
+ while (true) {
Thread.sleep(Long.MAX_VALUE);
}
}
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider1.java b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider1.java
index c88eef9..5965b12 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider1.java
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/java/com/alibaba/dubbo/demo/provider/Provider1.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 com.alibaba.dubbo.demo.provider;
import org.springframework.context.support.ClassPathXmlApplicationContext;
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
index a9f75bd..baf4b78 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
index 22e1c05..9cc6129 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider1.xml
@@ -1,18 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+ * 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.
-->
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
diff --git a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties
index 6f2985b..2fbc9ca 100644
--- a/java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties
+++ b/java/dubbo-demo/dubbo-demo-provider/src/main/resources/log4j.properties
@@ -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.
+
###set log levels###
log4j.rootLogger=info, stdout
###输出到控制台###
diff --git a/java/dubbo-demo/pom.xml b/java/dubbo-demo/pom.xml
index 8223eca..52efd4c 100644
--- a/java/dubbo-demo/pom.xml
+++ b/java/dubbo-demo/pom.xml
@@ -1,17 +1,18 @@
-<!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+<!--
+ * 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.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
diff --git a/java/pom.xml b/java/pom.xml
index 17db4fa..f54473d 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -1,17 +1,18 @@
- <!--
- - Copyright 1999-2011 Alibaba Group.
- -
- - 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.
+<!--
+ * 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.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
diff --git a/packages/interpret-cli/ext/jexpose-1.2.jar b/packages/interpret-cli/ext/jexpose-1.2.jar
deleted file mode 100644
index cfc28b2..0000000
Binary files a/packages/interpret-cli/ext/jexpose-1.2.jar and /dev/null differ
diff --git a/packages/interpret-cli/ext/jexpose-1.3.jar b/packages/interpret-cli/ext/jexpose-1.3.jar
deleted file mode 100644
index 73183dc..0000000
Binary files a/packages/interpret-cli/ext/jexpose-1.3.jar and /dev/null differ