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

preview #301

Merged
merged 86 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
9646d3c
update gopsutil to v3
snail007 Oct 20, 2021
85f1a68
update gopsutil to v3
snail007 Oct 20, 2021
5e8ed1b
add testing on go1.17
snail007 Oct 20, 2021
c85987d
Merge branch 'master' into dev
Oct 27, 2021
d241293
Feature/mix groups (#250)
rayzhang0603 Nov 19, 2021
dec9833
fix httpproxy testing case
snail007 Nov 19, 2021
ab4182c
Merge branch 'dev' of https://github.com/weibocom/motan-go into dev
Nov 26, 2021
995cea7
add log for mix group
Nov 26, 2021
81e2c6b
Merge pull request #251 from weibocom/fix/mixgroups_add_log
rayzhang0603 Dec 2, 2021
8b6bfd8
增加backupRequestInitDelayTime支持
snail007 Jan 10, 2022
a4d423e
modify rateLimit and circuitBreaker filter (#253)
Hoofffman Jan 12, 2022
92d3ca0
Fix httpproxy contenttype (#256)
Feb 10, 2022
a50d017
support global filter fix #257 (#259)
flyhope Apr 1, 2022
ac0afec
modify time.After function in manageHandler.go, which might cause mem…
Hoofffman Apr 21, 2022
8bef2b4
log filter (#269)
cocowh May 10, 2022
fdbf27a
fix mergeGlobalFilter (#270)
cocowh May 11, 2022
4a16cae
reconnect graphite udp connection every write interval (#271)
cocowh May 25, 2022
d34512b
add motan-service group support of multiple comma split group name (#…
snail007 Jul 19, 2022
63012a0
fix readURLs add h.parseURL(u)
snail007 Jul 21, 2022
71adc80
fix readURLs add h.parseURLs()
snail007 Jul 21, 2022
70fb5a5
support add service group from environment variable (#274)
snail007 Jul 27, 2022
83c3899
move GroupNameSeparator GroupEnvironmentName to constants.go
snail007 Jul 28, 2022
609202d
support add defaultFilter and disableDefaultFilter (#277)
snail007 Jul 28, 2022
1cc3f7a
remove unnecessary filters process
snail007 Jul 28, 2022
d9c07b1
add get all service interface (#279)
Hoofffman Jul 29, 2022
0ecd944
support DynamicConfigurerHandler add filters from defaultFilter and …
snail007 Aug 3, 2022
7ab5123
fix empty err threshold bug
Aug 11, 2022
457f2f2
Merge pull request #282 from Hoofffman/dev
rayzhang0603 Aug 11, 2022
44c8176
http proxy header:host
cocowh Aug 23, 2022
e1ccd14
Merge pull request #283 from cocowh/fix/httpProxy_Host
rayzhang0603 Aug 23, 2022
89187d3
增加日志目录通过启动参数指定功能 (#285)
Hoofffman Sep 19, 2022
b34ea7e
Feat/support motan1 (#284)
rayzhang0603 Sep 20, 2022
87c7641
agent 启动提速
Sep 29, 2022
fd51617
Merge pull request #287 from Hoofffman/dev
rayzhang0603 Sep 29, 2022
fea2be0
fix common endpoint recorderrandkeepalive (#288)
641862816 Oct 11, 2022
10eaf1e
fix endpoint nil conn enter assertion bug (#289)
Hoofffman Oct 17, 2022
4ccf617
bugfix:request clone originMessage (#291)
cocowh Oct 17, 2022
6181d23
Fix Heartbeat (#290)
snail007 Oct 17, 2022
3bfb07b
heartbeat
snail007 Oct 18, 2022
1795a28
heartbeat
snail007 Oct 18, 2022
69417fa
fix heartbeat
snail007 Oct 18, 2022
b65d7b4
export log dir (#292)
cocowh Oct 22, 2022
f27183d
add environment setting for mport (#293)
641862816 Nov 11, 2022
661fbc5
update dynamicConfig, support multi registry (#294)
Hoofffman Dec 9, 2022
22d4d63
Dev (#295)
Hoofffman Dec 14, 2022
5da5302
add motan provider to fit motan1 pressure
Dec 19, 2022
578fb8e
add motan server to fit motan1 pressure
Dec 19, 2022
cf2247b
Merge pull request #297 from Hoofffman/dev
rayzhang0603 Dec 19, 2022
036de11
log filter init info
Dec 22, 2022
2a5f790
Merge pull request #298 from weibocom/add_filter_log
rayzhang0603 Dec 22, 2022
bac2b32
change fast http client max connection from 512 to 1024
Dec 27, 2022
3614c0a
Merge pull request #299 from Hoofffman/dev
rayzhang0603 Dec 27, 2022
8ad3612
reload cluster compat dynamic refers (#300)
snail007 Dec 30, 2022
cf14bbb
update gopkg.in/yaml.v2 v2.2.4
snail007 Jan 3, 2023
231e904
update testing go version 1.18.x 1.19.x
snail007 Jan 3, 2023
4973fc8
update actions/setup-go@v2
snail007 Jan 3, 2023
a6a67ff
ep unix (#302)
snail007 Jan 10, 2023
88394ea
modify serverkey
snail007 Jan 10, 2023
bac6f03
re-encode attachment in motan1 protocol (#303)
rayzhang0603 Jan 16, 2023
62ef27a
fix processV1
snail007 Jan 17, 2023
7858bc1
not found provider count (#304)
cocowh Jan 18, 2023
4e71957
add access log discard ability (#306)
Hoofffman Feb 1, 2023
27ed50d
fill motan v1 default request info (#307)
rayzhang0603 Feb 28, 2023
206fcb3
configure direct services through environment variables (#308)
rayzhang0603 Mar 9, 2023
1642770
concurrent init cluster and async init ep change (#309)
Hoofffman Mar 9, 2023
514ce40
support http_provider upstream_code
Apr 27, 2023
6408fcb
Merge pull request #311 from cocowh/dev
rayzhang0603 Apr 27, 2023
f8b84ba
set remote address in response in proxy mode (#310)
rayzhang0603 May 12, 2023
bb7b7c8
fix pb panic (#313)
snail007 Jun 1, 2023
2e1a4c3
fix endpoint can not recordErrAndKeepalive correctly
snail007 Jun 6, 2023
63f08db
Merge remote-tracking branch 'origin/dev' into dev
snail007 Jun 6, 2023
e37e10f
update ci
snail007 Jun 6, 2023
f409348
update ci
snail007 Jun 6, 2023
6b17456
update: (#314)
Hoofffman Jul 6, 2023
6bd0adc
Dev (#315)
Hoofffman Sep 13, 2023
baa661a
access log add column upstream code
snail007 Oct 16, 2023
f4d38e3
access log add column upstream code
snail007 Oct 16, 2023
9f8bdae
add consistentHashKey load balance (#317)
rayzhang0603 Nov 10, 2023
890edb9
Update (#316)
Hoofffman Nov 10, 2023
3cf5d10
Profile base to dev (#350)
snail007 Dec 6, 2023
64558b2
Revert "Profile base to dev (#350)" (#351)
snail007 Dec 6, 2023
ecfa6a0
Profile base to dev (#352)
snail007 Dec 26, 2023
ac18034
feat motanv1 metrics attachments (#372)
Hoofffman Jan 3, 2024
0057ffc
add admin handler environment feature and add relevant filters featur…
Hoofffman Jan 4, 2024
35e2bd1
Revert "add admin handler environment feature and add relevant filter…
snail007 Jan 4, 2024
c671e0d
Fix report (#378)
snail007 Jan 11, 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
38 changes: 24 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,48 +10,58 @@ on:
- dev

name: build

env:
GOPATH: /home/runner/go
GO111MODULE: on

jobs:
testing:
strategy:
matrix:
go-version: [1.12.x,1.13.x,1.14.x,1.15.x,1.16.x,1.17.x]
go-version: [1.12.x,1.13.x,1.14.x,1.15.x,1.16.x,1.17.x,1.18.x,1.19.x,1.20.x,1.21.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Go
if: success()
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Install Go Dependencies
run: |
go get -d -v -t $(go list ./... | grep -v main)

- name: Run tests
run: go test -v -race $(go list ./... | grep -v main)
run: |
echo "GOPATH >>> $GOPATH"
echo "pwd >>> $PWD"
mkdir -p $GOPATH/src/github.com/weibocom/
cp -R ../motan-go $GOPATH/src/github.com/weibocom/
cd $GOPATH/src/github.com/weibocom/motan-go
go mod tidy
go test -v -race $(go list ./... | grep -v main)
codecov:
name: codecov
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v1
uses: actions/setup-go@v3
with:
go-version: 1.15.x
id: go

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

- name: Get dependencies
run: |
go get -d -v -t $(go list ./... | grep -v main)
uses: actions/checkout@v3

- name: Generate coverage report
run: |
echo "GOPATH >>> $GOPATH"
echo "pwd >>> $PWD"
mkdir -p $GOPATH/src/github.com/weibocom/
cp -R ../motan-go $GOPATH/src/github.com/weibocom/
cd $GOPATH/src/github.com/weibocom/motan-go
go mod tidy
go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v main)

- name: Upload coverage report
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ tmtags
pretty/zj
zj*

# Windows
*.exe

.idea/*
# gdb
*.gdb_history
Expand All @@ -37,3 +40,4 @@ main/magent*
log/log.test*
go.sum
agent_runtime
test/
Loading