Skip to content

Commit 182c822

Browse files
committed
removed crawlerApiParams
1 parent ff4ffb9 commit 182c822

File tree

4 files changed

+0
-30
lines changed

4 files changed

+0
-30
lines changed

MServer-Config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ senderConfigurations:
184184
PHOENIX:
185185
maximumSubpages: 500
186186

187-
188-
# configure string variables
189-
#crawlerApiParams:
190-
191187
#### COPY ####
192188
copySettings:
193189
# En- / disables FTP

src/main/java/de/mediathekview/mserver/base/config/MServerConfigDTO.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public class MServerConfigDTO extends MServerBasicConfigDTO implements ConfigDTO
3838
private String filmlistImportLocation;
3939
private MServerLogSettingsDTO logSettings;
4040
private Map<CrawlerUrlType, URL> crawlerURLs;
41-
private Map<CrawlerApiParam, String> crawlerApiParams;
4241

4342
public MServerConfigDTO() {
4443
super();
@@ -103,18 +102,10 @@ public Map<CrawlerUrlType, URL> getCrawlerURLs() {
103102
return crawlerURLs;
104103
}
105104

106-
public Map<CrawlerApiParam, String> getCrawlerApiParams() {
107-
return crawlerApiParams;
108-
}
109-
110105
public void setCrawlerURLs(final Map<CrawlerUrlType, URL> crawlerURLs) {
111106
this.crawlerURLs = crawlerURLs;
112107
}
113108

114-
public void setCrawlerApiParams(final Map<CrawlerApiParam, String> pCrawlerApiParams) {
115-
crawlerApiParams = pCrawlerApiParams;
116-
}
117-
118109
public Map<FilmlistFormats, String> getFilmlistDiffSavePaths() {
119110
return filmlistDiffSavePaths;
120111
}
@@ -224,13 +215,6 @@ public Optional<URL> getSingleCrawlerURL(final CrawlerUrlType urlType) {
224215
return urlType.getDefaultUrl();
225216
}
226217

227-
public Optional<String> getCrawlerApiParam(final CrawlerApiParam apiParam) {
228-
if (crawlerApiParams.containsKey(apiParam)) {
229-
return Optional.of(crawlerApiParams.get(apiParam));
230-
}
231-
return Optional.empty();
232-
}
233-
234218
public Boolean getWriteFilmlistHashFileEnabled() {
235219
return writeFilmlistHashFileEnabled;
236220
}
@@ -342,8 +326,4 @@ public void putCrawlerUrl(final CrawlerUrlType key, final URL value) {
342326
crawlerURLs.put(key, value);
343327
}
344328

345-
public String putCrawlerApiParam(final CrawlerApiParam key, final String value) {
346-
return crawlerApiParams.put(key, value);
347-
}
348-
349329
}

src/main/resources/MServer-Config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,6 @@ senderConfigurations:
168168
DW:
169169
maximumSubpages: 0
170170

171-
# configure string variables
172-
#crawlerApiParams:
173-
174171
#### COPY ####
175172
copySettings:
176173
# En- / disables FTP

src/test/resources/MServer-JUnit-Config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ importLivestreamConfiguration:
2828
# duration: 12
2929
# unit: HOURS
3030

31-
# configure string variables
32-
#crawlerApiParams:
33-
3431
# The formats in which the filmlist should be saved to.
3532
# Possible are: JSON, OLD_JSON, JSON_COMPRESSED_XZ, OLD_JSON_COMPRESSED_XZ
3633
filmlistSaveFormats:

0 commit comments

Comments
 (0)