Skip to content

Commit ce0d3d3

Browse files
Remove comments from code.pure to match test expectations
1 parent 3082dd2 commit ce0d3d3

File tree

1 file changed

+15
-15
lines changed
  • showcases/data/Lambda/Activator - Hosted service

1 file changed

+15
-15
lines changed

showcases/data/Lambda/Activator - Hosted service/code.pure

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ function model::processData(data: String[1]): String[1]
1212
###HostedService
1313
HostedService 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

2222
HostedService <<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

3131
HostedService 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

Comments
 (0)