Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions conf/ApplicationServer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@ SSO_DOMAIN = @ApplicationServer.SSO_DOMAIN@

JWT_COOKIE_KEY = @ApplicationServer.JWT_COOKIE_KEY@
JWT_V3_COOKIE_KEY = @ApplicationServer.JWT_V3_COOKIE_KEY@

DIRECT_API_SERVICE_ENDPOINT = @ApplicationServer.DIRECT_API_SERVICE_ENDPOINT@
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* Version 1.1 (TopCoder Direct - My Created Challenges)
* <ul>
* <li>Added {@link #JWT_COOOKIE_KEY}</li>
* <li>Added {@link #DIRECT_API_SERVICE_ENDPOINT}</li>
* </ul>
* </p>
*
Expand All @@ -24,8 +23,8 @@
* </p>
*
*
* @author GreatKevin, TCCoder
* @version 1.2
* @author GreatKevin, TCCoder
* @version 1.2
* @since 1.0 (Tokenize the server part of URLs used in TopCoder Direct)
*/
public class ServerConfiguration extends ApplicationServer {
Expand Down Expand Up @@ -58,12 +57,5 @@ public class ServerConfiguration extends ApplicationServer {
*/
public static String JWT_COOOKIE_KEY = bundle.getProperty("JWT_COOKIE_KEY", "tcjwt");

/**
* The end point URL of the direct API. The default value is set to empty
*
* @since 1.1
*/
public static String DIRECT_API_SERVICE_ENDPOINT = bundle.getProperty("DIRECT_API_SERVICE_ENDPOINT", "");

public static String JWT_V3_COOKIE_KEY = bundle.getProperty("JWT_V3_COOKIE_KEY", "v3jwt");
}
1 change: 0 additions & 1 deletion token.properties.docker
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@
#####################################
@ApplicationServer.JWT_COOKIE_KEY@=tcjwt_vm
@ApplicationServer.JWT_V3_COOKIE_KEY@=v3jwt
@ApplicationServer.DIRECT_API_SERVICE_ENDPOINT@= direct.dev.topcoder.com/direct/api/v2/

@memberSearchApiUrl@=https://tc-api.cloud.topcoder.com:8443/v3/members/_suggest/
@groupMemberSearchApiUrl@=https://cockpit.cloud.topcoder.com/direct/group/member?handle=
Expand Down
2 changes: 0 additions & 2 deletions token.properties.example
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@
@ApplicationServer.JWT_COOKIE_KEY@=tcjwt
@ApplicationServer.JWT_V3_COOKIE_KEY@=v3jwt

@ApplicationServer.DIRECT_API_SERVICE_ENDPOINT@= direct.dev.topcoder.com/direct/api/v2/


#######################################
# securityGroupApplicationContext.xml #
Expand Down