kristoferB / SP

Sequence Planner
MIT License
12 stars 5 forks source link

Automatic service windows #32

Closed dnord91 closed 8 years ago

kristoferB commented 9 years ago

Each service will define what it needs as input. We need to define a format for that. This should also work for distributed services not impl in scala.

kristoferB commented 9 years ago

Probably the following format:

 // This structure can be placed anywhere in a json structure, 
 // but usually it some key-values in the root
 {  
  "key": {
      "ofType": String, // What type to get the correct input method in the form
      "domain": [items], // if the input is a dropdown. Empty if not a dropdown.
      "default": Option[item]  // Both key and value may be omitted
   }
 }
kristoferB commented 9 years ago

The new services are in place in backend in commit: fe4e926b Frontend to be fixed.