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, [email protected] wrote: > > Hi, CDPush pros, > I am trying to use the cdpush_consumer_tester sandlet. > Following the instructions for sandman integration > https://g3doc.corp.google.com/production/cdpush/g3doc/users/testing.md#sandman-integration > > cr/278459681, > > The proto message I am trying to put in the consumer data is: > http://google3/testing/tap/proto/scheduler_config.proto?l=23&rcl=242902389 > > # proto-file: production/cdpush/proto/consumer_tester.proto > <https://cs.corp.google.com/piper///depot/google3/production/cdpush/proto/consumer_tester.proto># > proto-message: production.cdpush.proto.SetConsumerDataRequestpush_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 > <http://strip/?q=http%3A%2F%2Ftype.googleapis.com%2Ftap.SchedulerConfiguration> > " > value: "\"\002\010X" > } > } > } > W1105 09:37:29.025196 29060 main text_format.cc:2044 Proto type > type.googleapis.com/tap.SchedulerConfiguration > <http://strip/?q=http%3A%2F%2Ftype.googleapis.com%2Ftap.SchedulerConfiguration> > > not found > > > > How I can make the cdpush sandlet understand this proto and can provide > startup configuration? > > Thank you > Mingyu > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/fb90c240-ed69-431d-8fc9-7229733424bc%40google.com.
