<commit_before># Any passwords and credentials in this file should be encrypted

# All default properties for stack "dev" instance "${org.sagebionetworks.developer}" belong in this file

#---- Endpoint configuration
org.sagebionetworks.authenticationservice.privateendpoint=${org.sagebionetworks.authenticationservice.privateendpoint}
org.sagebionetworks.authenticationservice.publicendpoint=${org.sagebionetworks.authenticationservice.publicendpoint}
org.sagebionetworks.repositoryservice.endpoint=${org.sagebionetworks.repositoryservice.endpoint}
org.sagebionetworks.fileservice.endpoint=${org.sagebionetworks.fileservice.endpoint}
org.sagebionetworks.searchservice.endpoint=${org.sagebionetworks.searchservice.endpoint}

#--- The main MySQL database connection.
org.sagebionetworks.repository.database.connection.url=jdbc:mysql://localhost/dev${org.sagebionetworks.developer}
org.sagebionetworks.repository.database.username=dev${org.sagebionetworks.developer}
org.sagebionetworks.repository.database.password=<PASSWORD>==

#--- The database information used to create ids.
org.sagebionetworks.id.generator.database.connection.url=jdbc:mysql://localhost/dev${org.sagebionetworks.developer}
org.sagebionetworks.id.generator.database.username=dev${org.sagebionetworks.developer}
org.sagebionetworks.id.generator.database.password=<PASSWORD>==

#---- S3 configuration

# This is the bucket for Synapse data
org.sagebionetworks.s3.readAccessExpiryHours=24
org.sagebionetworks.s3.writeAccessExpiryHours=24
# This is for attachment URLs that expire in 10 seconds.
org.sagebionetworks.s3.readAccessExpirySeconds=20
org.sagebionetworks.s3.bucket=devdata.sagebase.org

# This is the shared bucket for all backup files.
org.sagebionetworks.shared.s3.backup.bucket=shared.backups.sagebase.org

# This is the bucket for workflow-related files such as configuration or search document files.
# Each workflow should store stuff under its own workflow name prefix so that we can configure 
# permissions not only on the bucket but also the S3 object prefix.
org.sagebionetworks.s3.bucket.workflow=devworkflow.sagebase.org

#The amount of time (MS) the ChangeSentMessageSynchWorker sleeps between pages.
org.sagebionetworks.worker.change.synch.sleep.ms=2000
# The minium page size used by ChangeSentMessageSynchWorker. (25K)
org.sagebionetworks.worker.change.synch.min.page.size=25000

#--- encrypted values (passwords, credentials):
#
# to generate an encrypted property value:
# cd lib/stackConfiguration
# mvn exec:java --define exec.mainClass="org.sagebionetworks.StringEncrypter" --define exec.args="encrypt <common-encryption-key-for-stack> <MySecretPassword>"
# returns 
# MySecretPassword -> <PASSWORD>
# The actual encryption key is saved in work/platform/PasswordsAndCredentials/platformPropertyEncryptionKey.txt


org.sagebionetworks.id.generator.database.driver=com.mysql.jdbc.Driver
org.sagebionetworks.repository.databaes.driver=com.mysql.jdbc.Driver
org.sagebionetworks.table.databaes.driver=com.mysql.jdbc.Driver

# The repository database connection pool properties.
org.sagebionetworks.pool.connection.validate=true
# This is the SQL that will be used to determine if a connection is alive.
org.sagebionetworks.pool.connection.validate.sql=SELECT 1
# The minimum number of connections maintained by the connection pool.
org.sagebionetworks.pool.min.number.connections=2
# The maximum number of connections the connection pool will created
org.sagebionetworks.pool.max.number.connections=40

# The repository Apache HttpClient connection pool properties
org.sagebionetworks.httpclient.connectionpool.maxconnsperroute=20

