-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add agrirouter 2 QA environment definition
- Loading branch information
1 parent
f781eaa
commit 264325c
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
agrirouter-sdk-java-api/src/main/java/com/dke/data/agrirouter/api/env/Ar2QA.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |