Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #599 from 18F/ms-instance_binding
Browse files Browse the repository at this point in the history
Instance binding
  • Loading branch information
jcscottiii authored Sep 20, 2016
2 parents c49ff23 + a93e615 commit f37b630
Show file tree
Hide file tree
Showing 17 changed files with 752 additions and 65 deletions.
90 changes: 45 additions & 45 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"babel-preset-react": "^6.3.13",
"babel-runtime": "^6.3.19",
"classnames": "^2.1.5",
"cloudgov-style": "^1.2.1",
"cloudgov-style": "^1.2.2",
"codecov.io": "^0.1.5",
"css-loader": "^0.23.0",
"cssnext-loader": "^1.0.1",
Expand Down
43 changes: 43 additions & 0 deletions static_src/actions/service_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,20 @@ export default {
});
},

changeServiceInstanceCheck(serviceInstanceGuid) {
AppDispatcher.handleUIAction({
type: serviceActionTypes.SERVICE_INSTANCE_CHANGE_CHECK,
serviceInstanceGuid
});
},

changeServiceInstanceCancel(serviceInstanceGuid) {
AppDispatcher.handleUIAction({
type: serviceActionTypes.SERVICE_INSTANCE_CHANGE_CANCEL,
serviceInstanceGuid
});
},

fetchServiceBindings(appGuid) {
AppDispatcher.handleViewAction({
type: serviceActionTypes.SERVICE_BINDINGS_FETCH,
Expand All @@ -142,4 +156,33 @@ export default {
serviceBindings
});
},

bindService(appGuid, serviceInstanceGuid) {
AppDispatcher.handleViewAction({
type: serviceActionTypes.SERVICE_BIND,
appGuid,
serviceInstanceGuid
});
},

unbindService(serviceBinding) {
AppDispatcher.handleViewAction({
type: serviceActionTypes.SERVICE_UNBIND,
serviceBinding
});
},

boundService(serviceBinding) {
AppDispatcher.handleServerAction({
type: serviceActionTypes.SERVICE_BOUND,
serviceBinding
});
},

unboundService(serviceBinding) {
AppDispatcher.handleServerAction({
type: serviceActionTypes.SERVICE_UNBOUND,
serviceBinding
});
}
};
Loading

0 comments on commit f37b630

Please sign in to comment.