INTGeoServer v3 supports multiple data source types and data sources at a time. The data source type is the type of host of data. There are exactly 4 types supported:
geofiles (for local files on disk)
s3 (for files in Amazon AWS S3)
blobstorage (for files in Microsoft Azure Blob Storage)
cloudstorage (for files in Google Cloud Storage)
For each data source type, there can be multiple data sources. For instance, you can have three different s3 data sources, two blobstorage data sources, and zero geofiles data source.
All data source types and sources are loaded by an instance of AbstractDataSourcesLoader. The loader searches for all data source types using the loadAllDataSourceTypes method.
The default data source loaders uses the data sources are defined in the ivaapdataconfigs folder, stored locally. The folders under ivaapdataconfigs list the source types. The folders under each source type list the source names for that source type.
For example, in this configuration, the file ivaapdataconfigs/s3/myconnector/config.properties stores the properties of the data source named "myconnector", and that is of the type "s3".
The location of the ivaapdataconfigs directory can be configured using the IVAAP_DATA_CONFIGS_PATH environment variable. If not such environment variable is set, the root of the local disk are inspected. Typically, Windows developers store their ivaapdataconfigs directory in the C:\ drive, and the IVAAP_DATA_CONFIGS_PATH environment variable is set for production environments.
The following keys are required in the config.properties file defining a geofiles data source:
rootPath
The following properties keys are required in the config.properties file defining a s3 data source:
awsAccessKey
awsSecretKey
awsRegionName (example: us-east-2)
The following properties keys are required in the config.properties file defining a blobstorage data source:
azureAccountName
azureAccountKey
The following properties keys are required in the config.properties file defining a cloudstorage data source:
projectId
authKey