Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathew1011 committed Feb 3, 2021
1 parent 2fc37ba commit b590265
Showing 1 changed file with 21 additions and 39 deletions.
60 changes: 21 additions & 39 deletions src/test/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,107 +1,83 @@
server.port: 9000

server.contextPath:

security.basic.enabled: false

spring.template.cache: false

spring.profiles: test
spring.profiles.active:test

spring.profiles.active: test
spring.datasource.username: spring
spring.datasource.password: spring

# H2
spring.datasource.platform: h2
spring.datasource.url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.driverClassName: org.h2.Driver
spring.jpa.database-platform: org.hibernate.dialect.H2Dialect

spring.datasource.validation-query: select version();
spring.jpa.show_sql: false
spring.jpa.hibernate.ddl-auto: create-drop


# logging
logging.level.org.tdl: INFO
logging.level.edu.tamu: INFO
logging.level.org.springframework:INFO
logging.level.ro.isdc.wro: INFO

logging.file: logs/catalog-service.log

logging.encoder.pattern: "%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n"
app.whitelist: 127.0.0.1


################################################################
# edu.tamu.app.service.SprintsCacheService
# 10 minutes in milliseconds: (10 * 60 * 1000)
app.sprint.cache.interval: 600000
# 10 seconds in milliseconds: (10 * 1000)
app.sprint.cache.delay: 10000
# edu.tamu.weaver.auth.service.UserCredentialsService
app.authority.admins: 123456789, 990000081, 523008230, 512004707, 613001223, 402001311, 709005486
################################################################


################################################################
# edu.tamu.weaver.auth.service.UserCredentialsService
app.authority.admins: 123456789, 990000081, 523008230, 512004707, 613001223, 402001311
# spring-boot actuator endpoint: health set to true
management.endpoints.enabled-by-default: false
management.endpoint.health.enabled: true
################################################################

################################################################
# edu.tamu.weaver.token.provider.controller.TokenController
shib.keys: netid,uin,lastName,firstName,email

shib.subject: email

shib.netid: edupersonprincipalnameunscoped
shib.uin: tamuuin
shib.lastName: tdl-sn
shib.firstName: tdl-givenname
shib.email: tdl-mail

auth.path: /auth
################################################################

################################################################
# edu.tamu.weaver.token.service.TokenService
auth.security.jwt.secret: verysecretsecret
auth.security.jwt.issuer: localhost
auth.security.jwt.duration: 1
################################################################

################################################################
# edu.tamu.weaver.auth.service.CryptoService
app.security.secret: verysecretsecret
################################################################

################################################################
# edu.tamu.weaver.filter.CorsFilter
app.security.allow-access: http://localhost,http://localhost:${server.port}
app.security.allow-access: http://localhost,http://localhost:8080
################################################################

################################################################
# edu.tamu.weaver.email.config.WeaverEmailConfig
app.email.host: relay.tamu.edu
app.email.from: noreply@library.tamu.edu
app.email.replyTo: helpdesk@library.tamu.edu
################################################################

################################################################
# edu.tamu.weaver.reporting.controller.ReportingController
app.reporting.address: helpdesk@library.tamu.edu
################################################################

################################################################
# edu.tamu.weaver.validation.controller.ValidationsController
app.model.packages: edu.tamu.app.model
################################################################

################################################################
# edu.tamu.weaver.utility.HttpUtility
app.http.timeout: 10000
################################################################

################################################################
# Catalog Service location
app.catalogServiceUrl: http://localhost:9000/catalog-access/
################################################################
# Catalog Configuration file
app.catalogsConfiguration.file: config/catalogs.json
################################################################
################################################################
# Configuration for the default/large item button
app.defaultButton.templateParameterKeys: sid, title, author, publisher, genre, place, year, edition, oclc, mfhd, isxn
Expand All @@ -112,3 +88,9 @@ app.defaultButton.text: Get It: 4 days
app.defaultButton.action: https://getitforme.library.tamu.edu/illiad/EvansLocal/openurl.asp
app.defaultButton.threshold: 200
################################################################

################################################################
# Configuration for the buttons kill switch
app.buttons.patronGroupOverride = remhathi
app.buttons.locationsOverride = cush
################################################################

0 comments on commit b590265

Please sign in to comment.