Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16f8499
commit 5ab0dde
Showing
166 changed files
with
2,139 additions
and
6,821 deletions.
There are no files selected for viewing
8 changes: 3 additions & 5 deletions
8
...-examples/dubbo-example-interface/pom.xml → .../dubbo-examples/dubbo-api-example/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>dubbo-examples</artifactId> | ||
<groupId>com.tencent.polaris</groupId> | ||
<version>${revision}</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>dubbo-example-interface</artifactId> | ||
|
||
<artifactId>dubbo-api-example</artifactId> | ||
|
||
</project> |
48 changes: 26 additions & 22 deletions
48
...ache/dubbo/demo/RatelimitDemoService.java → ...is/dubbo/example/api/GreetingService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
/* | ||
* Tencent is pleased to support the open source community by making Polaris available. | ||
* | ||
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. | ||
* | ||
* Licensed under the BSD 3-Clause License (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://opensource.org/licenses/BSD-3-Clause | ||
* | ||
* 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.dubbo.demo; | ||
|
||
public interface RatelimitDemoService extends DemoService { | ||
|
||
} | ||
/* | ||
* Tencent is pleased to support the open source community by making Polaris available. | ||
* | ||
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. | ||
* | ||
* Licensed under the BSD 3-Clause License (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://opensource.org/licenses/BSD-3-Clause | ||
* | ||
* 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.tencent.polaris.dubbo.example.api; | ||
|
||
public interface GreetingService { | ||
|
||
String sayHello(String name); | ||
|
||
String sayHi(String name); | ||
|
||
} |
100 changes: 0 additions & 100 deletions
100
dubbo/dubbo-examples/dubbo-circuitbreak-example/dubbo-circuitbreak-consumer/pom.xml
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
...k-consumer/src/main/java/com/tencent/polaris/dubbo/circuitbreak/consumer/Application.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...ubbo-circuitbreak-example/dubbo-circuitbreak-consumer/src/main/resources/log4j.properties
This file was deleted.
Oops, something went wrong.
94 changes: 0 additions & 94 deletions
94
dubbo/dubbo-examples/dubbo-circuitbreak-example/dubbo-circuitbreak-provider/pom.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.