# JDOPersistenceManager configuration properties.
javax.jdo.PersistenceManagerFactoryClass=org.datanucleus.jdo.JDOPersistenceManagerFactory
datanucleus.NontransactionalRead=true
datanucleus.NontransactionalWrite=true
javax.jdo.option.RetainValues=true
datanucleus.autoCreateSchema=true
datanucleus.validateConstraints=false
datanucleus.validateTables=false
datanucleus.transactionIsolation=read-committed

# Used in conjunction with the API key below to login as the migration admin user
org.sagebionetworks.migration.admin.username=<EMAIL>
# Note: This API key should be changed in before bootstrapping the migration admin in production systems
org.sagebionetworks.migration.admin.apikey=<KEY>

# ID and Key used for Google OAuth2.0. Valid values from the google developer console are required for this feature to work.
org.sagebionetworks.oauth2.google.client.id=fake
# Encrypted
org.sagebionetworks.oauth2.google.client.secret=<KEY>=

# ID and Key used for ORCID OAuth2.0. Valid values from the orcid.org site are required for this feature to work.
org.sagebionetworks.oauth2.orcid.client.id=fake
# Encrypted
org.sagebionetworks.oauth2.orcid.client.secret=<KEY>=

# Email address used to send notifications
org.sagebionetworks.notification.<EMAIL>

# URL prefix of Synapse web page for notification update
org.sagebionetworks.notification.portal.endpoint=https://www.synapse.org/#!SignedToken:Settings/

# these are the fake values 'user' and 'pass', encrypted with the default 
# stack encryption key, not used in production
org.sagebionetworks.email.cloudmailin.user=Er5spvJMsZ8=
org.sagebionetworks.email.cloudmailin.password=R7Hfabih2Bs=

# Email address used to send to Synapse Ops team
org.sagebionetworks.synapseops.email.address=<EMAIL>

# Activity Logger
org.sagebionetworks.usage.metrics.logging.enabled=true

# Whether log sweeping should be enabled
org.sagebionetworks.logging.sweeper.enabled=true
org.sagebionetworks.logging.sweeper.delete.enabled=true
org.sagebionetworks.logging.sweeper.bucket=logs.sagebase.org

#AmazonWebServices CloudWatch Profiler 
org.sagebionetworks.cloud.watch.report.enabled=true

#AmazonWebServices CloudWatch Profiler's Trigger time in milliseconds
org.sagebionetworks.cloud.watch.trigger=60000

#Call Performance Profiler 
org.sagebionetworks.call.performance.report.enabled=true

#Calll Performance Profiler's Trigger time in milliseconds
org.sagebionetworks.call.performance.trigger=60000

# The maximum number of threads used by the backup/restore daemon thread pool.
# Set this to an even number since two threads are used for each daemon.
org.sagebionetworks.backup.restore.thread.pool.maximum=10

# The maximum number of bytes allowed for a query result.  Currently set to 500 KB.
org.sagebionetworks.maximum.bytes.per.query.result=512000

# The maximum number entities returned in a single call
org.sagebionetworks.maximum.number.entities.returned.per.call=20

# This is a size limit on a single entity.
# Note: The number can never be decreased, so increase with care.
org.sagebionetworks.maximum.number.bytes.per.entity=1024000

# The maximum number of pixels used for a preview image
org.sagebionetworks.preview.image.max.width.pixels=1024
org.sagebionetworks.preview.image.max.height.pixels=768
org.sagebionetworks.attachment.preview.image.max.pixels=150

# Google email address for receiving Breast Cancer Challenge applications
org.sagebionetworks.bcc.approvalEmail=<EMAIL>

# a switch to disable the BCC Signup element of the Web UI
org.sagebionetworks.bcc.signup.enabled=true

# the Consumer Key and Secret were set up using Admin tools for our Google hosted domain
org.sagebionetworks.bcc.googleapps.oauth.consumer.key=sagebase.org
# encrypted
org.sagebionetworks.bcc.googleapps.oauth.consumer.secret=<KEY>

