Skip to content

Commit 3db61e5

Browse files
edburnsCopilot
andcommitted
fix(scenarios): update Java scenario imports from com.github.copilot.sdk to com.github.copilot
The repackage (PR #1437) renamed the SDK packages: - com.github.copilot.sdk → com.github.copilot - com.github.copilot.sdk.json → com.github.copilot.rpc Update all 26 Java test scenarios accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 87820ac commit 3db61e5

52 files changed

Lines changed: 170 additions & 170 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/scenarios/auth/byok-anthropic/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.copilot.sdk.scenarios</groupId>
8+
<groupId>com.github.copilot.scenarios</groupId>
99
<artifactId>scenario-auth-byok-anthropic</artifactId>
1010
<version>1.0.0</version>
1111
<packaging>jar</packaging>

test/scenarios/auth/byok-anthropic/java/src/main/java/Main.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import com.github.copilot.sdk.CopilotClient;
2-
import com.github.copilot.sdk.json.MessageOptions;
3-
import com.github.copilot.sdk.json.ProviderConfig;
4-
import com.github.copilot.sdk.json.SessionConfig;
5-
import com.github.copilot.sdk.json.SystemMessageConfig;
6-
import com.github.copilot.sdk.SystemMessageMode;
1+
import com.github.copilot.CopilotClient;
2+
import com.github.copilot.rpc.MessageOptions;
3+
import com.github.copilot.rpc.ProviderConfig;
4+
import com.github.copilot.rpc.SessionConfig;
5+
import com.github.copilot.rpc.SystemMessageConfig;
6+
import com.github.copilot.SystemMessageMode;
77

88
import java.util.List;
99

test/scenarios/auth/byok-azure/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.copilot.sdk.scenarios</groupId>
8+
<groupId>com.github.copilot.scenarios</groupId>
99
<artifactId>scenario-auth-byok-azure</artifactId>
1010
<version>1.0.0</version>
1111
<packaging>jar</packaging>

test/scenarios/auth/byok-azure/java/src/main/java/Main.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import com.github.copilot.sdk.CopilotClient;
2-
import com.github.copilot.sdk.json.AzureOptions;
3-
import com.github.copilot.sdk.json.MessageOptions;
4-
import com.github.copilot.sdk.json.ProviderConfig;
5-
import com.github.copilot.sdk.json.SessionConfig;
6-
import com.github.copilot.sdk.json.SystemMessageConfig;
7-
import com.github.copilot.sdk.SystemMessageMode;
1+
import com.github.copilot.CopilotClient;
2+
import com.github.copilot.rpc.AzureOptions;
3+
import com.github.copilot.rpc.MessageOptions;
4+
import com.github.copilot.rpc.ProviderConfig;
5+
import com.github.copilot.rpc.SessionConfig;
6+
import com.github.copilot.rpc.SystemMessageConfig;
7+
import com.github.copilot.SystemMessageMode;
88

99
import java.util.List;
1010

test/scenarios/auth/byok-openai/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.copilot.sdk.scenarios</groupId>
8+
<groupId>com.github.copilot.scenarios</groupId>
99
<artifactId>scenario-auth-byok-openai</artifactId>
1010
<version>1.0.0</version>
1111
<packaging>jar</packaging>

test/scenarios/auth/byok-openai/java/src/main/java/Main.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import com.github.copilot.sdk.CopilotClient;
2-
import com.github.copilot.sdk.json.MessageOptions;
3-
import com.github.copilot.sdk.json.ProviderConfig;
4-
import com.github.copilot.sdk.json.SessionConfig;
1+
import com.github.copilot.CopilotClient;
2+
import com.github.copilot.rpc.MessageOptions;
3+
import com.github.copilot.rpc.ProviderConfig;
4+
import com.github.copilot.rpc.SessionConfig;
55

66
public class Main {
77
public static void main(String[] args) throws Exception {

test/scenarios/auth/gh-app/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.copilot.sdk.scenarios</groupId>
8+
<groupId>com.github.copilot.scenarios</groupId>
99
<artifactId>scenario-auth-gh-app</artifactId>
1010
<version>1.0.0</version>
1111
<packaging>jar</packaging>

test/scenarios/auth/gh-app/java/src/main/java/Main.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import com.github.copilot.sdk.CopilotClient;
2-
import com.github.copilot.sdk.json.CopilotClientOptions;
3-
import com.github.copilot.sdk.json.MessageOptions;
4-
import com.github.copilot.sdk.json.SessionConfig;
1+
import com.github.copilot.CopilotClient;
2+
import com.github.copilot.rpc.CopilotClientOptions;
3+
import com.github.copilot.rpc.MessageOptions;
4+
import com.github.copilot.rpc.SessionConfig;
55

66
import java.net.URI;
77
import java.net.http.HttpClient;

test/scenarios/bundling/app-direct-server/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
http://maven.apache.org/xsd/maven-4.0.0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.copilot.sdk.scenarios</groupId>
8+
<groupId>com.github.copilot.scenarios</groupId>
99
<artifactId>scenario-bundling-app-direct-server</artifactId>
1010
<version>1.0.0</version>
1111
<packaging>jar</packaging>

test/scenarios/bundling/app-direct-server/java/src/main/java/Main.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import com.github.copilot.sdk.CopilotClient;
2-
import com.github.copilot.sdk.json.CopilotClientOptions;
3-
import com.github.copilot.sdk.json.MessageOptions;
4-
import com.github.copilot.sdk.json.SessionConfig;
1+
import com.github.copilot.CopilotClient;
2+
import com.github.copilot.rpc.CopilotClientOptions;
3+
import com.github.copilot.rpc.MessageOptions;
4+
import com.github.copilot.rpc.SessionConfig;
55

66
public class Main {
77
public static void main(String[] args) throws Exception {

0 commit comments

Comments
 (0)