This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62529c1
commit 8deb60e
Showing
3 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
modules/feed-comm/feed-comm-api/src/main/resources/schema/ExecuteOperation.schema.json
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,25 @@ | ||
{ | ||
"type": "object", | ||
"extends": { | ||
"type": "object", | ||
"javaType": "org.hawkular.bus.common.BasicMessage" | ||
}, | ||
"javaType": "org.hawkular.feedcomm.api.ExecuteOperation", | ||
"additionalProperties": false, | ||
"description": "A request to execute an operation.", | ||
"properties": { | ||
"resourceId": { | ||
"type": "string" | ||
}, | ||
"operationName": { | ||
"type": "string" | ||
}, | ||
"parameters": { | ||
"description": "A simple map of named parameters.", | ||
"type": "object", | ||
"javaType": "java.util.Map<String, String>" | ||
} | ||
}, | ||
"required": ["operationName", "resourceId"] | ||
} | ||
|
16 changes: 16 additions & 0 deletions
16
modules/feed-comm/feed-comm-api/src/main/resources/schema/GenericSuccessResponse.schema.json
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,16 @@ | ||
{ | ||
"type": "object", | ||
"extends": { | ||
"type": "object", | ||
"javaType": "org.hawkular.bus.common.BasicMessage" | ||
}, | ||
"javaType": "org.hawkular.feedcomm.api.GenericSuccessResponse", | ||
"description": "An general success message.", | ||
"additionalProperties": false, | ||
"properties": { | ||
"message": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["message"] | ||
} |
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