# the following are generated using OAuthUtils.generateAccessToken()
# encrypted
org.sagebionetworks.bcc.googleapps.oauth.access.token=<KEY>
#encrypted
org.sagebionetworks.bcc.googleapps.oauth.access.token.secret=<KEY>

# AWS Simple work flow settings:
org.sagebionetworks.swf.workflowExecutionRetentionPeriodInDays=1

# Portal LinkedIn Integration (secret in AWS stack specific configuration files)
org.sagebionetworks.portal.api.linkedin.key=0oq37ippxz8c
# Portal Get Satisfaction Integration
org.sagebionetworks.portal.api.getsatisfaction.key=z5e1lo36kro5

#encrypted
org.sagebionetworks.portal.api.linkedin.secret=<KEY>
#encrypted
org.sagebionetworks.portal.api.getsatisfaction.secret=<KEY>

org.sagebionetworks.repo.manager.jira.user.name=synapse-jira-service
org.sagebionetworks.repo.manager.jira.user.password=<PASSWORD>+

# The percentage of the maximum memory that can be used for file transfer.
# Note: transfer% + preview% cannot exceed 90%
org.sagebionetworks.repo.manager.file.transfer.memory.percent.of.max=0.70
# The percentage of the maximum memory that can be used for preview generation.
# Note: transfer% + preview% cannot exceed 0.90 (90%)
org.sagebionetworks.repo.manager.file.preview.memory.percent.of.max=0.20
# This is the size of a single file transfer memory block used as a buffer. 
# Note: Due to S3 limitations on the minimum size of a single part of a multi-part upload
# this value cannot be less 5 MB.  It is currently set to 5 MB.
org.sagebionetworks.repo.manager.file.transfer.memory.buffer.bytes=5242880
# The maximum number of worker threads used to generate preview files.
org.sagebionetworks.file.preview.max.number.worker.threads=10
# The maximum number of entities that can be moved into the trash can at one time.
org.sagebionetworks.repo.manager.trash.max.trashable=2000

# Should messages be published to the AWS topic?
org.sagebionetworks.repo.manage.shouldMessagesBePublishedToTopic=true

#--- EZID ---
org.sagebionetworks.ezid.username=apitest
org.sagebionetworks.ezid.password=<PASSWORD>=
org.sagebionetworks.ezid.url=https://ezid.cdlib.org/
org.sagebionetworks.ezid.doi.prefix=doi:10.5072/FK2.
org.sagebionetworks.ezid.doi.target.url.prefix=https://www.synapse.org

# Backup batch size See PLFM-1896
org.sagebionetworks.repo.manager.migration.backup.batch.max=500

# This should match the Database max_allowed_packet value. See PLFM-1900
org.sagebionetworks.repo.model.dbo.migration.max.allowed.packet.byte = 1048576

# Enable the CloudSearch features
org.sagebionetworks.search.enabled=false
# Enable Dynamo related features
org.sagebionetworks.dynamo.enabled=false
# Enable Dynamo table row cache.
org.sagebionetworks.dynamo.table.row.cache.enabled=true
# Enable Table related features
org.sagebionetworks.table.enabled=true
# Enalb DOI related features
org.sagebionetworks.doi.enabled=false
# Subfolders in autosync folders
org.sagebionetworks.autosync.subfolders.enabled=false
# Should open-office/image-magic dependent previews be enabled?
org.sagebionetworks.preview.open.office.enabled=false

# The maximum number of bytes per HTTP table request.  Currently set to 2 MB which matches
# Tomcat's max bytes per POST
org.sagebionetworks.table.max.bytes.per.request=2097152
# The maximum number of bytes in a single table change set file.  Currently set to 5 MB.
org.sagebionetworks.table.max.bytes.per.change.set=5242880
# The maximum number of possible enum values for one column.
org.sagebionetworks.table.max.enum.values=100
# should all table columns have an index?
org.sagebionetworks.table.allindexed.enabled=true

