This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Train & Station Information API | |
version: 1.0.0 | |
description: API for managing and retrieving information about trains and stations. | |
servers: | |
- url: https://api.traininfo.com/v1 | |
description: Production server | |
- url: http://localhost:8080/v1 | |
description: Local development server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
openapi: 3.0.1 | |
info: | |
title: Train Ticket MGT API | |
version: 1.0.0 | |
description: This API is for train ticket management related functionality. | |
servers: | |
- url: https://tickets.trainhub.com | |
paths: | |
/trains: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: Accounts API | |
description: API to manage customer accounts | |
contact: {} | |
version: 1.0.0 | |
servers: | |
- url: http://accounts.gub.com/grand-union-bank-unity/accounts-service/v1.0 | |
paths: | |
/accounts: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
rules: | |
api-resources-security-required: | |
description: "Checks that security is enabled for all resources." | |
message: "Security is not enabled for all resources." | |
severity: "error" | |
given: "$.data.operations.*" | |
then: | |
field: "authType" | |
function: "pattern" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Train Ticket Management API | |
description: API for managing train ticket bookings, schedules, and user details. | |
version: 1.0.0 | |
servers: | |
- url: https://api.traintickets.com/v1 | |
description: Production server | |
paths: | |
/trains: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "default", | |
"virtual_hosts": [ | |
{ | |
"name": "localhost", | |
"domains": [ | |
"localhost", | |
"localhost:*" | |
], | |
"routes": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: HTTPRoute | |
metadata: | |
name: http-route-SwaggerPetstore | |
spec: | |
parentRefs: | |
- name: my-gateway | |
hostnames: | |
- "gateway.wso2.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMTokenAPI_" context="/token"> | |
<resource methods="POST" url-mapping="/*" faultSequence="_token_fault_"> | |
<inSequence> | |
<send> | |
<endpoint> | |
<http uri-template="https://localhost:9443/oauth2/token"> | |
<timeout> | |
<duration>60000</duration> | |
<responseAction>fault</responseAction> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin: | |
access_log_path: /tmp/admin_access.log | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 9902 } | |
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 9000 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT) | |
export PATH="/Users/pubudugunatilaka/.rd/bin:$PATH" | |
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)export PATH="/usr/local/opt/openjdk@11/bin:$PATH" | |
export PATH="/usr/local/opt/openjdk@11/bin:$PATH" | |
# export JAVA_HOME="/Users/pubudugunatilaka/Documents/jdk-11.0.18+10/Contents/Home" | |
# Kubernetes | |
alias k=kubectl | |
alias kl='kubectl logs' |
NewerOlder