@@ -12,27 +12,27 @@ function model::processData(data: String[1]): String[1]
1212###HostedService
1313HostedService model::BasicHostedService
1414{
15-    pattern: '/api/greet/{name}';
16-    ownership: UserList { users: ['user1', 'user2'] };
17-    function: model::greet(String[1]):String[1];
18-    documentation: 'A simple hosted service';
19-    autoActivateUpdates: true;
15+    pattern  : '/api/greet/{name}';
16+    ownership  : UserList { users: ['user1', 'user2'] };
17+    function  : model::greet(String[1]):String[1];
18+    documentation  : 'A simple hosted service';
19+    autoActivateUpdates  : true;
2020}
2121
2222HostedService <<meta::pure::profiles::doc.doc>> {doc.doc = 'Example with deployment ownership'} model::DeploymentHostedService
2323{
24-    pattern: '/api/process/{data}';
25-    ownership: Deployment { identifier: '12345' };
26-    function: model::processData(String[1]):String[1];
27-    documentation: 'A hosted service with deployment ownership';
28-    autoActivateUpdates: false;
24+    pattern  : '/api/process/{data}';
25+    ownership  : Deployment { identifier: '12345' };
26+    function  : model::processData(String[1]):String[1];
27+    documentation  : 'A hosted service with deployment ownership';
28+    autoActivateUpdates  : false;
2929}
3030
3131HostedService model::AdvancedHostedService
3232{
33-    pattern: '/api/advanced/{param}';
34-    ownership: UserList { users: ['admin'] };
35-    function: model::processData(String[1]):String[1];
36-    documentation: 'Advanced hosted service';
37-    autoActivateUpdates: true;
33+    pattern  : '/api/advanced/{param}';
34+    ownership  : UserList { users: ['admin'] };
35+    function  : model::processData(String[1]):String[1];
36+    documentation  : 'Advanced hosted service';
37+    autoActivateUpdates  : true;
3838}
0 commit comments