# The number of database in the tables cluster.  Each database must have an org.sagebionetworks.table.cluster.endpoint.<index> & org.sagebionetworks.table.cluster.schema.<index>
org.sagebionetworks.table.cluster.database.count=1
# For each database there must be an endpoint property (org.sagebionetworks.table.cluster.endpoint.<index>) where index = 0 - n-1
org.sagebionetworks.table.cluster.endpoint.0=localhost
# For each database there must be an schema property (org.sagebionetworks.table.cluster.schema.<index>) where index = 0 - n-1
org.sagebionetworks.table.cluster.schema.0=dev${org.sagebionetworks.developer}tables

# The maximum amount of time in MS that the table worker can hold the semaphore lock on the table.

# Note: If this is set too short the lock could be released while the table is still being updated.
org.sagebionetworks.table.worker.timeout.ms= 3600000
# The timeout for querying a table. Currently set to 15 seconds.
org.sagebionetworks.table.read.timeout.ms=15000

# Configuration properties for the Semaphore gated runner.

# When a lock is acquired from the semaphore a timeout must be provided
# If the lock is not released before the timeout expires, the lock will be forfeit
# and another runner will be able to acquire the lock. This is currently set to
# 30 minutes to allow plenty of time for the works to finish their work.
# Setting this too low will undermine the gating.
org.sagebionetworks.semaphore.gated.lock.timeout.ms=1800000
# The maximum number of worker in the cluster that will process Annotations data
org.sagebionetworks.semaphore.gated.max.runners.annotations=1
# The maximum number of workers in the cluster that will pop Table update messages from SQS
org.sagebionetworks.semaphore.gated.max.runners.table.cluster=10

# The maximum timeout for an exclusive lock in milliseconds. Set to one hour.
org.sagebionetworks.semaphore.exclusive.max.timeout.ms=3600000

# The maximum timeout for a shared lock in milliseconds. Set to 2 mins.
org.sagebionetworks.semaphore.shared.max.timeout.ms=120000

#The maximum amount of time the multipart upload daemons are allowed to take before timing out.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.timeout.ms=300000
# The maximum number of threads that can be used for the mutipart upload daemons.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.main.max.threads=20
# The maximum number of threads that can be used for the mutipart upload daemons copy part sub-task.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.copy.part.max.threads=50

org.sagebionetworks.repo.model.bootstrap.root.folder.entity.path=/root
org.sagebionetworks.repo.model.bootstrap.root.folder.entity.id=4489
org.sagebionetworks.repo.model.bootstrap.trash.folder.entity.path=/root/trash
org.sagebionetworks.repo.model.bootstrap.trash.folder.entity.id=1681355

# The maximum number of concurrent connections on repo for one synapse user over the cluster
org.sagebionetworks.max.concurrent.repo.connections=10

# Set to true to re-enable the creation of old entity types.
org.sagebionetworks.allow.create.old.entities=false
# Set to true to re-enable the creation of old attachments.
org.sagebionetworks.allow.create.old.attachments=false

# An RSA private key / certificate pair.
# These credentials are used only in dev/test, never in production
# Further, they are for signing Docker bear tokens *only* and never,
# say, as TLS security.
# TODO generate certificate using correct issuer
# TODO try using standard cert generation tools
# TODO encrypt the private key
# TODO after generating dev/test pair, generate another for production
org.sagebionetworks.docker.authorization.private.key=MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCCjokkbTM3/X4XQkN1ZV5yNRML2b0E6J2SOq9dzZxbl4Q==
org.sagebionetworks.docker.authorization.certificate=<KEY>
<commit_msg>PLFM-3441<commit_after># Any passwords and credentials in this file should be encrypted

# All default properties for stack "dev" instance "${org.sagebionetworks.developer}" belong in this file

