/
application.yml
66 lines (66 loc) · 2.33 KB
/
application.yml
1
2
3
4
5
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: pob
frameworks:
- id: dos
name: 'Digital Outcomes and Specialists Framework'
enabled: true
baseUrl: https://www.digitalmarketplace.service.gov.uk
parserClass: ai.hyperlearning.pob.data.parsers.dos.DosParser
filter: false
keywords: ''
properties:
opportunitiesUrl: https://www.digitalmarketplace.service.gov.uk/digital-outcomes-and-specialists/opportunities?q=&statusOpenClosed=open
- id: cf
name: 'Contracts Finder'
enabled: true
baseUrl: https://www.contractsfinder.service.gov.uk
parserClass: ai.hyperlearning.pob.data.parsers.cf.ContractsFinderParser
filter: true
keywords: 'data software java python artificial intelligence machine learning training architecture engineering digital transformation computing language'
properties:
opportunitiesUrl: https://www.contractsfinder.service.gov.uk/Search/Results
publishers:
- id: csv
enabled: false
publisherClass: ai.hyperlearning.pob.data.publishers.csv.CsvPublisher
properties:
path: ${java.io.tmpdir}/pob.csv
- id: slack
enabled: false
publisherClass: ai.hyperlearning.pob.data.publishers.slack.SlackPublisher
properties:
channel: ${slack-channel}
webhook: ${slack-webhook}
- id: microsoft-teams
enabled: false
publisherClass: ai.hyperlearning.pob.data.publishers.microsoft.MicrosoftTeamsPublisher
properties:
webhook: ${microsoft-teams-webhook}
- id: google-chat
enabled: false
publisherClass: ai.hyperlearning.pob.data.publishers.google.GoogleChatPublisher
properties:
webhook: ${google-chat-webhook}
- id: elasticsearch
enabled: false
publisherClass: ai.hyperlearning.pob.data.publishers.elastic.ElasticsearchPublisher
properties:
url: ${elasticsearch-url}
username: ${elasticsearch-username}
password: ${elasticsearch-password}
index: pob
ssl: true
pipelines:
main:
enabled: true
scheduler:
enabled: false
cron: "0 0/20 * * * *"
bulkPublicationDelay:
enabled: true
duration: 5
storage:
rdbms:
driverClassName: ${rdbms-driverClassName}
jdbcUrl: ${rdbms-jdbcUrl}
username: ${rdbms-username}
password: ${rdbms-password}