This example serves the purpose of showcasing the structure of the configuration, so individual configuration options would not end up in the wrong place (e.g. nested within wrong options). The file must be a valid JSON document. This example lists all configurable fields, including expert and development level detail, which are not used in the production.
The configuration values do not guarantee a valid, working, configuration. The configuration only showcases the structure.
{
"JobServiceOptions"
: {
"Guid"
:
"a6e33b89-0973-4282-aacb-34e0c6c0be2e"
,
"DisableCertificateValidation"
:
false
,
"JobPreviewStoreTimeout"
:
"00:01:00"
,
"DirectQueuesTimeout"
:
"00:01:00"
,
"StorageType"
:
"SQLite"
,
"RoutingForServerSpoolersEnabled"
:
true
,
"SelfUrlResolution"
:
"Host"
,
"ClientOptions"
: {
"ClientId"
:
"jobservice"
,
"ClientSecret"
:
"secret for the client"
,
"Scope"
:
"print_session:create jobs:delete commands:create"
},
"TenantId"
:
"1"
,
"TenantIdClaimType"
:
"tenant_id"
},
"HttpServerOptions"
: {
"Host"
:
"*"
,
"Port"
:
5000
,
"Scheme"
:
"Https"
,
"CertificateOptions"
: {
"Thumbprint"
:
"40640f35dfe4242ebb165f48dd11cce1dc7186c6"
,
"StoreName"
:
"My"
,
"StoreLocation"
:
"Local"
}
},
"IdentityServerOptions"
: {
"IssuerUrl"
:
"http://localhost:5001"
,
"SigningCertificateOptions"
: {
"Thumbprint"
:
"40640f35dfe4242ebb165f48dd11cce1dc7186c6"
,
"StoreName"
:
"My"
,
"StoreLocation"
:
"Local"
},
"AccessTokenLifetime"
:
"24:00:00"
,
"RefreshTokenLifetime"
:
"24:00:00"
,
"AuthenticationCookieLifetime"
:
"00:01:00"
,
"AdditionalClients"
: [{
"ClientId"
:
"spooler"
,
"ClientName"
:
"Kubernetes Server Spooler / Client v3"
,
"AllowedGrantTypes"
: [
"client_credentials"
,
"card_number"
,
"password"
,
"pin"
],
"ClientSecrets"
: [{
"Value"
:
"XaarNPyjMddsVpywNzttPxz4mFHbw17sFzPhjRNE4IM="
}],
"AllowedScopes"
: [
"openid"
,
"profile"
,
"print_session:create"
,
"jobs:delete"
,
"commands:create"
,
"jobs:create"
,
"server_spooler_service"
]
}]
},
"JNodeOptions"
: {
"Host"
:
"localhost"
,
"Port"
:
8111
,
"ConnectionTimeout"
:
"00:01:00"
},
"SpoolerConnectionOptions"
: {
"KeepAliveInterval"
:
"00:00:05"
,
"ClientTimeoutInterval"
:
"00:00:30"
},
"SpoolerUpdateOptions"
: {
"PackageMonitoringInterval"
:
"00:10:00"
,
"PackageSigningCertificate"
: {
"Thumbprint"
:
"40640f35dfe4242ebb165f48dd11cce1dc7186c6"
,
"StoreName"
:
"My"
,
"StoreLocation"
:
"Local"
,
"FilePath"
:
"../certs/my.p12"
,
"Password"
:
"very secret"
,
"AllowInvalid"
:
false
}
},
"SpoolerOptions"
: {
"EnableFeedbackForm"
:
false
,
"UserInterfacePort"
:
3050
,
"EnableQueueManagementInClient"
:
false
,
"IdentityProviderUrl"
:
"https://get-identity.com"
,
"EnableFarRoaming"
:
false
},
"SafeQConfigurationOptions"
: {
"AuthenticatedUserMustMatchJobTicketOwner"
:
false
,
"AuthenticationType"
:
"DOMAIN_USERNAME"
,
"UsernameFormat"
:
"USERNAME"
,
"AllowStoredUsernameFromClient"
:
false
,
"DisableImplicitGrant"
:
false
,
"OfflinePrintMaximumNumberOfServersidePerUserCachedRecentDevices"
:
100
,
"OfflinePrintMaximumAgeOfServersideCachedRecentDevices"
:
30
,
"WebAuthenticationMethod"
:
"USERNAME_AND_PASSWORD"
,
"OpenIdConnectIssuerLocation"
:
"https://get-identity.com"
,
"OpenIdConnectAdditionalScopes"
:
"profile"
,
"OpenIdConnectClientId"
:
"jobservice"
,
"JobServiceOpenIdConnectClientSecret"
:
"jobservice_secret"
,
"OpenIdConnectDirectlyRedirectToProviderLoginPage"
:
false
},
"YmqProxyOptions"
: {
"Host"
:
"localhost"
,
"Port"
:
5555
,
"HttpPort"
:
5556
,
"HttpScheme"
:
"http"
,
"LocalPeerType"
:
"JobService_V4"
,
"SecurityOptions"
: {
"Encryption"
:
"Plain"
,
"CertificateStore"
:
"My"
,
"CertificateStoreLocation"
:
"Local"
,
"ValidateServerCertificate"
:
false
,
"CertificateThumbprint"
:
"40640f35dfe4242ebb165f48dd11cce1dc7186c6"
},
"ConnectionTimeout"
:
"00:01:00"
,
"RequestTimeout"
:
"00:01:00"
,
"RequestTimeoutIncreaseFactor"
:
1.5
,
"MaxRequestTimeout"
:
"00:02:00"
,
"NumberOfRetries"
:
5
,
"PrintRequestMappingExpirationTime"
:
"24:00:00"
,
"DeleteJobCandidateExpirationTime"
:
"48:00:00"
,
"JobPreviewGenerationTimeout"
:
"00:01:00"
,
"SpoolCleaningBatchSize"
:
100
,
"SpoolCleaningDelayOnError"
:
"00:05:00"
},
"SiteServerOptions"
: {
"DisableCertificateValidation"
:
false
,
"SiteServers"
: [{
"Scheme"
:
"http"
,
"Host"
:
"https://site2.com"
,
"JobServicePort"
:
5000
,
"ServerSpoolerPort"
:
5002
,
"Alias"
:
"siteserver1"
}]
}
}