

|
Valid XHTML v1.0
Author Profile
Top Authors
Log In to set widget preferences
| Author | # |
|---|---|
|
185 |
|
148 |
Anonymous User
|
49 |
|
28 |
Kimberly Hieber
|
27 |
|
23 |
Note: some conversations may be proxied or secured, thereby causing # differences
Subscribe
Partners
Recent
Tags
Log In to set widget preferences
Recent
Log In to set widget preferences
Most Active
Log In to set widget preferences
Popular
Log In to set widget preferences
|
|
Proposed change for provision service interface
belongs to Java Toolkit Info ![]() by Jonathan Bell on 2008-10-22 09:53 PM read 111 times |
Currently the provision service endpoint bsgra_guids returns results in the format:
<?xml version="1.0" encoding="UTF-8"?>
<bsgra_guid>6b0c73c0-bsga-kali-kali-001b7744e04a</bsgra_guid>
This is useful for now because the resource only supports querying by name and instance. However, I have been tasked with providing a gadget to show all provisions. This requires more general queries against the bsgra guid resource. Therefore, I am proposing changing the output to:
<?xml version="1.0" encoding="UTF-8"?>
<bsgra_guids>
<bsgra_guid_entry>
<bsgra_guid>6b0c73c0-bsga-kali-kali-001b7744e04a</bsgra_guid>
<name>kalivo</name>
<instance>kalivo</name>
</bsgra_guid_entry>
</bsgra_guids>
The new format provides more information necessary to associate each BSGRA GUID to its respective name.instance. All the clients I have investigated have accessed the bsgra guid by using the XPath "//bsgra_guid". Therfore, because this routine will still get the correct bsgra_guid, the new format should be backwards compatible with the old one.
Alternatively, we can preserve the format for the service if both the name and instance are provided. This well guarantee that all previous clients will not break due to the changes. However, the new format will allow for better feature expansion in the future if we ever need to add more properties to a bsgra_guid.
Please let me know if this new format will cause problems with existing service provision clients.
1 Reply
|
Log In to Reply |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/1788-proposed-change-for-provision-service-interface
|
|
re: Proposed change for provision service interface
by Brittain on 2008-10-23 04:45 PM read 23 times |
The change certainly makes sense. How do you intend to enforce the security? To my mind, at a minimum, you must already have a BSGRA_GUID to do a guid search and perhaps the criteria should be more stringent.
No current tags
Log In to Reply | Log In to Copy | Tell a Friend |
Trackback URL: http://www.kalivo.com/trackback/1791-re-proposed-change-for-provision-service-interface
