Content Service
The Voxel Farm Content Service is located in the “<SDKRoot>\Server.Content” folder.
The Voxel Farm Content Service is a Windows OS service. Before installing the service, it must be configured. The configuration parameters can be found in the “config_content_server.ini” file.
The following table lists the properties available in this configuration file along with a brief description of their use:
Property |
Section |
Description |
organization |
[Configuration] |
Unique identifier for the organization running this deployment |
storage_provider |
[Configuration] |
Selects the type of storage the Content Service should use. The possible values are “AZURE”, “AWS” and “FILES” |
port |
[Configuration] |
A numeric value for the TCP/IP port used by the Content Service to stream data into clients. Make sure the Firewall settings allow connections to this port. |
wss_cert |
[Configuration] |
The certificate to be used for SSL connections. |
http_port |
[Configuration] |
A numeric value for the TCP/IP port used by the Content Service to receive requests from clients. Make sure the Firewall settings allow connections to this port. If it is “0” will not be used. |
aad |
[Configuration] |
Contains the name of a different section in the INI that will contain the information for authentication under Azure Active Directory. The new section must contain two properties: resource_id - Must contain the Client ID for the API/Application tenant_id - Must contain the Azure AD tenant identifier |
region |
[AWS] |
Region identifier for the AWS S3 region where the data is stored |
Bucket_name |
[AWS] |
S3 bucket name where the data is stored |
access_key_id |
[AWS] |
Access Key Id for S3 operations |
secret_access_key |
[AWS] |
Secret Access Key for S3 operations |
container_name |
[AZURE] |
Azure blob container name |
connection_string |
[AZURE] |
The connection string to perform blob read operations from Azure storage |
folder_path |
[FILES] |
Path to a directory that contains spatial datasets |
Once the entries are properly configured in the .ini file, you may install the Content Service by performing from the “Server.Content” directory:
installutil.exe VoxelFarmContentService.exe
The Content Service should appear listed as a Windows Service: