package de.fau.amos.virtualledger.server.banking.adorsys.api;

import org.springframework.stereotype.Component;

/**
 * Class that holds all configuration required for the banking api access
 * examples: URL of the banking api, dummy configuration, ...
 */
@Component

public class BankingApiConfiguration {


    private static final String BANKING_API_URL_ABSOLUTE = "https://multibanking-service.dev.adorsys.de:443/api/v1/";
    private static final String BANK_ACCESS_API_URL_RELATIVE = "bankaccesses";
    private static final String BANK_ACCOUNT_API_URL_RELATIVE = "bankaccesses/{accessId}/accounts";
    private static final String BANK_ACCOUNT_SYNC_API_URL_RELATIVE = "bankaccesses/{accessId}/accounts/{accountId}/sync";

    /**
     * username of the test user that does not use adorsys api but dummies
     */
    private static final String TEST_USER_NAME = "test@user.de";



    public String getBankingApiUrlAbsolute() {
        return BANKING_API_URL_ABSOLUTE;
    }

    public String getBankAccessApiUrlRelative() {
        return BANK_ACCESS_API_URL_RELATIVE;
    }

    public String getBankAccountApiUrlRelative() {
        return BANK_ACCOUNT_API_URL_RELATIVE;
    }

    public String getBankAccountSyncApiUrlRelative() {
        return BANK_ACCOUNT_SYNC_API_URL_RELATIVE;
    }


    public String getTestUserName() {
        return TEST_USER_NAME;
    }
}

@@ -250,16 +250,61 @@
 ...%0A */%0A
+@SuppressWarnings(%22SpellCheckingInspection%22)%0A
 @Compone
@@ -306,17 +306,16 @@
 mponent%0A
-%0A
 public c
@@ -926,31 +926,24 @@
 de%22;%0A%0A%0A%0A    
-public 
 String getBa
@@ -962,24 +962,24 @@
 bsolute() %7B%0A
+
         retu
@@ -1010,39 +1010,32 @@
 UTE;%0A    %7D%0A%0A    
-public 
 String getBankAc
@@ -1105,39 +1105,32 @@
 IVE;%0A    %7D%0A%0A    
-public 
 String getBankAc
@@ -1206,31 +1206,24 @@
 %0A    %7D%0A%0A    
-public 
 String getBa
@@ -1317,19 +1317,12 @@
 %7D%0A%0A%0A
+
     
-public 
 Stri

Make BankingApiConfiguration.java methods package-private