#---- Endpoint configuration
org.sagebionetworks.authenticationservice.privateendpoint=${org.sagebionetworks.authenticationservice.privateendpoint}
org.sagebionetworks.authenticationservice.publicendpoint=${org.sagebionetworks.authenticationservice.publicendpoint}
org.sagebionetworks.repositoryservice.endpoint=${org.sagebionetworks.repositoryservice.endpoint}
org.sagebionetworks.fileservice.endpoint=${org.sagebionetworks.fileservice.endpoint}
org.sagebionetworks.searchservice.endpoint=${org.sagebionetworks.searchservice.endpoint}

#--- The main MySQL database connection.
org.sagebionetworks.repository.database.connection.url=jdbc:mysql://localhost/dev${org.sagebionetworks.developer}
org.sagebionetworks.repository.database.username=dev${org.sagebionetworks.developer}
org.sagebionetworks.repository.database.password=tK15UbS9itkodIYeyDQpQA==

#--- The database information used to create ids.
org.sagebionetworks.id.generator.database.connection.url=jdbc:mysql://localhost/dev${org.sagebionetworks.developer}
org.sagebionetworks.id.generator.database.username=dev${org.sagebionetworks.developer}
org.sagebionetworks.id.generator.database.password=tK15UbS9itkodIYeyDQpQA==

#---- S3 configuration

# This is the bucket for Synapse data
org.sagebionetworks.s3.readAccessExpiryHours=24
org.sagebionetworks.s3.writeAccessExpiryHours=24
# This is for attachment URLs that expire in 10 seconds.
org.sagebionetworks.s3.readAccessExpirySeconds=20
org.sagebionetworks.s3.bucket=devdata.sagebase.org

# This is the shared bucket for all backup files.
org.sagebionetworks.shared.s3.backup.bucket=shared.backups.sagebase.org

# This is the bucket for workflow-related files such as configuration or search document files.
# Each workflow should store stuff under its own workflow name prefix so that we can configure 
# permissions not only on the bucket but also the S3 object prefix.
org.sagebionetworks.s3.bucket.workflow=devworkflow.sagebase.org

#The amount of time (MS) the ChangeSentMessageSynchWorker sleeps between pages.
org.sagebionetworks.worker.change.synch.sleep.ms=2000
# The minium page size used by ChangeSentMessageSynchWorker. (25K)
org.sagebionetworks.worker.change.synch.min.page.size=25000

#--- encrypted values (passwords, credentials):
#
# to generate an encrypted property value:
# cd lib/stackConfiguration
# mvn exec:java --define exec.mainClass="org.sagebionetworks.StringEncrypter" --define exec.args="encrypt <common-encryption-key-for-stack> <MySecretPassword>"
# returns 
# MySecretPassword -> <PASSWORD>
# The actual encryption key is saved in work/platform/PasswordsAndCredentials/platformPropertyEncryptionKey.txt


org.sagebionetworks.id.generator.database.driver=com.mysql.jdbc.Driver
org.sagebionetworks.repository.databaes.driver=com.mysql.jdbc.Driver
org.sagebionetworks.table.databaes.driver=com.mysql.jdbc.Driver

# The repository database connection pool properties.
org.sagebionetworks.pool.connection.validate=true
# This is the SQL that will be used to determine if a connection is alive.
org.sagebionetworks.pool.connection.validate.sql=SELECT 1
# The minimum number of connections maintained by the connection pool.
org.sagebionetworks.pool.min.number.connections=2
# The maximum number of connections the connection pool will created
org.sagebionetworks.pool.max.number.connections=40

# The repository Apache HttpClient connection pool properties
org.sagebionetworks.httpclient.connectionpool.maxconnsperroute=20

# JDOPersistenceManager configuration properties.
javax.jdo.PersistenceManagerFactoryClass=org.datanucleus.jdo.JDOPersistenceManagerFactory
datanucleus.NontransactionalRead=true
datanucleus.NontransactionalWrite=true
javax.jdo.option.RetainValues=true
datanucleus.autoCreateSchema=true
datanucleus.validateConstraints=false
datanucleus.validateTables=false
datanucleus.transactionIsolation=read-committed

