@@ -20,7 +20,7 @@ can be:
20
20
`django-twined <https://django-twined.readthedocs.io/en/latest/ >`_ or custom logic in your own webserver.
21
21
22
22
Questions are always asked to a *revision * of a service. You can ask a service a question if you have its
23
- :ref: `SRUID <sruid_definition >`, project name , and the necessary permissions.
23
+ :ref: `SRUID <sruid_definition >`, project ID , and the necessary permissions.
24
24
25
25
26
26
Asking a question
@@ -32,7 +32,7 @@ Asking a question
32
32
33
33
child = Child(
34
34
id = " my-organisation/my-service:2.1.7" ,
35
- backend = {" name" : " GCPPubSubBackend" , " project_name " : " my-project" },
35
+ backend = {" name" : " GCPPubSubBackend" , " project_id " : " my-project" },
36
36
)
37
37
38
38
answer, question_uuid = child.ask(
@@ -241,15 +241,15 @@ if these values are in your service configuration file:
241
241
"id" : " template-child-services/wind-speed-service:2.1.1" ,
242
242
"backend" : {
243
243
"name" : " GCPPubSubBackend" ,
244
- "project_name " : " my-project"
244
+ "project_id " : " my-project"
245
245
}
246
246
},
247
247
{
248
248
"key" : " elevation" ,
249
249
"id" : " template-child-services/elevation-service:3.1.9" ,
250
250
"backend" : {
251
251
"name" : " GCPPubSubBackend" ,
252
- "project_name " : " my-project"
252
+ "project_id " : " my-project"
253
253
}
254
254
}
255
255
]
@@ -302,15 +302,15 @@ For example, if the child requires these children in its service configuration:
302
302
"id" : " template-child-services/wind-speed-service:2.1.1" ,
303
303
"backend" : {
304
304
"name" : " GCPPubSubBackend" ,
305
- "project_name " : " octue-sdk-python"
305
+ "project_id " : " octue-sdk-python"
306
306
},
307
307
},
308
308
{
309
309
"key" : " elevation" ,
310
310
"id" : " template-child-services/elevation-service:3.1.9" ,
311
311
"backend" : {
312
312
"name" : " GCPPubSubBackend" ,
313
- "project_name " : " octue-sdk-python"
313
+ "project_id " : " octue-sdk-python"
314
314
},
315
315
}
316
316
]
@@ -327,15 +327,15 @@ then you can override them like this:
327
327
" id" : " my/own-service:1.0.0" ,
328
328
" backend" : {
329
329
" name" : " GCPPubSubBackend" ,
330
- " project_name " : " octue-sdk-python"
330
+ " project_id " : " octue-sdk-python"
331
331
},
332
332
},
333
333
{
334
334
" key" : " elevation" ,
335
335
" id" : " organisation/another-service:0.1.0" ,
336
336
" backend" : {
337
337
" name" : " GCPPubSubBackend" ,
338
- " project_name " : " octue-sdk-python"
338
+ " project_id " : " octue-sdk-python"
339
339
},
340
340
},
341
341
],
@@ -380,7 +380,7 @@ You can specify service registries in two ways:
380
380
381
381
child = Child(
382
382
id = " my-organisation/my-service:1.1.0" ,
383
- backend = {" name" : " GCPPubSubBackend" , " project_name " : " my-project" },
383
+ backend = {" name" : " GCPPubSubBackend" , " project_id " : " my-project" },
384
384
service_registries = [
385
385
{" name" : " my-registry" , " endpoint" : " blah.com/services" },
386
386
]
0 commit comments