Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app matadata not compatible with java #2562

Closed
wants to merge 79 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
2a4625d
add metrics base api interface (#2350)
FoghostCn Jul 7, 2023
12bcf73
Introduce metrics bus (#2351)
FinalT Jul 7, 2023
1f4b1c8
add medata and config center metrics (#2357)
FoghostCn Jul 18, 2023
96dcff5
Merge branch 'main' into feature-metrics
chickenlj Jul 19, 2023
459d2ba
update go mod
chickenlj Jul 19, 2023
d0c3564
add metadata rt metrics (#2363)
FoghostCn Jul 26, 2023
82e9849
add registry metrics (#2366)
FinalT Jul 31, 2023
413c894
Merge branch 'main' into feature-metrics
chickenlj Jul 31, 2023
f5b88b2
Merge branch 'main' of https://github.com/apache/dubbo-go
chickenlj Aug 4, 2023
a97ceea
Triple adaptation and refactor demo (#2368)
DMwangnima Aug 11, 2023
af424f9
implement triple protocol server-side adaptation (#2378)
DMwangnima Aug 14, 2023
1228246
refactor protoc-gen-triple (#2380)
FinalT Aug 16, 2023
7c678ea
Test coverage for unary (#2393)
Axkea Aug 28, 2023
2278939
feat: refactor client module to resolve circular dependencies (#2399)
DMwangnima Aug 28, 2023
4e377e1
feat: cover Triple stream testing (#2404)
DMwangnima Aug 30, 2023
4ceaaa9
feat: add global dubbo instance conception (#2406)
DMwangnima Sep 1, 2023
38e57c7
feat: copy bare configurations from config to global (#2413)
DMwangnima Sep 2, 2023
a19cf22
feat: enhance user-side configuration style (#2414)
DMwangnima Sep 4, 2023
2c92580
Improved protoc plugin (#2418)
FinalT Sep 13, 2023
c0beb47
feat: be compatible with old triple-gen code (#2416)
DMwangnima Sep 13, 2023
5d1552b
feat: add server side (#2421)
L2ncE Sep 13, 2023
1d0c3b4
feat: modularize Graceful_Shutdown functionality (#2427)
DMwangnima Sep 18, 2023
8682a2e
feat: finish server layer (#2425)
DMwangnima Oct 11, 2023
ac275cd
Merge branch 'main' into feature-triple
chickenlj Oct 11, 2023
51c1aab
Update global metric config to match with change in main
chickenlj Oct 11, 2023
333be1f
code format
chickenlj Oct 11, 2023
0bde3ba
update makefile, add lint support
chickenlj Oct 11, 2023
8109155
feat: simplify registry and protocol configuration (#2445)
DMwangnima Oct 12, 2023
3e7b180
feat: fix lint problem (#2451)
DMwangnima Oct 17, 2023
223587c
fixes #2448, put CallOptions into invocation attachments (#2449)
chickenlj Oct 18, 2023
a8c2132
feat: update API for unification (#2453)
DMwangnima Oct 18, 2023
913665d
modify triple tpl (#2450)
FinalT Oct 25, 2023
9d62f72
Fix #2446, move XxxOption definition in global package to separate pa…
chickenlj Oct 26, 2023
4288187
fix CI (#2457)
FinalT Oct 27, 2023
62d537c
Fixes #2460, remove redundant import (#2461)
FinalT Oct 27, 2023
924e15a
Fix triple lint (#2456)
FinalT Oct 27, 2023
f6e1430
Merge branch 'main' into feature-triple
chickenlj Oct 27, 2023
15c43b8
Merge remote-tracking branch 'origin/feature-triple' into feature-triple
chickenlj Oct 27, 2023
689115e
Update metrics and tracing configs (#2463)
chickenlj Oct 31, 2023
06e7302
feat:sort triple logic (#2483)
FinalT Nov 4, 2023
b87c331
feat: support configuring client.WithURL without protocol prefex (#2484)
DMwangnima Nov 7, 2023
a3aa52d
support old triple (#2489)
FinalT Nov 8, 2023
1444a52
feat:add triple healthcheck server (#2473)
FinalT Nov 8, 2023
4e100df
Merge branch 'main' into feature-triple
chickenlj Nov 8, 2023
837bbff
fix compilation caused by metrics change in main branch
chickenlj Nov 8, 2023
d5832bf
fix(otel): fields mistake in tracing options (#2492)
ev1lQuark Nov 9, 2023
5e31152
feat: sort out triple logic and fix comments (#2454)
DMwangnima Nov 9, 2023
80a7536
fix #2495, panic: http: multiple registrations for /triple.reflection…
FinalT Nov 9, 2023
3f0f0b4
fix compilation after merged 'main'
chickenlj Nov 11, 2023
868070c
code format
chickenlj Nov 11, 2023
62a5b61
Fix compilation (#2499)
chickenlj Nov 11, 2023
5466eb0
fix: add Interface to mock URL for fixing TestInvoke (#2500)
DMwangnima Nov 11, 2023
c2f88b0
Merge branch 'feature-triple' of https://github.com/apache/dubbo-go i…
chickenlj Nov 11, 2023
0992795
Fix url merge, merge attributes (#2503)
chickenlj Nov 14, 2023
dbcaaf0
Merge branch 'feature-triple' of https://github.com/apache/dubbo-go i…
chickenlj Nov 15, 2023
a87f1ff
Reallocate protoc plugin and polish package documentations (#2507)
chickenlj Nov 18, 2023
f9eecf4
delete redundant protoc-gen-triple-go code (#2512)
FinalT Nov 20, 2023
9ea5129
Triple client&server api (#2502)
chickenlj Nov 20, 2023
7feb02d
chore(deps): bump golang.org/x/sys in /tools/dubbogo-cli (#2510)
dependabot[bot] Nov 21, 2023
19d8c38
chore(deps): bump golang.org/x/net from 0.8.0 to 0.17.0 (#2509)
dependabot[bot] Nov 21, 2023
40e1740
update LICENSE (#2511)
chickenlj Nov 21, 2023
7d254c5
fix, set default application name if it's empty (#2518)
chickenlj Nov 22, 2023
ca576dd
Registries can be set at client and reference level, check and set cl…
chickenlj Nov 22, 2023
27279e7
Fix url attributes merge (#2504)
FinalT Nov 27, 2023
8c3057f
Add protoc release action (#2516)
chickenlj Nov 28, 2023
778c1bd
feat:support dubbo.load() (#2523)
FinalT Nov 29, 2023
d1c41be
Feature triple api tuning (#2525)
DMwangnima Dec 2, 2023
750e955
feat: update proto-gen-triple (#2528)
FinalT Dec 2, 2023
7683ea4
feat: add reflection service (#2522)
FinalT Dec 2, 2023
2794682
fix: rename health.proto (#2527)
FinalT Dec 2, 2023
ffb8b76
feat: Adapt config.load (#2531)
FinalT Dec 5, 2023
90e7f69
fix invoker (#2533)
FinalT Dec 8, 2023
5465486
feat: support triple group/version division for a certain Interface (…
DMwangnima Dec 8, 2023
19d1da0
feat: interleaved weighted round-robin load balance (#2405)
dongjiang1989 Dec 29, 2023
3686617
Update NOTICE to 2024
AlbumenJ Jan 2, 2024
4c945fb
fix #2546, change timeout of DubboInvoker from Milliseconds to Nanose…
Jafeyyu Jan 3, 2024
4649d8a
fix: resolve triple bugs based on dubbo-go-samples (#2545)
DMwangnima Jan 4, 2024
5b09c72
nacos App Metadata compatible with java
FoghostCn Jan 4, 2024
8773ffa
Merge branch 'main' into release-3.1
FoghostCn Jan 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- 'release-*'
- 'feature-*'
pull_request:
branches: "*"

Expand Down
64 changes: 64 additions & 0 deletions .github/workflows/protoc-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Protoc-gen-go-triple Release

on:
release:
types: [published]

jobs:
release:
permissions:
contents: write

name: Release cmd/protoc-gen-go-triple
runs-on: ubuntu-latest
if: startsWith(github.event.release.tag_name, 'cmd/protoc-gen-go-triple/')
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [386, amd64, arm64]
exclude:
- goos: darwin
goarch: 386

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2

- name: Download dependencies
run: |
cd cmd/protoc-gen-go-triple
go mod download

- name: Prepare build directory
run: |
mkdir -p build/
cp README.md build/
cp LICENSE build/

- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
cd cmd/protoc-gen-go-triple
go build -trimpath -o $GITHUB_WORKSPACE/build

- name: Create package
id: package
run: |
PACKAGE_NAME=protoc-gen-go-triple.${GITHUB_REF#refs/tags/cmd/protoc-gen-go-triple/}.${{ matrix.goos }}.${{ matrix.goarch }}.tar.gz
tar -czvf $PACKAGE_NAME -C build .
echo "name=${PACKAGE_NAME}" >> $GITHUB_OUTPUT

- name: Upload asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./${{ steps.package.outputs.name }}
asset_name: ${{ steps.package.outputs.name }}
asset_content_type: application/gzip
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,7 @@
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.

For the package protocol/triple:

This package contains a modified portion of 'connect-go', a family of libraries for building gRPC-compatible HTTP APIs also under the "Apache License 2.0" license, see https://github.com/bufbuild/connect-go/blob/main/LICENSE.
18 changes: 17 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ deps: prepare

.PHONY: license
license: clean prepareLic
$(GO_LICENSE_CHECKER) -v -a -r -i vendor $(LICENSE_DIR)/license.txt . go && [[ -z `git status -s` ]]
$(GO_LICENSE_CHECKER) -v -a -r -i vendor,protocol/triple/triple_protocol,protocol/triple/reflection,cmd/protoc-gen-go-triple/internal $(LICENSE_DIR)/license.txt . go && [[ -z `git status -s` ]]

.PHONY: verify
verify: clean license test
Expand All @@ -73,6 +73,22 @@ fmt:
$(GO_GET) -u github.com/dubbogo/tools/cmd/imports-formatter
imports-formatter

LOCALBIN ?= $(shell pwd)/bin
$(LOCALBIN):
mkdir -p $(LOCALBIN)
GOLANG_LINT_VERSION ?= v1.44.2
GOLANG_LINT ?= $(LOCALBIN)/golangci-lint
GOLANG_LINT_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"

.PHONY: golangci-lint-install
golangci-lint-install: $(LOCALBIN) ## Download golangci lint locally if necessary.
test -s $(LOCALBIN)/golangci-lint && $(LOCALBIN)/golangci-lint --version | grep -q $(GOLANG_LINT_VERSION) || \
GOBIN=$(LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANG_LINT_VERSION)

.PHONY: lint
lint: golangci-lint-install ## Run golang lint against code
GO111MODULE=on $(GOLANG_LINT) run ./... --timeout=30m -v

.PHONY: clean
clean: prepare
rm -rf coverage.txt
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Dubbo-go
Copyright 2018-2022 The Apache Software Foundation
Copyright 2018-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Loading
Loading