-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from vinscom/develop
dev-to-master
- Loading branch information
Showing
22 changed files
with
477 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#/in/erail/service/BaseService | ||
|
||
vertx=/io/vertx/core/Vertx | ||
enable=true | ||
log=true | ||
preProcessProcessors=/in/erail/service/processor/LoadSubjectProcessor1 | ||
postProcessProcessors=/in/erail/service/processor/AddHeaderProcessor1 |
4 changes: 1 addition & 3 deletions
4
config-layers/test/in/erail/service/BinaryBodyService.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
#/in/erail/service/BinaryBodyService | ||
$class=in.erail.service.BinaryBodyService | ||
$basedOn=/in/erail/service/BaseService | ||
|
||
operationId=API_V1_BROADCAST_V2_SERVICE | ||
serviceUniqueId=API_V1_BROADCAST_V2_SERVICE | ||
vertx=/io/vertx/core/Vertx | ||
enable=true | ||
log=true |
4 changes: 1 addition & 3 deletions
4
config-layers/test/in/erail/service/BroadcastService.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
#/in/erail/service/BroadcastService | ||
$class=in.erail.service.BroadcastService | ||
$basedOn=/in/erail/service/BaseService | ||
|
||
operationId=API_V1_BROADCAST_SERVICE | ||
serviceUniqueId=API_V1_BROADCAST_SERVICE | ||
vertx=/io/vertx/core/Vertx | ||
enable=true | ||
log=true |
8 changes: 8 additions & 0 deletions
8
config-layers/test/in/erail/service/ProcessorCheckService.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#/in/erail/service/ProcessorCheckService | ||
$class=in.erail.service.ProcessorCheckService | ||
$basedOn=/in/erail/service/BaseService | ||
|
||
operationId=API_V1_PROCESSOR_CHECK | ||
serviceUniqueId=API_V1_PROCESSOR_CHECK | ||
preProcessProcessors+=/in/erail/service/processor/LoadSubjectProcessor2 | ||
postProcessProcessors+=/in/erail/service/processor/AddHeaderProcessor2 |
3 changes: 3 additions & 0 deletions
3
config-layers/test/in/erail/service/processor/AddHeaderProcessor1.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#/in/erail/service/processor/AddHeaderProcessor1 | ||
$class=in.erail.service.processor.AddHeaderProcessor | ||
message=Header1 |
3 changes: 3 additions & 0 deletions
3
config-layers/test/in/erail/service/processor/AddHeaderProcessor2.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#/in/erail/service/processor/AddHeaderProcessor2 | ||
$class=in.erail.service.processor.AddHeaderProcessor | ||
message=Header2 |
3 changes: 3 additions & 0 deletions
3
config-layers/test/in/erail/service/processor/LoadSubjectProcessor1.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#/in/erail/service/processor/LoadSubjectProcessor1 | ||
$class=in.erail.service.processor.LoadSubjectProcessor | ||
message=Subject1 |
3 changes: 3 additions & 0 deletions
3
config-layers/test/in/erail/service/processor/LoadSubjectProcessor2.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#/in/erail/service/processor/LoadSubjectProcessor2 | ||
$class=in.erail.service.processor.LoadSubjectProcessor | ||
message=Subject2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package in.erail.model; | ||
|
||
/** | ||
* | ||
* @author vinay | ||
*/ | ||
public class Event { | ||
|
||
private RequestEvent request; | ||
private ResponseEvent response; | ||
|
||
public Event() { | ||
this(new RequestEvent(), new ResponseEvent()); | ||
} | ||
|
||
public Event(RequestEvent pRequest, ResponseEvent pResponse) { | ||
this.request = pRequest; | ||
this.response = pResponse; | ||
} | ||
|
||
public RequestEvent getRequest() { | ||
return request; | ||
} | ||
|
||
public Event setRequest(RequestEvent pRequest) { | ||
this.request = pRequest; | ||
return this; | ||
} | ||
|
||
public ResponseEvent getResponse() { | ||
return response; | ||
} | ||
|
||
public Event setResponse(ResponseEvent pResponse) { | ||
this.response = pResponse; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.