1
0
Fork 0

first run

This commit is contained in:
Xavier Fontanet 2024-05-19 13:12:47 +02:00
parent 5093a37d92
commit 50292ee85a
1 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,20 @@
package tv.mangrana.worker;
import tv.mangrana.config.ConfigFileLoader;
import tv.mangrana.exception.IncorrectWorkingReferencesException;
import tv.mangrana.sonarr.api.client.gateway.SonarrApiGateway;
public class MainWorker {
private final SonarrApiGateway sonarrApiGateway;
public MainWorker() throws IncorrectWorkingReferencesException {
ConfigFileLoader configFileLoader = new ConfigFileLoader();
sonarrApiGateway = new SonarrApiGateway(configFileLoader);
}
public static void main(String[] args) throws IncorrectWorkingReferencesException {
var worker = new MainWorker();
var queue = worker.sonarrApiGateway.getQueue();
System.out.println(queue);
}
}