chore(ocelet.Development): Anordnen von Ports und Authentifizierungsendpunkten.

This commit is contained in:
Developer 02 2025-03-11 16:46:35 +01:00
parent cbd3accf72
commit e3be4f5e6f
2 changed files with 25 additions and 30 deletions

View File

@ -23,7 +23,7 @@
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger/index.html",
"applicationUrl": "https://localhost:7052;http://localhost:5028", "applicationUrl": "https://localhost:7052;http://localhost:5028",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"

View File

@ -2,72 +2,67 @@
"Routes": [ "Routes": [
{ {
"DownstreamPathTemplate": "/swagger/{route}", "DownstreamPathTemplate": "/swagger/{route}",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 9090 "Port": 7120
} }
], ],
"UpstreamPathTemplate": "/swagger/auth/{route}", "UpstreamPathTemplate": "/swagger/{route}",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [
"Get" "Get"
] ]
}, },
{ {
"DownstreamPathTemplate": "/swagger/{route}", "DownstreamPathTemplate": "/swagger/{route}",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 8088 "Port": 7192
} }
], ],
"UpstreamPathTemplate": "/swagger/{route}", "UpstreamPathTemplate": "/swagger/auth/{route}",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [
"Get" "Get"
] ]
}, },
{ {
"DownstreamPathTemplate": "/api/Auth/{route}", "DownstreamPathTemplate": "/api/Auth/work-flow?cookie=false",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 8088 "Port": 7192
} }
], ],
"UpstreamPathTemplate": "/api/Auth/{route}", "UpstreamPathTemplate": "/api/Auth",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [ "Post" ]
"Get",
"Post"
]
}, },
{ {
"DownstreamPathTemplate": "/api/Auth/login/{id}", "DownstreamPathTemplate": "/api/Auth/check",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 8088 "Port": 7120
} }
], ],
"UpstreamPathTemplate": "/api/Auth/login/{id}", "UpstreamPathTemplate": "/api/Auth/check",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [ "Post" ]
"Post"
]
}, },
{ {
"DownstreamPathTemplate": "/api/{route}", "DownstreamPathTemplate": "/api/{route}",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 8088 "Port": 7120
} }
], ],
"UpstreamPathTemplate": "/api/{route}", "UpstreamPathTemplate": "/api/{route}",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [
"Get", "Get",
"Post", "Post",
"Put", "Put",
@ -76,15 +71,15 @@
}, },
{ {
"DownstreamPathTemplate": "/api/{route}/{id}", "DownstreamPathTemplate": "/api/{route}/{id}",
"DownstreamScheme": "http", "DownstreamScheme": "https",
"DownstreamHostAndPorts": [ "DownstreamHostAndPorts": [
{ {
"Host": "localhost", "Host": "localhost",
"Port": 8088 "Port": 7120
} }
], ],
"UpstreamPathTemplate": "/api/{route}{id}", "UpstreamPathTemplate": "/api/{route}{id}",
"UpstreamHttpMethod": [ "UpstreamhttpsMethod": [
"Get", "Get",
"Delete" "Delete"
] ]