Author: Christopher Wong
This section describes the deployment procedure.
git clone https://github.com/pkcwong/line-literal.git
git push heroku [branch]:master
This section describes the procedure on creating new processing logic.
DefaultService
.payload
and chain
public class SampleService extends DefaultService {
public SampleService(Service service) {
super(service);
}
@Override
public void payload() throws Exception {
// payload
}
@Override
public Service chain() throws Exception {
// chaining
}
}
The payload
method implements the processing service of the module. The method should alter contents in data member this.fulfillment
. Additional resolved parameters may also be read and written through methods getParams
and setParams
.
The chain
method passes the current state to the next processing module. To pass to the next Service
module, return Service.resolve().get()
. To end the processing chain, return this
.
Heroku
lineliteral@gmail.com
lineliteral1001
MongoDB
lineliteral
lineliteral1001