Skip to content

Commit e5e753d

Browse files
committed
update
1 parent b679e38 commit e5e753d

2 files changed

Lines changed: 39 additions & 16 deletions

File tree

.github/workflows/samples-java-client-jdk11.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
- samples/client/petstore/java/webclient-useSingleRequestParameter/**
1818
- samples/client/others/java/jersey2-oneOf-duplicates/**
1919
- samples/client/others/java/jersey2-oneOf-Mixed/**
20+
- samples/client/petstore/java/jersey3-oneOf/**
21+
- samples/client/others/java/okhttp-gson-streaming/**
22+
- samples/client/others/java/resteasy/**
23+
- samples/client/others/java/apache-httpclient/**
2024
- samples/client/others/java/resttemplate-list-schema-validation/**
2125
- samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/**
2226
pull_request:
@@ -35,6 +39,10 @@ on:
3539
- samples/client/petstore/java/webclient-useSingleRequestParameter/**
3640
- samples/client/others/java/jersey2-oneOf-duplicates/**
3741
- samples/client/others/java/jersey2-oneOf-Mixed/**
42+
- samples/client/petstore/java/jersey3-oneOf/**
43+
- samples/client/others/java/okhttp-gson-streaming/**
44+
- samples/client/others/java/resteasy/**
45+
- samples/client/others/java/apache-httpclient/**
3846
- samples/client/others/java/resttemplate-list-schema-validation/**
3947
- samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/**
4048
jobs:
@@ -97,6 +105,10 @@ jobs:
97105
- samples/client/others/java/jersey2-oneOf-Mixed/
98106
- samples/client/others/java/resttemplate-list-schema-validation/
99107
- samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/
108+
- samples/client/petstore/java/jersey3-oneOf/
109+
- samples/client/others/java/okhttp-gson-streaming/
110+
- samples/client/petstore/java/resteasy/
111+
- samples/client/petstore/java/apache-httpclient/
100112
steps:
101113
- uses: actions/checkout@v5
102114
- uses: actions/setup-java@v5

.github/workflows/samples-java-petsore-client-jdk11.yaml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Samples Java Client JDK11
1+
name: Samples Java Petsore Client JDK11
22

33
on:
44
push:
55
paths:
66
- samples/client/petstore/java/jersey2-java8/**
77
- samples/openapi3/client/petstore/java/jersey2-java8/**
88
- samples/client/petstore/java/jersey3/**
9-
- samples/client/petstore/java/jersey3-oneOf/**
10-
- samples/client/others/java/okhttp-gson-streaming/**
9+
#- samples/client/petstore/java/jersey3-oneOf/**
10+
#- samples/client/others/java/okhttp-gson-streaming/**
1111
- samples/client/petstore/java/okhttp-gson/**
1212
- samples/client/petstore/java/okhttp-gson-3.1/**
1313
- samples/client/petstore/java/okhttp-gson-dynamicOperations/**
14-
- samples/client/petstore/java/resteasy/**
14+
#- samples/client/petstore/java/resteasy/**
1515
- samples/client/petstore/java-micronaut-client/**
16-
- samples/client/petstore/java/apache-httpclient/**
17-
- samples/client/petstore/java/resttemplate-jakarta/**
16+
#- samples/client/petstore/java/apache-httpclient/**
17+
#- samples/client/petstore/java/resttemplate-jakarta/**
1818
pull_request:
1919
paths:
2020
- samples/client/petstore/java/jersey2-java8/**
2121
- samples/openapi3/client/petstore/java/jersey2-java8/**
2222
- samples/client/petstore/java/jersey3/**
23-
- samples/client/petstore/java/jersey3-oneOf/**
24-
- samples/client/others/java/okhttp-gson-streaming/**
23+
#- samples/client/petstore/java/jersey3-oneOf/**
24+
#- samples/client/others/java/okhttp-gson-streaming/**
2525
- samples/client/petstore/java/okhttp-gson/**
2626
- samples/client/petstore/java/okhttp-gson-3.1/**
2727
- samples/client/petstore/java/okhttp-gson-dynamicOperations/**
28-
- samples/client/petstore/java/resteasy/**
28+
#- samples/client/petstore/java/resteasy/**
2929
- samples/client/petstore/java-micronaut-client/**
30-
- samples/client/petstore/java/apache-httpclient/**
31-
- samples/client/petstore/java/resttemplate-jakarta/**
30+
#- samples/client/petstore/java/apache-httpclient/**
31+
#- samples/client/petstore/java/resttemplate-jakarta/**
3232
jobs:
3333
build:
3434
name: Build Java Client JDK11
@@ -40,17 +40,28 @@ jobs:
4040
- samples/client/petstore/java/jersey2-java8
4141
- samples/openapi3/client/petstore/java/jersey2-java8
4242
- samples/client/petstore/java/jersey3
43-
- samples/client/petstore/java/jersey3-oneOf
44-
- samples/client/others/java/okhttp-gson-streaming
43+
#- samples/client/petstore/java/jersey3-oneOf
44+
#- samples/client/others/java/okhttp-gson-streaming
4545
- samples/client/petstore/java/okhttp-gson
4646
- samples/client/petstore/java/okhttp-gson-3.1
4747
- samples/client/petstore/java/okhttp-gson-dynamicOperations
48-
- samples/client/petstore/java/resteasy
48+
#- samples/client/petstore/java/resteasy
4949
- samples/client/petstore/java-micronaut-client
50-
- samples/client/petstore/java/apache-httpclient
51-
- samples/client/petstore/java/resttemplate-jakarta
50+
#- samples/client/petstore/java/apache-httpclient
51+
#- samples/client/petstore/java/resttemplate-jakarta
52+
services:
53+
petstore-api:
54+
image: swaggerapi/petstore
55+
ports:
56+
- 80:8080
57+
env:
58+
SWAGGER_HOST: http://petstore.swagger.io
59+
SWAGGER_BASE_PATH: /v2
5260
steps:
5361
- uses: actions/checkout@v5
62+
- name: Add hosts to /etc/hosts
63+
run: |
64+
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
5465
- uses: actions/setup-java@v5
5566
with:
5667
distribution: 'temurin'

0 commit comments

Comments
 (0)