Hi Matthias
Lyo does not at the moment deal with
configuration context, but it would certainly be of value to start considering such support. I recall a couple of earlier questions on this forum needing such support.
Is there any way you can contribute code, and then we can aim to integrated it as best as we can into the libraries?
regards
______________________________
Jad El-khoury, PhD
KTH Royal Institute of Technology
School of Industrial Engineering and Management, Mechatronics Division
Brinellvägen 83, SE-100 44 Stockholm, Sweden
Phone: +46(0)8 790 6877 Mobile: +46(0)70 773 93 45
jad@xxxxxx,
www.kth.se
From: lyo-dev-bounces@xxxxxxxxxxx <lyo-dev-bounces@xxxxxxxxxxx>
On Behalf Of Matthias Buettgen
Sent: 20 January 2020 12:29
To: lyo-dev@xxxxxxxxxxx
Subject: [lyo-dev] Configuration Context required by Doors Next Generation for factory lookup
I recently recognized a problem when the lookupServiceProvider method is executed against a configuration aware DNG project. This means when one executes the method the configuration
context is necessary to fetch a creation factory for Requirements or Requirement Collections. If the configuration context is not given the tool returns only DNG specific factories for TypeImport, DeliverySession, and TaskTracker.
I propose to create a lookServiceProvider method which also can deal with the configuration context.
In my current project did I implement a method which fetches the ServiceProvider using the configuration context and hand it over to a custom lookup method.
public CreationFactory lookupCreationFactoryResource(ServiceProvider serviceProvider, ....)
It would be great if this will find a way into the final release of Lyo 4.0.0
Mit freundlichen Grüßen / kind regards,
IBM Watson Internet of Things
-------------------------------------------
IBM Deutschland
Sittarder Straße 31
52078 Aachen
-------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Dr. Christian Keller, Ivo Koerner, Nicole Reimer, Gregor Pillen, Dieter Scholz
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940