Skip to content

Commit

Permalink
Move ClientIdentifiers.java to 'lobby-client' so shared code can read…
Browse files Browse the repository at this point in the history
… it (#12793)

This update consolidates http-client-lib stuff. This is so we can then
read that shared code from the lobby-server, which will allow us to
re-enable the error reporting endpoints
  • Loading branch information
DanVanAtta authored Jul 29, 2024
1 parent 2163a23 commit b1151b6
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 13 deletions.
2 changes: 0 additions & 2 deletions game-app/game-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ dependencies {
implementation project(":game-app:map-data")
implementation project(":game-app:game-relay-server")
implementation project(":http-clients:lobby-client")
implementation project(":http-clients:maps-server")
implementation project(":lib:http-client-lib")
implementation project(":lib:java-extras")
implementation project(":lib:swing-lib")
implementation project(":lib:websocket-client")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import lombok.extern.slf4j.Slf4j;
import org.triplea.config.product.ProductVersionReader;
import org.triplea.domain.data.SystemIdLoader;
import org.triplea.http.client.lib.ClientIdentifiers;
import org.triplea.http.client.ClientIdentifiers;
import org.triplea.http.client.maps.listing.MapDownloadItem;
import org.triplea.http.client.maps.listing.MapsClient;

Expand Down
2 changes: 0 additions & 2 deletions game-app/game-headed/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ dependencies {
implementation project(":game-app:game-core")
implementation project(":game-app:map-data")
implementation project(":http-clients:lobby-client")
implementation project(":http-clients:maps-server")
implementation project(":lib:feign-common")
implementation project(":lib:http-client-lib")
implementation project(":lib:java-extras")
implementation project(":lib:swing-lib")
implementation project(":lib:websocket-client")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import javax.swing.JMenuBar;
import org.triplea.config.product.ProductVersionReader;
import org.triplea.domain.data.SystemIdLoader;
import org.triplea.http.client.lib.ClientIdentifiers;
import org.triplea.http.client.ClientIdentifiers;
import org.triplea.http.client.maps.admin.MapTagAdminClient;
import org.triplea.http.client.maps.listing.MapsClient;
import org.triplea.http.client.web.socket.client.connections.PlayerToLobbyConnection;
Expand Down
1 change: 0 additions & 1 deletion http-clients/game-support-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ dependencies {
implementation "io.github.openfeign:feign-core:$feignVersion"
implementation "io.github.openfeign:feign-gson:$feignVersion"
implementation project(":lib:feign-common")
implementation project(":lib:http-client-lib")
implementation project(":lib:java-extras")
testImplementation "ru.lanwen.wiremock:wiremock-junit5:$wireMockJunit5Version"
testImplementation project(":lib:test-common")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.triplea.http.client.lib;
package org.triplea.http.client;

import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import feign.RequestLine;
import java.net.URI;
import java.util.List;
import org.triplea.http.client.ClientIdentifiers;
import org.triplea.http.client.GenericServerResponse;
import org.triplea.http.client.HttpClient;
import org.triplea.http.client.lib.ClientIdentifiers;

/** Http client for 'map tag' administrative functionality. EG: updating a maps tag value. */
public interface MapTagAdminClient {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import feign.RequestLine;
import java.net.URI;
import java.util.List;
import org.triplea.http.client.ClientIdentifiers;
import org.triplea.http.client.HttpClient;
import org.triplea.http.client.lib.ClientIdentifiers;

/**
* Http client to communicate with the maps server and get a listing of maps available for download.
Expand Down
1 change: 0 additions & 1 deletion http-clients/maps-server/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dependencies {
implementation project(":lib:feign-common")
implementation project(":lib:http-client-lib")
implementation project(":lib:java-extras")
}
2 changes: 0 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ include 'game-app:map-data'
include 'game-app:smoke-testing'
//include 'http-clients:game-support-server'
include 'http-clients:lobby-client'
include 'http-clients:maps-server'
include 'lib:feign-common'
include 'lib:http-client-lib'
include 'lib:java-extras'
include 'lib:swing-lib'
include 'lib:swing-lib-test-support'
Expand Down

0 comments on commit b1151b6

Please sign in to comment.