Page MenuHomePhabricator

Annotation instances should not be services (?)
Closed, WontfixPublic

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

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".

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs