Project

General

Profile

Feature #733

Add "info" endpoint that functions like "query"

Added by Mike Stults over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/27/2015
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

A new endpoint called "info" is added that allows a second handler to be configured and accessible through the service

new parameter name "infoHandlerProgram"

Note: do to current internal design limitations, parameters added for the info endpoint are also visible on the query endpoint, and vice versa.

History

#1 Updated by Mike Stults over 6 years ago

  • Resolution set to Fixed

svn commit -m "issue 733, adding code for info endpoint, also minor, unrelated whitespace and default method name change"
Sending src/main/java/edu/iris/wss/Wss.java
Sending src/main/java/edu/iris/wss/framework/AppConfigurator.java
Transmitting file data ..
Committed revision 12902.

#2 Updated by Mike Stults over 6 years ago

  • Status changed from New to Resolved

#3 Updated by Robert Weekly over 6 years ago

  • Status changed from Resolved to Closed

Closing ticket.

Confirmed to work after adding the line below to the station-1-service.cfg file.

infohandlerProgram=/Users/rtweekly/Testing/tomcat/bin/handler_sleep.sh

This parameter-value pair is also picked up by AppConfigurator and logged to the station.log file:

2015-09-24 14:18:02,639 INFO  AppConfigurator  - Attempting to load application configuration file from: /Users/rtweekly/apache_tomcat/config/station-1-service.cfg
2015-09-24 14:18:02,643 INFO  AppConfigurator  - WSS Service Configuration
WSS Version                   1.1.10-SNAPSHOT
Root Service Path             http://localhost/fdsnws/station/1
Root Service Doc              file:///Users/rtweekly/Testing/tomcat/webapps/docs/station_root.html
WADL Path                     file:///Users/rtweekly/Testing/tomcat/webapps/docs/station.foo
Swagger V2 URL                null
Application Name              fdsnws-station
Version                       0.0.99
Handler Working Directory     /tmp
Handler Program               /Users/rtweekly/Testing/tomcat/bin/handler_bridge_station
Info Handler Program          /Users/rtweekly/Testing/tomcat/bin/handler_sleep.sh

Also available in: Atom PDF