Skip to content

Commit 92ef09f

Browse files
Merge pull request #1320 from grafana/fix/grpcbin-link
fix: replace grpbc.in links with grpcbin.test.k6.io
2 parents 34137b7 + 9bbe93d commit 92ef09f

File tree

71 files changed

+88
-88
lines changed

Some content is hidden

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

71 files changed

+88
-88
lines changed

src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const client = new grpc.Client();
4141
client.load(['definitions'], 'hello.proto');
4242

4343
export default () => {
44-
client.connect('grpcb.in:9001', {
44+
client.connect('grpcbin.test.k6.io:9001', {
4545
// plaintext: false
4646
});
4747

src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/10-Client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ excerpt: 'Client is a gRPC client that can interact with a gRPC server.'
2424
import grpc from 'k6/experimental/grpc';
2525

2626
const client = new grpc.Client();
27-
// Download addsvc.proto for https://grpcb.in/, located at:
27+
// Download addsvc.proto for https://grpcbin.test.k6.io/, located at:
2828
// https://raw.githubusercontent.com/moul/pb/master/addsvc/addsvc.proto
2929
// and put it in the same folder as this script.
3030
client.load(null, 'addsvc.proto');
3131

3232
export default () => {
33-
client.connect('grpcb.in:9001', { timeout: '5s' });
33+
client.connect('grpcbin.test.k6.io:9001', { timeout: '5s' });
3434

3535
const response = client.invoke('addsvc.Add/Sum', {
3636
a: 1,

src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/30-Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const client = new grpc.Client();
2424
client.load(['definitions'], 'hello.proto');
2525

2626
export default () => {
27-
client.connect('grpcb.in:9001', {
27+
client.connect('grpcbin.test.k6.io:9001', {
2828
// plaintext: false
2929
});
3030

src/data/markdown/docs/02 javascript api/07 k6-experimental/02 grpc/40-Constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const client = new grpc.Client();
3737
client.load(['definitions'], 'hello.proto');
3838

3939
export default () => {
40-
client.connect('grpcb.in:9001', {
40+
client.connect('grpcbin.test.k6.io:9001', {
4141
// plaintext: false
4242
});
4343

src/data/markdown/docs/02 javascript api/11 k6-net-grpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const client = new grpc.Client();
3636
client.load(['definitions'], 'hello.proto');
3737

3838
export default () => {
39-
client.connect('grpcb.in:9001', {
39+
client.connect('grpcbin.test.k6.io:9001', {
4040
// plaintext: false
4141
});
4242

src/data/markdown/docs/02 javascript api/11 k6-net-grpc/10-Client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ excerpt: 'Client is a gRPC client that can interact with a gRPC server.'
2525
import grpc from 'k6/net/grpc';
2626

2727
const client = new grpc.Client();
28-
// Download addsvc.proto for https://grpcb.in/, located at:
28+
// Download addsvc.proto for https://grpcbin.test.k6.io/, located at:
2929
// https://raw.githubusercontent.com/moul/pb/master/addsvc/addsvc.proto
3030
// and put it in the same folder as this script.
3131
client.load(null, 'addsvc.proto');
3232

3333
export default () => {
34-
client.connect('grpcb.in:9001', { timeout: '5s' });
34+
client.connect('grpcbin.test.k6.io:9001', { timeout: '5s' });
3535

3636
const response = client.invoke('addsvc.Add/Sum', {
3737
a: 1,

src/data/markdown/docs/02 javascript api/11 k6-net-grpc/30-Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const client = new grpc.Client();
2424
client.load(['definitions'], 'hello.proto');
2525

2626
export default () => {
27-
client.connect('grpcb.in:9001', {
27+
client.connect('grpcbin.test.k6.io:9001', {
2828
// plaintext: false
2929
});
3030

src/data/markdown/docs/02 javascript api/11 k6-net-grpc/40-Constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const client = new grpc.Client();
3737
client.load(['definitions'], 'hello.proto');
3838

3939
export default () => {
40-
client.connect('grpcb.in:9001', {
40+
client.connect('grpcbin.test.k6.io:9001', {
4141
// plaintext: false
4242
});
4343

src/data/markdown/docs/40 xk6-disruptor/04 Examples/01 Inject Grpc faults into Service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This example shows a way to use the [ServiceDisruptor](/javascript-api/xk6-disru
77

88
The complete [source code](#source-code) is at the end of this document. The next sections examine the code in detail.
99

10-
The example uses [grpcpbin](https://grpcb.in), a simple request/response application that offers endpoints for testing different gRPC requests.
10+
The example uses [grpcpbin](https://grpcbin.test.k6.io), a simple request/response application that offers endpoints for testing different gRPC requests.
1111

1212
The test requires `grpcpbin` to be deployed in a cluster in the namespace `grpcbin` and exposed with an external IP. The IP address is expected in the environment variable `GRPC_HOST`.
1313

src/data/markdown/translated-guides/en/07 Testing Guides/01 API load testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ const client = new grpc.Client();
596596
client.load(['definitions'], 'hello.proto');
597597
598598
export default () => {
599-
client.connect('grpcb.in:9001');
599+
client.connect('grpcbin.test.k6.io:9001');
600600
601601
const data = { greeting: 'Bert' };
602602
const response = client.invoke('hello.HelloService/SayHello', data);

0 commit comments

Comments
 (0)