Commit 3aa338f2 authored by Gary Wong's avatar Gary Wong
Browse files

Add the CM URNs to the CH ListComponents result.

parent 93e9b569
......@@ -806,6 +806,7 @@ sub ListComponents($)
push(@results, { "gid" => $manager->cert(),
"hrn" => $manager->hrn(),
"urn" => $manager->urn(),
"url" => $manager->url() });
}
return GeniResponse->Create(GENIRESPONSE_SUCCESS, \@results);
......
......@@ -47,7 +47,7 @@ if debug: print str(response["value"])
# Ask each manager for its list.
#
for manager in response["value"]:
print manager["hrn"] + ": " + manager["url"]
print manager["hrn"] + "[" + manager[ "urn" ] + "]: " + manager["url"]
# Skip the discover resources. Too much.
continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment