Page MenuHomePhabricator | MITK

Annotation instances should not be services (?)
Open, Needs TriagePublic

Description

As pointed out in T25927 the current design of annotations is the follwing:

  • Each instance of an annotation (e.g. a lable in a render window) is created as an microservice.
  • Management/query of the annotations is done by the micro service infrasstructure.

I am not sure if this is the best solution and want to start a discussion about it.

I feel that a pattern like it is used for property alias, description or serialization is more appropriate. So annotation instances are not enlisted as a service, but there is a service where you can register annotations. This service interface is also used to query for anotation etc.

Event Timeline

floca created this task.Wed, Jan 30, 5:01 PM