ExplorusDataSolutions / OGC-CHISP

OGC Climatology-Hydrology Information Sharing Pilot - This use case focuses on exchanging cross-border hydrologic data (stream flow and groundwater levels) with a unified alert service. Stream/river gauge and groundwater well locations are associated with a river network that in turn is associated with a set of basins (watersheds) (For the purposes of this Pilot, a simple geometric buffer will be used to identify gauge and well locations rather than catchments). For any well or stream gauge location, a web service provides access to the gauge and well information on all upstream stream segments or in all contributing basins. An event service provides subscribers a notification if any upstream streamflow or well water level reaches or exceeds a user-defined threshold. Selected river basins cross the U.S./Canada border. Data providers include state, provincial, and federal agencies. Based on sensor events, a flood is determined to be imminent and alerts are sent to the authorities in the affected areas.
http://chisp.explorus.org/
0 stars 0 forks source link

subscription state #40

Closed whyvez closed 11 years ago

whyvez commented 11 years ago

lets change the subscription state to this.

  1. selected : when user selects, set by client
  2. pending : submitted but broker, set by broker
  3. active : subscription valid and active, set by broker
  4. invalid : subscription invalid, set by broker

When posting a subscription the broker should return the submitted objects back with their id and status.

mlhch commented 11 years ago

http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map is ready for review.

Note that for "selected" status, both "cancel" and "subscribe" are enabled. for "pending" status, clicking "subscribe" and status becomes "active" is the simulation of Vendor operation for "active" status, clicking "subscribe" and status becomes "invalid" is also the simulation of Vendor operation Then for "invalid" status, the user can click "cancel" to remove it from map

whyvez commented 11 years ago

Right now an active subscription is labelled as "valid" need to be "active" as defined above. Labels and buttons should be like:

state selected : label = selected, buttons = cancel, subscribe state subscribed and pending : label = pending, buttons = cancel, subscribe state subscribed and active : label = active, buttons = unsubscribe, update state invalid: label = invalid, buttons = cancel=> action = send destroy command to broker

mlhch commented 11 years ago

Ready for review: http://ogc-chisp-env-egseatsx3u.elasticbeanstalk.com/map