140 likes | 262 Views
September 2008 Update. Topics. Objectives Architecture Service Synchronization Service Types Service Testing Reporting Future Enhancements. Objectives of the Service Status Checker. Execute a scheduled set of health tests against data and metadata services
E N D
Topics • Objectives • Architecture • Service Synchronization • Service Types • Service Testing • Reporting • Future Enhancements
Objectives of the Service Status Checker • Execute a scheduled set of health tests against data and metadata services • Provide results of health tests through: • XML web service • HTML website reports • Provide on-the-fly service tests for registration validation
FGDC Service Status Checker Geospatial One-Stop (GOS) Z39.50 WMS Z39.50 WMS Z39.50 WAF WCS WAF WCS WAF ArcIMS Metadata WFS WCS WFS OAI-PMH ArcIMS Image OAI-PMH WFS CS-W CS-W General Architecture GOS Database Service Syncronization Service Status Database Service Testing GOS Portal Results Web Service : GOS provides an XML web service of its services. The Status Checker connects to this service daily to update its list of services (adds, edits, deletes) . : The Status Checker performs a set of scheduled health tests on the list of services obtained from GOS and record the results. : The GOS system queries the Status Checker Results web service as it displays it search results to its users and incorporates the service health scores into the results.
FGDC Service Status Checker Geospatial One-Stop (GOS) Service Synchronization • Service list provided as ATOM feed • Status Checker performs daily request of ATOM feed • Processes XML list into local DB • Add new services • Modifies changed information • Deletes missing services GOS Database Service Synchronization Service Status Database • Example: • <feed xmlns=http://www.w3.org/2005/Atom xmlns:gos="http://www.geodata.gov/gos_atom"> • <title>eb services records in GOS metadata database</title> • <updated>2008-09-19 06:04:34</updated> • <entry> • <id>{3FCD0732-8086-11DB-A823-0003BA2C919E}</id> • <title>Emergency Facilities in the City of Camden Feature Map Service, New Jersey State Plane NAD83</title> • <updated>2008-05-23 00:11:23</updated> • <servicetype>feature</servicetype> • <serviceurl>http://njgin.ci.camden.nj.us</serviceurl> • <servicename>CamdenCity_Emergency_FS</servicename> • </entry>
FGDC Service Status Checker Z39.50 WMS Z39.50 WMS Z39.50 WAF WCS WAF WCS WAF ArcIMS Metadata WFS WCS WFS OAI-PMH ArcIMS Image OAI-PMH WFS CS-W CS-W General Service Testing • Reliability Score: • A score (0-100) is provided to each service correctly registered • Score based upon the appropriate response from server and responsiveness • Score provided on main output of each service: • WMS – getMap Request • ArcIMS Image – getImage Request • Diagnostic Tests: • Additional tests are performed where possible to try and determine why some services have issues • Example: If a registered getMap fails, the Status Checker reads the get Capabilties and builds a new getMap request Service Status Database Service Testing
WMS Service Requirements & Testing • WMS Requirements: • Registered service must be a getCapabilities or getMap URL • If any other URL provided, a score is not provided to this service • WMS Tests Performed: • Ping the machine • Test the web server • Test the getCapabilities request • Test the getMap request • Provide health score on this test
ArcIMS Image Service Requirements & Testing • ArcIMS Requirements: • Registered service must contain URL + ArcIMS service name • ArcIMS Tests Performed: • Test web server • Test the getServiceInfo request • Test the getImage request • Provide health score on this test
FGDC Service Status Checker Geospatial One-Stop (GOS) Reporting - Results Web Service • Clients can use XML web service to query for scores • If no date requested, last health scores will be provided Service Status Database Results Web Service GOS Portal • Sample Request: • <request xmlns='http://registry.fgdc.gov/statuschecker' version="1.0"> • <requestType>brief</requestType> • <services> • <service>{1EDA4A5A-ED76-ECCB-4EB1-DDF9E11207A9}</service> • <service>{F4798B56-8855-77E7-7A65-94C3AF05EB4}</service> • <service>{78C3DA21-F12B-BD6B-9CED-B348966EE978}</service> • <service>{C94CE1B9-2CD6-DFE5-0660-FCD11AA268B}</service> • </services> • </request>
FGDC Service Status Checker Geospatial One-Stop (GOS) Reporting - Results Web Service • GOS has incorporated score into user search results • <id> field can be used to link to full diagnostic report at Status Checker website Service Status Database Results Web Service GOS Portal • Sample Response: • <response version="1.0"> • <service> • <id>{1EDA4A5A-ED76-ECCB-4EB1-DDF9E11207A9}</id> • <score>35</score> • <date>2008-09-22</date> • </service> • <service> • <id>{F4798B56-8855-77E7-7A65-94C3AF05EB4}</id> • <score>NotFoundId</score> • </service> • … • </response>
WMS Detailed Report • GOS Information: • Display of GOS registration information Links to GOS specific metadata • Daily Test Results • Registered URL shown with * • “Test Now” buttons to verify test results in real time • Interactive Map Results • Links to an WMS map viewer to view all layers of the service • Potential Service Errors • Any errors encountered during tested are displayed • Summary Test Results & Scores • Last 7 days of results shown for: • All tests performed • Responsive time of server (secs) • Reliability Score
Future Enhancements • Addition of remaining service types • Ability for clients to test a service during registration process • Population of a Error - Resolution database to assist service owners to resolve issues