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

Upgrade version to 1.0.1 #137

Merged
merged 5 commits into from
Sep 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion boot.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
_ "github.com/alibaba/ioc-golang/extension/imports/boot"
)

const Version = "1.0.0"
const Version = "1.0.1"

func Load(opts ...config.Option) error {
printLogo()
Expand Down
7 changes: 7 additions & 0 deletions example/aop/dynamic_plugin/complex/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
package main

import (
"log"
"os/exec"
"runtime"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -60,6 +62,11 @@ func (a *App) Init(t *testing.T) {
}

func TestApp(t *testing.T) {
if runtime.GOARCH != "amd64" {
log.Println("Warning: Goplugin update only stable on amd64 platform. Skip integration test")
return
}

assert.Nil(t, docker_compose.DockerComposeUp("./docker-compose/docker-compose.yaml", 0))
assert.Nil(t, ioc.Load())
app, err := GetAppSingleton()
Expand Down
6 changes: 3 additions & 3 deletions extension/aop/call/api/ioc_golang/aop/call/call.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ service CallService {
}

message CallRequest{
string autowireType = 1;
string sdid = 2;
string methodName = 3;
string sdid = 1;
string methodName = 2;
string autowireType = 3;
bytes params = 4;
}

Expand Down
6 changes: 3 additions & 3 deletions extension/config/zz_generated.ioc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions extension/pubsub/rocketmq/zz_generated.ioc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion iocli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ build-all-platform:
mkdir -p ./.release/darwin-amd64 && GOOS=darwin GOARCH=amd64 go build -o ./.release/darwin-amd64 && cd .release && tar -czvf ./iocli-darwin-amd64.tar.gz ./darwin-amd64
mkdir -p ./.release/darwin-arm64 && GOOS=darwin GOARCH=arm64 go build -o ./.release/darwin-arm64 && cd .release && tar -czvf ./iocli-darwin-arm64.tar.gz ./darwin-arm64
mkdir -p ./.release/windows-amd64 && GOOS=windows GOARCH=amd64 go build -o ./.release/windows-amd64 && cd .release && tar -czvf ./iocli-windows-amd64.tar.gz ./windows-amd64
mkdir -p ./.release/windows-arm64 && GOOS=windows GOARCH=arm64 go build -o ./.release/windows-arm64 && cd .release && tar -czvf ./iocli-windows-arm64.tar.gz ./windows-arm64