-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfiguration.yml
More file actions
110 lines (106 loc) · 4.78 KB
/
Copy pathconfiguration.yml
File metadata and controls
110 lines (106 loc) · 4.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
################################################
# Server configurations
################################################
server:
connector:
# Changing port is available for embedded server only
# Is is not possible to change port for deploying application on external server
port: ${PORT:8080}
################################################
# Application (global) configurations
################################################
application:
# Absolute or relative path to GroupDocs license
# Can be as a path to license file, to directory, in which license file is placed (*.lic) or url to download license file
# Default value is `Licenses`
licensePath: ${LIC_PATH:}
# Host name or ip for server instance
hostAddress: ${HOST_ADDRESS:}
################################################
# Common configurations
################################################
common:
# File rewriting on document uploading
# Set false to cancel uploading in case of existence of file with the same name
# Set true to replace files with same name
rewrite: ${REWRITE:true}
# Page navigation
# Set false to disable document navigation (go to next, previous, last and first page)
pageSelector: true
# Document download
# Set false to disable document download
download: ${DOWNLOAD_ON:true}
# Document upload
# Set false to disable document upload
upload: ${UPLOAD_ON:true}
# Document print
# Set false to disable document print
print: ${PRINT_ON:true}
# File browser
# Set false to disable document browse
browse: ${BROWSE_ON:true}
# Set false to disable right mouse click
enableRightClick: ${RIGHTCLICK_ON:true}
################################################
# GroupDocs.Comparison configurations
################################################
comparison:
# Files provider, where to get files to show them in browse dialog
# Available values are `google` - using Google Drive API, `dropbox` - using Dropbox API, `local` - using local directories
filesProviderType: ${FILES_PROVIDER_TYPE:local}
# Result pages preload
# How many pages from a result document should be loaded, remaining pages will be loaded on page scrolling
# Set 0 to load all pages at once
preloadResultPageCount: 0
# Page width that will be used to resize preview images before displaying them
# Default value is 768
previewPageWidth: ${PREVIEW_PAGE_WIDTH:}
# Ratio to calculate height of preview images using width
# Default value is 1.3
previewPageRatio: ${PREVIEW_PAGE_RATIO:}
# Absolute or relative path to directory to save cache files
# Default value is system temp directory. The path is always local
cacheDirectory: ${CACHE_DIR:}
# Absolute or relative path to directory to save temporary files
# Default value is system temp directory. The path is always local
tempDirectory: ${TEMP_DIR:}
################################################
# Local files provider Configuration
################################################
local:
# Files directory path
# Absolute or relative path to files directory, default value is `DocumentSamples`.
filesDirectory: ${FILES_DIR:DocumentSamples}
# Result files directory path
# Absolute or relative path to result files directory, default value is `DocumentSamples/Temp`.
resultDirectory: ${RESULT_DIR:}
################################################
# Google API files provider Configuration
################################################
google:
# When false or empty, file with name `credentials.json` from resources will be used
useCredentialsPath: ${USE_CREDENTIALS_PATH:false}
# When useCredentialsPath is true, this path will be used as a path to google credentials file (usually `credentials.json`)
credentialsPath: ${CREDENTIALS_PATH:}
# Path to directory to save stored credentials. When empty, credentials will not be saved
tokensDirectoryPath: ${TOKENS_DIRECTORY_PATH:}
# Client application name
applicationName: ${APPLICATION_NAME:GroupDocs.Comparison for Java Dropwizard sample}
# Files access type, available options are `offline` and `online`.
# Default value is `offline`
accessType: offline
# Port that will be used for Google Drive API authorization callback.
# Default value is `8888`
localServerReceiverPort: ${LOCAL_SERVER_RECEIVER_PORT:8888}
# user ID or null if not using a persisted credential store
authorizationUserId: user
################################################
# Dropbox API files provider Configuration
################################################
dropbox:
# The identifier that will be used as User-Agent in API requests
clientIdentifier: ${CLIENT_IDENTIFIER:groupdocs/comparison-java}
# Dropbox access token
accessToken: ${ACCESS_TOKEN:}
# Directory in which result files will be uploaded via Dropbox API, default value is `ResultFiles`.
resultDirectory: ${RESULT_DIR:ResultFiles}