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


play {
5
  http.secret.key="Sl9aHk;Wb__x7ZblaWb4y]3;kcDPAr4>vsV[CC`;=]r1VWc=D8cSy4TBZ"
6
  modules.enabled += "modules.ElasticsearchModule"
7
  modules.enabled += "modules.KafkaModule"
8
9
10
11
12
13
14
15
16
17
18
19
20
21
}

# 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}
  }
}


22
23
24
25
elasticsearch {

  //template_prefix="production"
  //hosts: ["sb-ues5.swissbib.unibas.ch:8080","sb-ues6.swissbib.unibas.ch:8080","sb-ues7.swissbib.unibas.ch:8080","sb-ues8.swissbib.unibas.ch:8080"]
26
  hosts: ["mb-es1.memobase.unibas.ch:8080"]
27
  //hosts: ["localhost:8080"]
28
  cluster: "test-memobase-search-cluster" # "weywot"
29
  index: "documents-v9"
30
31
32
33
34
35
36
  content: "application/json; charset=utf-8"
  #the default number of result per page
  defaultsize: 10
  #the maximum number of result per page you can request (without scroll)
  maxsize: 1000

}
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

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"

  }
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
  sets: [
    {
      "spec": "allEuropeana"
      "name": "resources relevant and defined for Europeana"
    },
    {
      "spec": "srftagesschau"
      "name": "Tagesschausendungen SRF"

    },
    {
      "spec": "swiradio"
      "name": "Radiobestand swissinfo"

    }

  ]
  metadataPrefix: [

    {
      "metadataPrefix": "edm"
      "schema": "to be defined"
      "metadataNamespace": "to be defined"
    },
    {

      "metadataPrefix": "rico"
      "schema": "to be defined"
      "metadataNamespace": "to be defined"

    }


  ]
90
91
  identify: {
    repositoryName: "memobase OAI repositories"
Günter Hipler's avatar
Günter Hipler committed
92
    baseURL: "https://oai.memobase.k8s.unibas.ch/"
93
94
95
96
97
98
99
    protocolVersion: "2.0"
    adminEmail: "admin@memobase.ch"
    earliestDatestamp: "2021-01-01T00:00:00.000Z"
    deletedRecord: "transient"
    granularity: "YYYY-MM-DDThh:mm:ss.sssZ"
  }
}