Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Need for “Discovery” • Different product servers (RQM, RTC, RRC, …) working together • Each must share certain info known uniquely to it • E.g., available presentations for its resource types • Each must discover info known to others • E.g., available presentations for other resource types • Similar needs arising on several fronts for CALM 1.0 • Presentations, link type definitions, dashboard viewlets, content types, & more • Need to provide some JF mechanisms to address needs • Propose a central registry • Pick one of the product servers in environment to host • Each product server obtains info from same place • 1-stop shopping • Avoids product servers having to connect pairwise
Presentation registry resource <?xml version="1.0"?> <selectionRules xmlns="http://jazz.net/jfs/presentation/1.0" > <selectionRule> <presentationType>web</presentationType> <providerLabel>RQM Web Client</providerLabel> <mediaTypePattern> application/oslctest+xml </mediaTypePattern> <urlTransform> ... </urlTransform> </selectionRule> <selectionRule> <presentationType>web</presentationType> <providerLabel>RTC Web Client</providerLabel> <mediaTypePattern> application/oslcworkitem+xml </mediaTypePattern> <urlTransform> ... </urlTransform> </selectionRule> <selectionRule> <presentationType>desktop</presentationType> <providerLabel>RTC Eclipse Client</providerLabel> <mediaTypePattern> application/oslcworkitem+xml </mediaTypePattern> <urlTransform> ... </urlTransform> </selectionRule> <!-- others --> </selectionRules>
Discovery resource <?xml version="1.0"?> <entries xmlns="http://jazz.net/jfs/discovery/1.0" > <entry key="http://jazz.net/names/registries/presentation"> http://example.com/jazz/jfs/presreg </entry> <entry key="http://jazz.net/names/registries/content-types"> http://example.com/jazz/jfs/ctreg </entry> <!-- others --> </entries> • Discovery resource is root registry • Contains only link to presentation registry resource, and other registries
Implementation • Propose starting with simplest possible implementation • Read-only resources – supports GET only • Discovery resource • Presentation registry resource • Served from static content held in server configuration files • Manually editable by administrator • Each product server configured to point to same Discovery resource URL
Open questions • Central registry = Single point of failure • Are we okay with this? • Security • Do we protect read access to registries? • Performance • Do we use HTTP caching proxy to reduce inter-server round-trips? • What is toleration for staleness? • Cost of reparsing XML documents?
Open questions • Hot server re/configuration • Doable without taking product servers down? • NL story for display strings in registries • Registry info may serve users in many locales