File tree 18 files changed +4442
-95
lines changed
kubernetes/infrastructure
course-composite-service/src/main/resources
course-service/src/main/resources
review-service/src/main/resources
spring-cloud/gateway-service/src/main/resources
18 files changed +4442
-95
lines changed Original file line number Diff line number Diff line change 1
1
meta {
2
2
name: AccessToken
3
3
type: http
4
- seq: 2
4
+ seq: 1
5
5
}
6
6
7
7
post {
Original file line number Diff line number Diff line change 1
1
meta {
2
2
name: Add Course
3
3
type: http
4
- seq: 4
4
+ seq: 2
5
5
}
6
6
7
7
post {
Original file line number Diff line number Diff line change 1
1
meta {
2
2
name: Add Review
3
3
type: http
4
- seq: 5
4
+ seq: 3
5
5
}
6
6
7
7
post {
Original file line number Diff line number Diff line change 1
1
meta {
2
2
name: Course-Composite
3
3
type: http
4
- seq: 3
4
+ seq: 4
5
5
}
6
6
7
7
get {
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ vars {
2
+ keycloakBaseUrl: http://localhost:8081
3
+ baseUrl: http://localhost:9000
4
+ }
Original file line number Diff line number Diff line change
1
+ vars {
2
+ keycloakBaseUrl: http://keycloak.local
3
+ baseUrl: http://127.0.0.1
4
+ }
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ openapi : 3.0.3
2
+ info :
3
+ title : apis
4
+ version : 1.0.0
5
+ contact : {}
6
+ servers :
7
+ - url : http://localhost:8081
8
+ - url : http://localhost:9000
9
+ paths :
10
+ /realms/course-management-realm/protocol/openid-connect/token :
11
+ post :
12
+ summary : AccessToken
13
+ description : ' '
14
+ operationId : accesstoken
15
+ requestBody :
16
+ content :
17
+ application/x-www-form-urlencoded :
18
+ schema :
19
+ type : object
20
+ properties :
21
+ client_id :
22
+ type : string
23
+ example : course-app
24
+ client_secret :
25
+ type : string
26
+ example : v1sCIPjANbvyJ87RsTkYeI9xHonDqZh7
27
+ grant_type :
28
+ type : string
29
+ example : password
30
+ password :
31
+ type : string
32
+ example : password
33
+ scope :
34
+ type : string
35
+ example : openid roles
36
+ username :
37
+ type : string
38
+ example : nasruddin
39
+ examples :
40
+ AccessToken :
41
+ value :
42
+ client_id : course-app
43
+ client_secret : v1sCIPjANbvyJ87RsTkYeI9xHonDqZh7
44
+ grant_type : password
45
+ password : password
46
+ scope : openid roles
47
+ username : nasruddin
48
+ responses :
49
+ ' 200 ' :
50
+ description : ' '
51
+ security :
52
+ - {}
53
+ /courses :
54
+ post :
55
+ summary : Add Course
56
+ description : ' '
57
+ operationId : addCourse
58
+ requestBody :
59
+ content :
60
+ application/json :
61
+ schema :
62
+ type : object
63
+ properties :
64
+ author :
65
+ type : string
66
+ example : John Doe
67
+ price :
68
+ type : number
69
+ example : 29.79
70
+ publisher :
71
+ type : string
72
+ example : Whatsapp
73
+ title :
74
+ type : string
75
+ example : Microservices with Quarkus
76
+ examples :
77
+ Add Course :
78
+ value :
79
+ author : John Doe
80
+ price : 29.79
81
+ publisher : Whatsapp
82
+ title : Microservices with Quarkus
83
+ responses :
84
+ ' 200 ' :
85
+ description : ' '
86
+ security :
87
+ - bearerAuth : []
88
+ /reviews :
89
+ post :
90
+ summary : Add Review
91
+ description : ' '
92
+ operationId : addReview
93
+ requestBody :
94
+ content :
95
+ application/json :
96
+ schema :
97
+ type : object
98
+ properties :
99
+ author :
100
+ type : string
101
+ example : John Doe
102
+ content :
103
+ type : string
104
+ example : Amazing book and loved reading it
105
+ courseId :
106
+ type : number
107
+ example : 2
108
+ email :
109
+ type : string
110
+
111
+ examples :
112
+ Add Review :
113
+ value :
114
+ author : John Doe
115
+ content : Amazing book and loved reading it
116
+ courseId : 2
117
+
118
+ responses :
119
+ ' 200 ' :
120
+ description : ' '
121
+ security :
122
+ - bearerAuth : []
123
+ /course-aggregate/4/with-details :
124
+ get :
125
+ summary : Course-Composite
126
+ description : ' '
127
+ operationId : courseComposite
128
+ parameters :
129
+ - name : ' '
130
+ in : header
131
+ schema :
132
+ type : string
133
+ example : ' '
134
+ responses :
135
+ ' 200 ' :
136
+ description : ' '
137
+ security :
138
+ - bearerAuth : []
139
+ components :
140
+ securitySchemes :
141
+ bearerAuth :
142
+ type : http
143
+ scheme : bearer
144
+ tags : []
You can’t perform that action at this time.
0 commit comments