Dynamic data sources
Administrators can now configure a data source via app configuration. These are referred to as data source profiles. These can be used just like the normal application server defined data sources. A key benefit is that a server restart is not required to make the data source active for use by macros. From a macro use perspective, they can be referenced just like application server datasources.
For instance, an administrator can define a data source profile called companyDS and make it available for active use. Later, an application server defined companyDS data source can be defined. After a server restart, the administrator can remove the data source profile and macros will now start using the application server defined data source. A key benefit of this approach is to validate that specific connection configuration is working properly before converting it into an application server data source configuration.
Application server based data sources are still recommended for best performance and control, especially connection pooling.
Macro Security for Confluence for data source profiles is the same as application data sources.
See Data Source Profiles for more details.