Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into enhancement/better-or…
Browse files Browse the repository at this point in the history
…ganised-config

# Conflicts:
#	README.md
  • Loading branch information
Dhi13man committed Jan 15, 2024
2 parents 19cc3e4 + cc1d0fc commit ea6ee0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 1 addition & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
[![GitHub Repo stars](https://img.shields.io/github/stars/dhi13man/spring-multi-data-source?style=social)](https://github.com/Dhi13man/spring-multi-data-source)
[![Last Commit](https://img.shields.io/github/last-commit/dhi13man/spring-multi-data-source)](https://github.com/Dhi13man/spring-multi-data-source/commits/main)

Thank you for investing your time in contributing to this project! Any contributions you make have a
chance of reflecting
in [the actual Package on Pub.dev](https://pub.dev/packages/spring-multi-data-source/), and
brightens up my day. :)

Make sure you go through the [API Documentation](https://openrouteservice.org/dev/#/api-docs/)
first!
Thank you for investing your time in contributing to this project!

## General Steps to Contribute

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ for configuring multi-data source configurations for a service. Let's break down
same package as the class where this annotation is applied, followed by
`.generated.repositories` and then `.<data_source_name>`.
- `primaryDataSourceConfig`: A `@DataSourceConfig` annotation. This annotation represents
the primary data source and its configuration.
the primary data source and its configuration. The primary data source will be able
to access every repository other than the repositories generated for the secondary data
sources.
- `dataSourceConfigs`: An array of `@DataSourceConfig` annotations. Each annotation represents
a data source and its configuration.

Expand All @@ -98,7 +100,7 @@ for configuring multi-data source configurations for a service. Let's break down
the `dataSourceConfigs` attribute of `@EnableMultiDataSourceConfig`.

- It has the following attributes:
- `dataSourceName`: The name of the data source. It is used to generate the date source
- `dataSourceName`: The name of the data source. It is used to generate the data source
beans and to name the generated classes, packages, and property paths for the data
source properties.
- `dataSourceClassPropertiesPath`:The application properties key/path of the data source class'
Expand Down

0 comments on commit ea6ee0d

Please sign in to comment.