Skip to content

Commit f6e46f7

Browse files
committed
Remove Mautic service
1 parent e48818c commit f6e46f7

9 files changed

Lines changed: 0 additions & 229 deletions

File tree

configuration.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
| MAP_PREVIEW_PATH_SMALL | `/content/maps/previews/small` | | `build/cache/map_previews/small` |
5555
| MAP_SMALL_PREVIEWS_URL_FORMAT | `https://content.${FAF_DOMAIN}/maps/previews/small/%s` | `FAF_DOMAIN` | `https://content.test.faforever.com/faf/maps/previews/small/%s` |
5656
| MAP_UPLOAD_PATH | `/content/maps` | | `build/cache/map/maps` |
57-
| MAUTIC_ACCESS_TOKEN_URL | `false` | | |
58-
| MAUTIC_BASE_URL | `false` | | |
59-
| MAUTIC_CLIENT_ID | `false` | | |
60-
| MAUTIC_CLIENT_SECRET | `false` | | |
6157
| MOD_DOWNLOAD_URL_FORMAT | `https://content.${FAF_DOMAIN}/mods/%s` | `FAF_DOMAIN` | `https://content.test.faforever.com/faf/vault/mods/%s` |
6258
| MOD_PREVIEW_URL_FORMAT | `https://content.${FAF_DOMAIN}/mods/%s` | `FAF_DOMAIN` | `https://content.test.faforever.com/faf/vault/mods/%s` |
6359
| NODEBB_ADMIN_USERID | `1` | | |

src/inttest/resources/config/application.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ faf-api:
8181
steam-password-reset-redirect-url-format: "http://localhost:8010/users/passwordReset?token=%s"
8282
replay:
8383
download-url-format: "http://localhost/replays/%s"
84-
mautic:
85-
client-id: banana
86-
client-secret: banana
8784
deployment:
8885
featured-mods-target-directory: "build/cache/mods"
8986
repositories-directory: ""

src/main/java/com/faforever/api/config/FafApiProperties.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public class FafApiProperties {
3434
private Challonge challonge = new Challonge();
3535
private User user = new User();
3636
private Database database = new Database();
37-
private Mautic mautic = new Mautic();
3837
private Anope anope = new Anope();
3938
private Rating rating = new Rating();
4039
private Tutorial tutorial = new Tutorial();
@@ -227,14 +226,6 @@ public static class Database {
227226
private String schemaVersion;
228227
}
229228

230-
@Data
231-
public static class Mautic {
232-
private String baseUrl;
233-
private String clientId;
234-
private String clientSecret;
235-
private String accessTokenUrl;
236-
}
237-
238229
@Data
239230
public static class Smtp {
240231
private String host;

src/main/java/com/faforever/api/mautic/MauticApiErrorHandler.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/main/java/com/faforever/api/mautic/MauticApiException.java

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/main/java/com/faforever/api/mautic/MauticErrorResponse.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/java/com/faforever/api/mautic/MauticService.java

Lines changed: 0 additions & 88 deletions
This file was deleted.

src/main/resources/config/application.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ faf-api:
4646
small-previews-url-format: ${MAP_SMALL_PREVIEWS_URL_FORMAT:https://content.${FAF_DOMAIN}/maps/previews/small/%s}
4747
large-previews-url-format: ${MAP_LARGE_PREVIEWS_URL_FORMAT:https://content.${FAF_DOMAIN}/maps/previews/large/%s}
4848
download-url-format: ${MAP_DOWNLOAD_URL_FORMAT:https://content.${FAF_DOMAIN}/maps/%s}
49-
mautic:
50-
base-url: ${MAUTIC_BASE_URL:false}
51-
client-id: ${MAUTIC_CLIENT_ID:false}
52-
client-secret: ${MAUTIC_CLIENT_SECRET:false}
53-
access-token-url: ${MAUTIC_ACCESS_TOKEN_URL:false}
5449
mod:
5550
target-directory: ${MOD_UPLOAD_PATH:/content/mods}
5651
download-url-format: ${MOD_DOWNLOAD_URL_FORMAT:https://content.${FAF_DOMAIN}/mods/%s}

src/test/java/com/faforever/api/mautic/MauticServiceTest.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)