Fwd: Proto type type.googleapis.com/tap.SchedulerConfiguration not found error message in cdpush_consumer_tester sandlet

279 views
Skip to first unread message

m...@google.com

unread,
Nov 5, 2019, 7:11:48 PM11/5/19
to prot...@googlegroups.com
I am cross posting this message, as it is more like proto question than a CdPush question and I am stuck.

Most developers around me not familiar with this problem.

On Tuesday, November 5, 2019 at 10:34:07 AM UTC-8, m...@google.com wrote:
Hi, CDPush pros,
I am trying to use the cdpush_consumer_tester sandlet.

cr/278459681,

The proto message I am trying to put in the consumer data is:

# proto-file: production/cdpush/proto/consumer_tester.proto
# proto-message: production.cdpush.proto.SetConsumerDataRequest
push_def_name: "test-automation/tap-test-jobs/scheduler"
variable {
  name: "scheduler_config_sandman"
  value {
    data {
      [type.googleapis.com/tap.SchedulerConfiguration] {
        default_configuration: {
          set_point: 88
        }
      }
    }
  }
}


It simply sets an int32 value.

But the sandlet when it starts, it can't understand my configuration with error message:






I1105 09:37:29.024612 29060 main consumer_tester_main.cc:72 Setting consumer data:
push_def_name: "test-automation/tap-test-jobs/scheduler"
variable {
name: "scheduler_config_sandman"
value {
data {
type_url: "type.googleapis.com/tap.SchedulerConfiguration"
value: "\"\002\010X"
}
}
}
W1105 09:37:29.025196 29060 main text_format.cc:2044 Proto type type.googleapis.com/tap.SchedulerConfiguration not found



How I can make the cdpush sandlet understand this proto and can provide startup configuration?

Thank you
Mingyu
Reply all
Reply to author
Forward
0 new messages