Skip to content

Commit

Permalink
properly configured wiremock
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzgrewal committed Oct 29, 2024
1 parent f22f05c commit 2a7e76d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "user_recent_openings")
@Table(schema = "silva", name = "user_recent_openings")
public class UserRecentOpeningEntity {

@Id
Expand Down
7 changes: 7 additions & 0 deletions stub/__files/forestclient/findByClientNumber_00149081.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"clientNumber": "00149081",
"clientName": "PAULO CORPORATION OF MARS",
"clientStatusCode": "ACT",
"clientTypeCode": "F",
"acronym": "PGCJ"
}
3 changes: 3 additions & 0 deletions stub/mappings/forestclient_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"transformers": [
"response-template"
],
Expand Down

0 comments on commit 2a7e76d

Please sign in to comment.