You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2012/07/11 15:22:33 UTC
[jira] [Created] (DTACLOUD-269) FGCP/mock: support metrics
Dies Koper created DTACLOUD-269:
-----------------------------------
Summary: FGCP/mock: support metrics
Key: DTACLOUD-269
URL: https://issues.apache.org/jira/browse/DTACLOUD-269
Project: DeltaCloud
Issue Type: Improvement
Components: Server
Environment: FGCP and mock drivers
Reporter: Dies Koper
Priority: Minor
add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (DTACLOUD-269) FGCP/mock: support metrics
Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Fojtik resolved DTACLOUD-269.
------------------------------------
Resolution: Fixed
Assignee: Michal Fojtik
Pushed:
commit eaa726b4723fcb1e7ad5dffe7077f1f73eb236c7
Author: Dies Koper <di...@fast.au.fujitsu.com>
Date: Thu Jul 12 00:28:11 2012 +1000
FGCP: added metrics support
commit a46d190ac74f69dff7c6725df93485055490bf55
Author: Dies Koper <di...@fast.au.fujitsu.com>
Date: Thu Jul 12 00:27:29 2012 +1000
mock: added metrics support
> FGCP/mock: support metrics
> --------------------------
>
> Key: DTACLOUD-269
> URL: https://issues.apache.org/jira/browse/DTACLOUD-269
> Project: DeltaCloud
> Issue Type: Improvement
> Components: Server
> Environment: FGCP and mock drivers
> Reporter: Dies Koper
> Assignee: Michal Fojtik
> Priority: Minor
> Attachments: 0001-mock-added-metrics-support.patch, 0002-FGCP-added-metrics-support.patch
>
>
> add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (DTACLOUD-269) FGCP/mock: support metrics
Posted by "Dies Koper (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dies Koper updated DTACLOUD-269:
--------------------------------
Attachment: 0002-FGCP-added-metrics-support.patch
0001-mock-added-metrics-support.patch
added support to both
> FGCP/mock: support metrics
> --------------------------
>
> Key: DTACLOUD-269
> URL: https://issues.apache.org/jira/browse/DTACLOUD-269
> Project: DeltaCloud
> Issue Type: Improvement
> Components: Server
> Environment: FGCP and mock drivers
> Reporter: Dies Koper
> Priority: Minor
> Attachments: 0001-mock-added-metrics-support.patch, 0002-FGCP-added-metrics-support.patch
>
>
> add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DTACLOUD-269) FGCP/mock: support metrics
Posted by "Michal Fojtik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412648#comment-13412648 ]
Michal Fojtik commented on DTACLOUD-269:
----------------------------------------
ACK both.
One through for the 'mock' one:
You don't need to use @@ for the METRIC_NAMES constant. The '@@' sign is used for class-variables, but the METRIC_NAMES is a constant not a variable. This has no implications or does not cause any bug, just a coding style through.
Btw. the metrics for mock looks super awesome, thanks for contributing this. We should also write couple tests for this into 'server/tests/drivers/mock'.
> FGCP/mock: support metrics
> --------------------------
>
> Key: DTACLOUD-269
> URL: https://issues.apache.org/jira/browse/DTACLOUD-269
> Project: DeltaCloud
> Issue Type: Improvement
> Components: Server
> Environment: FGCP and mock drivers
> Reporter: Dies Koper
> Priority: Minor
> Attachments: 0001-mock-added-metrics-support.patch, 0002-FGCP-added-metrics-support.patch
>
>
> add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DTACLOUD-269) FGCP/mock: support metrics
Posted by "Ronelle Landy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ronelle Landy closed DTACLOUD-269.
----------------------------------
For fgcp:
FGCP_CERT_DIR="~/.deltacloud/drivers/fgcp"; curl -X GET --user "un:pw" "qeblade39.rhq.lab.eng.bos.redhat.com:3007/api/metrics?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<metrics>
</metrics>
Closing issues as fixed - output in the two comments above show metrics for mock and fgcp
> FGCP/mock: support metrics
> --------------------------
>
> Key: DTACLOUD-269
> URL: https://issues.apache.org/jira/browse/DTACLOUD-269
> Project: DeltaCloud
> Issue Type: Improvement
> Components: Server
> Environment: FGCP and mock drivers
> Reporter: Dies Koper
> Assignee: Michal Fojtik
> Priority: Minor
> Attachments: 0001-mock-added-metrics-support.patch, 0002-FGCP-added-metrics-support.patch
>
>
> add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DTACLOUD-269) FGCP/mock: support metrics
Posted by "Ronelle Landy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468951#comment-13468951 ]
Ronelle Landy commented on DTACLOUD-269:
----------------------------------------
For mock:
curl -X GET --user "un:pw" "localhost:3001/api?format=json"
{"api":{"driver":"mock","version":"1.0.3","link":[{"href":"http://localhost:3001/api/images","rel":"images"},{"href":"http://localhost:3001/api/instance_states","rel":"instance_states"},{"href":"http://localhost:3001/api/storage_snapshots","rel":"storage_snapshots"},{"href":"http://localhost:3001/api/instances","rel":"instances","feature":[{"name":"metrics"},{"name":"user_name"},{"name":"user_data"},{"name":"authentication_key"}]},{"href":"http://localhost:3001/api/addresses","rel":"addresses"},{"href":"http://localhost:3001/api/storage_volumes","rel":"storage_volumes"},{"href":"http://localhost:3001/api/realms","rel":"realms"},{"href":"http://localhost:3001/api/drivers","rel":"drivers"},{"href":"http://localhost:3001/api/metrics","rel":"metrics"},{"href":"http://localhost:3001/api/hardware_profiles","rel":"hardware_profiles"},{"href":"http://localhost:3001/api/keys","rel":"keys"},{"href":"http://localhost:3001/api/buckets","rel":"buckets"}]}}[root@hp-dl360g5-02 tests]#
> FGCP/mock: support metrics
> --------------------------
>
> Key: DTACLOUD-269
> URL: https://issues.apache.org/jira/browse/DTACLOUD-269
> Project: DeltaCloud
> Issue Type: Improvement
> Components: Server
> Environment: FGCP and mock drivers
> Reporter: Dies Koper
> Assignee: Michal Fojtik
> Priority: Minor
> Attachments: 0001-mock-added-metrics-support.patch, 0002-FGCP-added-metrics-support.patch
>
>
> add support for metrics
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira