tkarthikraj / grails-activiti-plugin

Automatically exported from code.google.com/p/grails-activiti-plugin
Apache License 2.0
0 stars 0 forks source link

Add support for configuring data source #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Since grails 2.0.0 now support multiple data sources, it would be nice to add 
support for configuring data source name in activiti plugin. 

If this doesn't brake something else in the plugin (i.e. in scripts), I believe 
this can be implemented by modifying a single line in ActivitiGrailsPlugin:

  processEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) {
    //...
    dataSource = ref("dataSource")
    //..
  }

should be replaced with

  processEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) {
    //...
    dataSource = ref(CH.config.activiti.dataSourceName ?: "dataSource")
    //..
  }

Original issue reported on code.google.com by damir.mu...@gmail.com on 10 Feb 2012 at 5:30

GoogleCodeExporter commented 8 years ago
Thanks for creating this issue. Do you need this feature? Had you tried the 
code? You are welcome to fork the latest plugin code at 
https://github.com/limcheekin/activiti.

Also, please create the future issue at 
https://github.com/limcheekin/activiti/issues. 

Original comment by limchee...@vobject.com on 11 Feb 2012 at 2:28

GoogleCodeExporter commented 8 years ago
Issue created, with few comments added: 
https://github.com/limcheekin/activiti/issues/2

Original comment by damir.mu...@gmail.com on 11 Feb 2012 at 9:44