Skip to content

Commit

Permalink
all messages should extend AuthMessage since all messages should be a…
Browse files Browse the repository at this point in the history
…ble to authenticate themselves
  • Loading branch information
jmazzitelli committed Aug 28, 2015
1 parent 779058f commit f46c87b
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"definitions": {
"authentication": {
"type": "object",
"description": "Provides user credentials or security token.",
"additionalProperties": false,
"properties": {
"username": { "type": "string" },
"password": { "type": "string" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.DeployApplicationRequest",
"description": "Deploys an application to a resource. The actual deployment file content must be appended to this JSON message.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.DeployApplicationResponse",
"description": "Results of an application deployment request.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.EchoResponse",
"description": "An echo response where the reply should be the message from the echo request.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.ExecuteOperationRequest",
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.ExecuteOperationResponse",
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.GenericErrorResponse",
"description": "An general error message.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.GenericSuccessResponse",
"description": "An general success message.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "object",
"extends": {
"type": "object",
"javaType": "org.hawkular.bus.common.BasicMessage"
"javaType": "org.hawkular.feedcomm.api.AuthMessage"
},
"javaType": "org.hawkular.feedcomm.api.NotificationMessage",
"description": "An general notification message.",
Expand Down

0 comments on commit f46c87b

Please sign in to comment.