Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Add wiki 0.3 roadmap link
Browse files Browse the repository at this point in the history
  • Loading branch information
sinthuja committed Jun 26, 2019
1 parent 7b87aa0 commit f13e6cb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,4 @@ You can terminate the cells that are started during this guide.
## Community
- [Cellery mailing list](https://groups.google.com/forum/#!forum/wso2-cellery-dev)
- [How to contribute?](CONTRIBUTING.md)
- [Cellery 0.3 Roadmap](https://github.com/wso2-cellery/sdk/wiki/Roadmap-for-Cellery-0.3.0)
25 changes: 22 additions & 3 deletions test-cases/employee-portal/cellery/employee/employee.bal
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import celleryio/cellery;

public function build(cellery:ImageName iName) returns error? {
int salaryContainerPort = 8080;

// Salary Component
// Salary Component
cellery:Component salaryComponent = {
name: "salary",
source: {
Expand All @@ -30,7 +29,17 @@ public function build(cellery:ImageName iName) returns error? {
labels: {
team: "Finance",
owner: "Alice"
}
},
autoscaling: {
policy: {
minReplicas: 1,
maxReplicas: 3,
cpuPercentage: {
percentage: 10
}
},
overridable: false
}
};

// Employee Component
Expand All @@ -54,6 +63,16 @@ public function build(cellery:ImageName iName) returns error? {
},
labels: {
team: "HR"
},
autoscaling: {
policy: {
minReplicas: 1,
maxReplicas: 3,
cpuPercentage: {
percentage: 10
}
},
overridable: false
}
};

Expand Down

0 comments on commit f13e6cb

Please sign in to comment.