-
For creating dynamic responses in microcks can we read and map values from external data source such as db,Excel,dile etc |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I recommend looking at the Once you have fetched data from the sources, you may use Context expression to integrate this data into your response template. Hope it helps! |
Beta Was this translation helpful? Give feedback.
I recommend looking at the
SCRIPT
dispatcher feature for creating dynamic responses. We don't directly provide connectors for DB or file, but using the Groovy languages facilities you may certainly find a way to interact with your datasource. We also provide a way to extend Microcks with your own Groovy or Java lib for that purpose. See https://microcks.io/documentation/administrating/externals/Once you have fetched data from the sources, you may use Context expression to integrate this data into your response template.
Hope it helps!