application.conf 1.07 KB
Newer Older
1
2
3
4
include "secure"


play {
5
  http.secret.key="Sl9aHk;Wb__x7ZblaWb4y]3;kcDPAr4>vsV[CC`;=]r1VWc=D8cSy4TBZ"
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
  modules.enabled += "modules.ElasticsearchModule"
}

# db connections = ((physical_core_count * 2) + effective_spindle_count)
fixedConnectionPool = 5

repository.dispatcher {
  executor = "thread-pool-executor"
  throughput = 1
  thread-pool-executor {
    fixed-pool-size = ${fixedConnectionPool}
  }
}



kafka : [
  {
    "source" : "defaultDB"
    "server": "sb-us21.swissbib.unibas.ch:8080/solr/green"
    "bla" : "lll"
  },
  {
    "source" : "bb"
    "server": "sb-us29.swissbib.unibas.ch:8080/solr/bb"
  }
]


oaiconfigs: {
  common: {
    xsi_schemaLocation: "http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"

  }
  sets: ["all"]
  metadataPrefix: ["edm"]
  identify: {
    repositoryName: "memobase OAI repositories"
    baseURL: "http://localhost:9000"
    protocolVersion: "2.0"
    adminEmail: "admin@memobase.ch"
    earliestDatestamp: "2021-01-01T00:00:00.000Z"
    deletedRecord: "transient"
    granularity: "YYYY-MM-DDThh:mm:ss.sssZ"
  }
}