From eb7aba595ed94aee9262e99f6185bf4f52af35b6 Mon Sep 17 00:00:00 2001 From: "kevin.shehu" Date: Wed, 9 Feb 2022 19:20:44 +0100 Subject: [PATCH] NEW : REBASE THE ENTIRE WORKING PROJECT --- .gitignore | 2 +- .../java/Credentials/UserCredentials.java | 51 +++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 src/main/java/Credentials/UserCredentials.java diff --git a/.gitignore b/.gitignore index aa09d23..89c4398 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ ### Java template # Compiled class file *.class -src/main/java/Credentials/*.java + src/main/java/Data/*.json node_modules diff --git a/src/main/java/Credentials/UserCredentials.java b/src/main/java/Credentials/UserCredentials.java new file mode 100644 index 0000000..0a9f441 --- /dev/null +++ b/src/main/java/Credentials/UserCredentials.java @@ -0,0 +1,51 @@ +package Credentials; + +public class UserCredentials { + + private final String username = "kevin.shehu@hochschule-rhein-waal.de"; + private final String password = "DK7SxFkGJgnLhnU3"; + private final String baseURL = "https://api.whysor.com/"; + private final String devUrl = "https://api.dev.whysor.com/"; + private static final String homeRoot = + "D:\\WORK\\GGD\\src\\main\\java\\Data\\"; + + public static String getHomeRoot() { + return homeRoot; + } + + public String getUsername() { + return username; + } + + public String getPassword() { + return password; + } + + public String getBaseURL() { + return baseURL; + } + + public String getDevUrl() { + return devUrl; + } + + @Override + public String toString() { + return ( + "UserCredentials{" + + "username='" + + username + + '\'' + + ", password='" + + password + + '\'' + + ", baseURL='" + + baseURL + + '\'' + + ", devUrl='" + + devUrl + + '\'' + + '}' + ); + } +}