# Used in conjunction with the API key below to login as the migration admin user
org.sagebionetworks.migration.admin.username=<EMAIL>
# Note: This API key should be changed in before bootstrapping the migration admin in production systems
org.sagebionetworks.migration.admin.apikey=<KEY>

# ID and Key used for Google OAuth2.0. Valid values from the google developer console are required for this feature to work.
org.sagebionetworks.oauth2.google.client.id=fake
# Encrypted
org.sagebionetworks.oauth2.google.client.secret=5MUeTnmZBvI=

# ID and Key used for ORCID OAuth2.0. Valid values from the orcid.org site are required for this feature to work.
org.sagebionetworks.oauth2.orcid.client.id=fake
# Encrypted
org.sagebionetworks.oauth2.orcid.client.secret=5MUeTnmZBvI=

# Email address used to send notifications
org.sagebionetworks.notification.email.suffix=@synapse.org

# URL prefix of Synapse web page for notification update
org.sagebionetworks.notification.portal.endpoint=https://www.synapse.org/#!SignedToken:Settings/

# these are the fake values 'user' and 'pass', encrypted with the default 
# stack encryption key, not used in production
org.sagebionetworks.email.cloudmailin.user=Er5spvJMsZ8=
org.sagebionetworks.email.cloudmailin.password=<PASSWORD>=

# Email address used to send to Synapse Ops team
org.sagebionetworks.synapseops.email.address=<EMAIL>

# Activity Logger
org.sagebionetworks.usage.metrics.logging.enabled=true

# Whether log sweeping should be enabled
org.sagebionetworks.logging.sweeper.enabled=true
org.sagebionetworks.logging.sweeper.delete.enabled=true
org.sagebionetworks.logging.sweeper.bucket=logs.sagebase.org

#AmazonWebServices CloudWatch Profiler 
org.sagebionetworks.cloud.watch.report.enabled=true

#AmazonWebServices CloudWatch Profiler's Trigger time in milliseconds
org.sagebionetworks.cloud.watch.trigger=60000

#Call Performance Profiler 
org.sagebionetworks.call.performance.report.enabled=true

#Calll Performance Profiler's Trigger time in milliseconds
org.sagebionetworks.call.performance.trigger=60000

# The maximum number of threads used by the backup/restore daemon thread pool.
# Set this to an even number since two threads are used for each daemon.
org.sagebionetworks.backup.restore.thread.pool.maximum=10

# The maximum number of bytes allowed for a query result.  Currently set to 500 KB.
org.sagebionetworks.maximum.bytes.per.query.result=512000

# The maximum number entities returned in a single call
org.sagebionetworks.maximum.number.entities.returned.per.call=20

# This is a size limit on a single entity.
# Note: The number can never be decreased, so increase with care.
org.sagebionetworks.maximum.number.bytes.per.entity=1024000

# The maximum number of pixels used for a preview image
org.sagebionetworks.preview.image.max.width.pixels=1024
org.sagebionetworks.preview.image.max.height.pixels=768
org.sagebionetworks.attachment.preview.image.max.pixels=150

# Google email address for receiving Breast Cancer Challenge applications
org.sagebionetworks.bcc.approvalEmail=<EMAIL>

# a switch to disable the BCC Signup element of the Web UI
org.sagebionetworks.bcc.signup.enabled=true

# the Consumer Key and Secret were set up using Admin tools for our Google hosted domain
org.sagebionetworks.bcc.googleapps.oauth.consumer.key=sagebase.org
# encrypted
org.sagebionetworks.bcc.googleapps.oauth.consumer.secret=<KEY>

# the following are generated using OAuthUtils.generateAccessToken()
# encrypted
org.sagebionetworks.bcc.googleapps.oauth.access.token=<KEY>
#encrypted
org.sagebionetworks.bcc.googleapps.oauth.access.token.secret=<KEY>

