Skip to content

Commit

Permalink
add agrirouter 2 QA environment definition
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverrahner committed Jun 28, 2024
1 parent f781eaa commit 264325c
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.dke.data.agrirouter.api.env;

/**
* Abstraction of the QA environment, currently no overrides because the default is QA already.
*/
public abstract class Ar2QA implements Environment {

private static final String ENV_BASE_URL = "https://app.qa.agrirouter.farm";
private static final String API_PREFIX = "/api/v1.0";
private static final String REGISTRATION_SERVICE_URL =
"https://endpoint-service.qa.agrirouter.farm";

@Override
public String getEnvironmentBaseUrl() {
return ENV_BASE_URL;
}

@Override
public String getApiPrefix() {
return API_PREFIX;
}

@Override
public String getRegistrationServiceUrl() {
return REGISTRATION_SERVICE_URL;
}
}

0 comments on commit 264325c

Please sign in to comment.