Page MenuHomePhabricator | MITK

Annotation instances should not be services (?)
Open, NormalPublic

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.Jan 30 2019, 5:01 PM
kislinsk added subscribers: jungsi, kislinsk.

Okay, this is surprising. Let's talk about this when Simon is back. We should definitely change this design to a "manager approach".

kislinsk triaged this task as Normal priority.Mar 15 2019, 11:23 AM