# AWS Simple work flow settings:
org.sagebionetworks.swf.workflowExecutionRetentionPeriodInDays=1

# Portal LinkedIn Integration (secret in AWS stack specific configuration files)
org.sagebionetworks.portal.api.linkedin.key=0oq37ippxz8c
# Portal Get Satisfaction Integration
org.sagebionetworks.portal.api.getsatisfaction.key=z5e1lo36kro5

#encrypted
org.sagebionetworks.portal.api.linkedin.secret=<KEY>
#encrypted
org.sagebionetworks.portal.api.getsatisfaction.secret=<KEY>

org.sagebionetworks.repo.manager.jira.user.name=synapse-jira-service
org.sagebionetworks.repo.manager.jira.user.password=6PkUHq<PASSWORD>YlIqlIZCUn<PASSWORD>IG0y8b+

# The percentage of the maximum memory that can be used for file transfer.
# Note: transfer% + preview% cannot exceed 90%
org.sagebionetworks.repo.manager.file.transfer.memory.percent.of.max=0.70
# The percentage of the maximum memory that can be used for preview generation.
# Note: transfer% + preview% cannot exceed 0.90 (90%)
org.sagebionetworks.repo.manager.file.preview.memory.percent.of.max=0.20
# This is the size of a single file transfer memory block used as a buffer. 
# Note: Due to S3 limitations on the minimum size of a single part of a multi-part upload
# this value cannot be less 5 MB.  It is currently set to 5 MB.
org.sagebionetworks.repo.manager.file.transfer.memory.buffer.bytes=5242880
# The maximum number of worker threads used to generate preview files.
org.sagebionetworks.file.preview.max.number.worker.threads=10
# The maximum number of entities that can be moved into the trash can at one time.
org.sagebionetworks.repo.manager.trash.max.trashable=2000

# Should messages be published to the AWS topic?
org.sagebionetworks.repo.manage.shouldMessagesBePublishedToTopic=true

#--- EZID ---
org.sagebionetworks.ezid.username=apitest
org.sagebionetworks.ezid.password=<PASSWORD>=
org.sagebionetworks.ezid.url=https://ezid.cdlib.org/
org.sagebionetworks.ezid.doi.prefix=doi:10.5072/FK2.
org.sagebionetworks.ezid.doi.target.url.prefix=https://www.synapse.org

# Backup batch size See PLFM-1896
org.sagebionetworks.repo.manager.migration.backup.batch.max=500

# This should match the Database max_allowed_packet value. See PLFM-1900
org.sagebionetworks.repo.model.dbo.migration.max.allowed.packet.byte = 1048576

# Enable the CloudSearch features
org.sagebionetworks.search.enabled=false
# Enable Dynamo related features
org.sagebionetworks.dynamo.enabled=false
# Enable Dynamo table row cache.
org.sagebionetworks.dynamo.table.row.cache.enabled=true
# Enable Table related features
org.sagebionetworks.table.enabled=true
# Enalb DOI related features
org.sagebionetworks.doi.enabled=false
# Subfolders in autosync folders
org.sagebionetworks.autosync.subfolders.enabled=false
# Should open-office/image-magic dependent previews be enabled?
org.sagebionetworks.preview.open.office.enabled=false

# The maximum number of bytes per HTTP table request.  Currently set to 2 MB which matches
# Tomcat's max bytes per POST
org.sagebionetworks.table.max.bytes.per.request=2097152
# The maximum number of bytes in a single table change set file.  Currently set to 5 MB.
org.sagebionetworks.table.max.bytes.per.change.set=5242880
# The maximum number of possible enum values for one column.
org.sagebionetworks.table.max.enum.values=100
# should all table columns have an index?
org.sagebionetworks.table.allindexed.enabled=true

