Switch to the local server, atlas server will shut down shortly.

This commit is contained in:
James Quinley 2023-02-04 12:42:23 -08:00
parent f025d0754c
commit a6d2694517

View File

@ -72,7 +72,7 @@ public class delegationServices {
} }
//TODO get switcher working, NPE currently triggers on post init, move below code block into if statement, or outside of it so it will do the same thing regardless of t/f switch output //TODO get switcher working, NPE currently triggers on post init, move below code block into if statement, or outside of it so it will do the same thing regardless of t/f switch output
static ConnectionString AccountCon = new ConnectionString("mongodb+srv://DelegationServerClient:UNxldb8abSJkWscG@account.ufgrh.mongodb.net/account?retryWrites=true&w=majority"); static ConnectionString AccountCon = new ConnectionString("mongodb://accountserver:x2sJ8Qu0VVMifNLX@192.168.1.5:27017/account?retryWrites=true&w=majority");
static MongoClientSettings AccountSettings = MongoClientSettings.builder() static MongoClientSettings AccountSettings = MongoClientSettings.builder()
.applyConnectionString(AccountCon) .applyConnectionString(AccountCon)
.applyToSocketSettings(builder -> .applyToSocketSettings(builder ->
@ -1464,12 +1464,6 @@ public class delegationServices {
//delegationTimer.trigger(); //delegationTimer.trigger();
} }
} }
if (requesttype == 14) {
//TODO Finish making a secure deletion process.
String requestClientUUID = (String) Lrequest.get("UUID");
String requestClientToken = (String) Lrequest.get("token");
String requestClientMAC = (String) Lrequest.get("mac");
}
if (requesttype == 61) { if (requesttype == 61) {
BasicDBObject searchQuery = new BasicDBObject(); BasicDBObject searchQuery = new BasicDBObject();
searchQuery.append("_id", ClientID); searchQuery.append("_id", ClientID);