File tree Expand file tree Collapse file tree
main/java/software/amazon/lambda/durable
test/java/software/amazon/lambda/durable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public final class DurableConfig {
7272
7373 private static final String VERSION_FILE = "/version.prop" ;
7474 private static final String PROJECT_VERSION = getProjectVersion (VERSION_FILE );
75- private static final String USER_AGENT_SUFFIX = "@ aws/ durable-execution-sdk-java/" + PROJECT_VERSION ;
75+ private static final String USER_AGENT_SUFFIX = "aws- durable-execution-sdk-java/" + PROJECT_VERSION ;
7676
7777 /**
7878 * A default ExecutorService for running user-defined operations. Uses a cached thread pool with daemon threads by
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ void testAddUserAgentSuffix_SetsUserAgentOnBuilder() {
272272 var userAgentSuffix = overrideConfig .advancedOption (SdkAdvancedClientOption .USER_AGENT_SUFFIX );
273273 assertTrue (userAgentSuffix .isPresent (), "USER_AGENT_SUFFIX should be set" );
274274 assertTrue (
275- userAgentSuffix .get ().contains ("@ aws/ durable-execution-sdk-java/" ),
275+ userAgentSuffix .get ().contains ("aws- durable-execution-sdk-java/" ),
276276 "User agent suffix should contain SDK identifier, got: " + userAgentSuffix .get ());
277277 }
278278
@@ -286,7 +286,7 @@ void testAddUserAgentSuffix_PreservesExistingConfiguration() {
286286 var overrideConfig = result .overrideConfiguration ();
287287 var userAgentSuffix = overrideConfig .advancedOption (SdkAdvancedClientOption .USER_AGENT_SUFFIX );
288288 assertTrue (userAgentSuffix .isPresent ());
289- assertTrue (userAgentSuffix .get ().contains ("@ aws/ durable-execution-sdk-java/" ));
289+ assertTrue (userAgentSuffix .get ().contains ("aws- durable-execution-sdk-java/" ));
290290 }
291291
292292 @ Test
You can’t perform that action at this time.
0 commit comments