# The number of database in the tables cluster.  Each database must have an org.sagebionetworks.table.cluster.endpoint.<index> & org.sagebionetworks.table.cluster.schema.<index>
org.sagebionetworks.table.cluster.database.count=1
# For each database there must be an endpoint property (org.sagebionetworks.table.cluster.endpoint.<index>) where index = 0 - n-1
org.sagebionetworks.table.cluster.endpoint.0=localhost
# For each database there must be an schema property (org.sagebionetworks.table.cluster.schema.<index>) where index = 0 - n-1
org.sagebionetworks.table.cluster.schema.0=dev${org.sagebionetworks.developer}tables

# The maximum amount of time in MS that the table worker can hold the semaphore lock on the table.

# Note: If this is set too short the lock could be released while the table is still being updated.
org.sagebionetworks.table.worker.timeout.ms= 3600000
# The timeout for querying a table. Currently set to 15 seconds.
org.sagebionetworks.table.read.timeout.ms=15000

# Configuration properties for the Semaphore gated runner.

# When a lock is acquired from the semaphore a timeout must be provided
# If the lock is not released before the timeout expires, the lock will be forfeit
# and another runner will be able to acquire the lock. This is currently set to
# 30 minutes to allow plenty of time for the works to finish their work.
# Setting this too low will undermine the gating.
org.sagebionetworks.semaphore.gated.lock.timeout.ms=1800000
# The maximum number of worker in the cluster that will process Annotations data
org.sagebionetworks.semaphore.gated.max.runners.annotations=1
# The maximum number of workers in the cluster that will pop Table update messages from SQS
org.sagebionetworks.semaphore.gated.max.runners.table.cluster=10

# The maximum timeout for an exclusive lock in milliseconds. Set to one hour.
org.sagebionetworks.semaphore.exclusive.max.timeout.ms=3600000

# The maximum timeout for a shared lock in milliseconds. Set to 2 mins.
org.sagebionetworks.semaphore.shared.max.timeout.ms=120000

#The maximum amount of time the multipart upload daemons are allowed to take before timing out.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.timeout.ms=300000
# The maximum number of threads that can be used for the mutipart upload daemons.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.main.max.threads=20
# The maximum number of threads that can be used for the mutipart upload daemons copy part sub-task.
org.sagebionetworks.repo.manager.file.multipart.upload.daemon.copy.part.max.threads=50

org.sagebionetworks.repo.model.bootstrap.root.folder.entity.path=/root
org.sagebionetworks.repo.model.bootstrap.root.folder.entity.id=4489
org.sagebionetworks.repo.model.bootstrap.trash.folder.entity.path=/root/trash
org.sagebionetworks.repo.model.bootstrap.trash.folder.entity.id=1681355

# The maximum number of concurrent connections on repo for one synapse user over the cluster
org.sagebionetworks.max.concurrent.repo.connections=10

# Set to true to re-enable the creation of old entity types.
org.sagebionetworks.allow.create.old.entities=false
# Set to true to re-enable the creation of old attachments.
org.sagebionetworks.allow.create.old.attachments=false

# An RSA private key / certificate pair.
# These credentials are used only in dev/test, never in production
# Further, they are for signing Docker bear tokens *only* and never,
# say, as TLS security.
# TODO generate certificate using correct issuer
# TODO try using standard cert generation tools
# TODO encrypt the private key
# TODO after generating dev/test pair, generate another for production
# openssl genrsa -out key.pem 4096  ==> encrypt using the stack encryption key (TODO encode as pkcs8)
org.sagebionetworks.docker.authorization.private.key=<KEY>
#
# openssl req -new -x509 -key key.pem -out newcert.pem -days 36500 (TODO encode as pkcs8)
org.sagebionetworks.docker.authorization.certificate=<KEY>

{'fraction_non_alphanumeric': 0.08252915158825895, 'fraction_numerical': 0.017256399946387883, 'mean_word_length': 5.706741573033708, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 52, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4330366', 'n_tokens_mistral': 9873, 'n_tokens_neox': 9403, 'n_words': 2441}