Skip to content

Commit

Permalink
HAWKULAR-586. Add function for updating properties of server instance
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala committed Dec 4, 2015
1 parent b1b6a8d commit 5f84513
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hawkular-ui-services",
"description": "WIP:Angular Services for the Hawkular Console.",
"version": "0.8.15",
"version": "0.8.16",
"keywords": [
"hawkular-console",
"hawkular-ui"
Expand Down
4 changes: 4 additions & 0 deletions dist/hawkular-ui-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ var hawkularRest;
method: 'GET',
url: urlPrefix + '/parent'
};
dataActions['updateProperties'] = {
method: 'PUT',
url: urlPrefix
};
return dataActions;
};
factory.Tenant = $resource(url + '/tenant', {
Expand Down
4 changes: 4 additions & 0 deletions dist/hawkular-ui-service.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ var hawkularRest;
method: 'GET',
url: urlPrefix + '/parent'
};
dataActions['updateProperties'] = {
method: 'PUT',
url: urlPrefix
};
return dataActions;
};
factory.Tenant = $resource(url + '/tenant', {
Expand Down
6 changes: 5 additions & 1 deletion src/rest/hawkRest-inventory-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ module hawkularRest {
method: 'GET',
url: urlPrefix + '/parent'
};
dataActions['updateProperties'] = {
method: 'PUT',
url: urlPrefix
};
return dataActions;
};

Expand Down Expand Up @@ -244,7 +248,7 @@ module hawkularRest {
factory.ResourceRecursiveChildrenUnderFeed =
$resource(url + '/feeds/:feedId/resources/:resourcePath/recursiveChildren');

// Metrics
// Metrics
var metricUrl = url + '/:environmentId/metrics/:metricId';
factory.Metric = $resource(metricUrl, null, {
put: {
Expand Down

0 comments on commit 5f84513

Please sign in to comment.