Commit eb1b249e authored by vicotor's avatar vicotor

update package

parent d00123cd
...@@ -11,7 +11,7 @@ WORKDIR /build ...@@ -11,7 +11,7 @@ WORKDIR /build
RUN git clone https://code.wuban.net.cn/odysseus/scheduler && \ RUN git clone https://code.wuban.net.cn/odysseus/scheduler && \
git clone https://code.wuban.net.cn/odysseus/odysseus-protocol && \ git clone https://code.wuban.net.cn/odysseus/odysseus-protocol && \
git clone https://code.wuban.net.cn/odysseus/payment git clone https://code.wuban.net.cn/odysseus/cache
RUN cd /build/scheduler && make && cp build/bin/scheduler /scheduler RUN cd /build/scheduler && make && cp build/bin/scheduler /scheduler
......
...@@ -76,9 +76,9 @@ func produceTask() { ...@@ -76,9 +76,9 @@ func produceTask() {
func makeTask() *odysseus.TaskContent { func makeTask() *odysseus.TaskContent {
task := &odysseus.TaskContent{ task := &odysseus.TaskContent{
TaskUuid: "1111111", TaskId: "1111111",
TaskId: 1, TaskType: 1,
TaskType: odysseus.TaskType_ComputeTask, TaskKind: odysseus.TaskKind_ComputeTask,
TaskCmd: "", TaskCmd: "",
TaskParam: []byte("give me five"), TaskParam: []byte("give me five"),
TaskTimestamp: uint64(time.Now().Unix()), TaskTimestamp: uint64(time.Now().Unix()),
......
...@@ -11,7 +11,7 @@ require ( ...@@ -11,7 +11,7 @@ require (
github.com/google/uuid v1.5.0 github.com/google/uuid v1.5.0
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
github.com/odysseus/odysseus-protocol v0.0.0-00010101000000-000000000000 github.com/odysseus/odysseus-protocol v0.0.0-00010101000000-000000000000
github.com/odysseus/payment v0.0.0-00010101000000-000000000000 github.com/odysseus/cache v0.0.0-00010101000000-000000000000
github.com/prometheus/client_golang v1.18.0 github.com/prometheus/client_golang v1.18.0
github.com/redis/go-redis/v9 v9.4.0 github.com/redis/go-redis/v9 v9.4.0
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
...@@ -84,4 +84,4 @@ require ( ...@@ -84,4 +84,4 @@ require (
replace github.com/odysseus/odysseus-protocol => ../odysseus-protocol replace github.com/odysseus/odysseus-protocol => ../odysseus-protocol
replace github.com/odysseus/payment => ../payment replace github.com/odysseus/cache => ../cache
...@@ -5,9 +5,9 @@ import ( ...@@ -5,9 +5,9 @@ import (
"errors" "errors"
"github.com/IBM/sarama" "github.com/IBM/sarama"
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/odysseus/cache/cachedata"
"github.com/odysseus/cache/model"
odysseus "github.com/odysseus/odysseus-protocol/gen/proto/go/base/v1" odysseus "github.com/odysseus/odysseus-protocol/gen/proto/go/base/v1"
"github.com/odysseus/payment/cachedata"
"github.com/odysseus/payment/model"
"github.com/odysseus/scheduler/config" "github.com/odysseus/scheduler/config"
"github.com/odysseus/scheduler/utils" "github.com/odysseus/scheduler/utils"
"github.com/redis/go-redis/v9" "github.com/redis/go-redis/v9"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment