GEGlobalResearch / DARPA-ASKE-TA1

ANSWER Project to demonstrate knowledge-driven extraction of scientific models from code and texts
Other
8 stars 5 forks source link

GH-58: Use `Dialog` specific injection for the `Dialog` tests. #64

Closed kittaakos closed 4 years ago

kittaakos commented 4 years ago

Added the missing injector provider. Without the explicit provider, it will inject SADL specific things into the test, instead of the desired Dialog.

Closes #58.

With the changes, I can see in the c.g.r.s.d.aske.processing.JenaBasedDialogModelProcessor.initializePreferences(ProcessorContext): https://github.com/GEGlobalResearch/DARPA-ASKE-TA1/blob/9b153b88913ccd40505a1175082a9dcb853c6517/com.ge.research.sadl.darpa.aske.dialog.parent/com.ge.research.sadl.darpa.aske.dialog/src/com/ge/research/sadl/darpa/aske/processing/JenaBasedDialogModelProcessor.java#L1967-L1970

That the base text service URL is http://vesuvius-dev.crd.ge.com:4200 instead of the default http://localhost:4200.

Signed-off-by: Akos Kitta kittaakos@typefox.io