Title:
[ANeff] ER for: RestDeleteApplication("restapp", {useHost=true}) and RestDeleteApplication({useHost=true})
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/03/2015
Components: REST Services
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 1
Applications are currently able to use restInitApplication(.. {host="www.anothersite.com"}) to steal each other's REST traffic, so restDeleteApplication() should accept {useHost=true}.
Repro:
1) www.site1.com and www.site2.com are on the same server
2) www.site1.com used restInitApplication("c:\site1", "restapp", {host="www.site2.com"}) to steal www.site2.com's "restapp" traffic
3) www.site2.com gets an error when trying to use restInitApplication("c:\site2", "restapp", {useHost=true}) to register its "restapp"
4) www.site2.com tries to use restDeleteApplication() to undo #2, but there is not any option for doing this
5) www.site2.com should be able to use restDeleteApplication("restapp", {useHost=true}) to undo #2 so that #3 will succeed
Suggestions:
The following would unregister "restapp" for the current host:
restDeleteApplication("restapp", {useHost=true})
he following would unregister all REST apps for the current host:
restDeleteApplication({useHost=true})
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3915823
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: