Bug 1355750
| Summary: | It should be possible to define/modify the relevant hawkular endpoint | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Yaacov Zamir <yzamir> | |
| Component: | API | Assignee: | Yaacov Zamir <yzamir> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jaroslav Henner <jhenner> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.7.0 | CC: | cpelland, dron, jhardy, jprause, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | container | |||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1355785 (view as bug list) | Environment: | ||
| Last Closed: | 2017-01-11 20:20:23 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1355785 | |||
|
Description
Yaacov Zamir
2016-07-12 12:28:36 UTC
We would like to have this z stream Works. Tested with these:
cfme-5.6.2.1-1.el7cf.x86_64
cfme-5.7.0.0-1.el7cf.x86_64
$ cat /tmp/json
{
"action": "edit",
"name": "test3",
"connection_configurations": [
{ "endpoint": {
"role": "default",
"hostname": "barar",
"port": "54321"}},
{ "endpoint": {
"role": "hawkular",
"hostname": "barfoo",
"port": "54322"}}
]
}
$ curl -X POST -u admin:smartvm -k https://10.A.B.C/api/providers/1 --data @/tmp/json | json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 541 0 299 100 242 336 272 --:--:-- --:--:-- --:--:-- 336
{
"zone_id" : 1,
"href" : "https://10.A.B.C/api/providers/1",
"id" : 1,
"guid" : "3b35e106-954d-11e6-b9df-fa163ef66118",
"api_version" : "v1",
"tenant_id" : 1,
"name" : "test3",
"created_on" : "2016-10-18T16:09:22Z",
"type" : "ManageIQ::Providers::OpenshiftEnterprise::ContainerManager",
"updated_on" : "2016-10-18T16:09:22Z"
}
$curl -u admin:smartvm -k 'https://10.A.B.C/api/providers/1?attributes=authentications,endpoints' | json_pp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1779 0 1779 0 0 2383 0 --:--:-- --:--:-- --:--:-- 2381
{
"name" : "test3",
"href" : "https://10.A.B.C/api/providers/1",
"created_on" : "2016-10-18T16:09:22Z",
"tenant_id" : 1,
"endpoints" : [
{
"resource_id" : 1,
"updated_at" : "2016-10-18T16:10:11Z",
"hostname" : "barar",
"created_at" : "2016-10-18T16:09:22Z",
"port" : 54321,
"verify_ssl" : 1,
"id" : 1,
"role" : "default",
"resource_type" : "ExtManagementSystem"
},
{
"verify_ssl" : 1,
"port" : 54322,
"resource_type" : "ExtManagementSystem",
"role" : "hawkular",
"id" : 2,
"resource_id" : 1,
"updated_at" : "2016-10-18T16:10:11Z",
"created_at" : "2016-10-18T16:09:22Z",
"hostname" : "barfoo"
}
],
"id" : 1,
"guid" : "3b35e106-954d-11e6-b9df-fa163ef66118",
...
"type" : "ManageIQ::Providers::OpenshiftEnterprise::ContainerManager",
"updated_on" : "2016-10-18T16:09:22Z",
"api_version" : "v1",
"zone_id" : 1,
"authentications" : []
}
|