Commit eb1b249e authored by vicotor's avatar vicotor

update package

parent d00123cd
......@@ -11,7 +11,7 @@ WORKDIR /build
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/payment
git clone https://code.wuban.net.cn/odysseus/cache
RUN cd /build/scheduler && make && cp build/bin/scheduler /scheduler
......
......@@ -76,9 +76,9 @@ func produceTask() {
func makeTask() *odysseus.TaskContent {
task := &odysseus.TaskContent{
TaskUuid: "1111111",
TaskId: 1,
TaskType: odysseus.TaskType_ComputeTask,
TaskId: "1111111",
TaskType: 1,
TaskKind: odysseus.TaskKind_ComputeTask,
TaskCmd: "",
TaskParam: []byte("give me five"),
TaskTimestamp: uint64(time.Now().Unix()),
......
......@@ -11,7 +11,7 @@ require (
github.com/google/uuid v1.5.0
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
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/redis/go-redis/v9 v9.4.0
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
......@@ -84,4 +84,4 @@ require (
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 (
"errors"
"github.com/IBM/sarama"
"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"
"github.com/odysseus/payment/cachedata"
"github.com/odysseus/payment/model"
"github.com/odysseus/scheduler/config"
"github.com/odysseus/scheduler/utils"
"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