Skip to content

Commit

Permalink
feature(wsgi): pre-fork worker model module (#155)
Browse files Browse the repository at this point in the history
* add wsgi

* linting and test fixing

* fix redis_streams test

* sanitize options on cli

* bump version and requirements update

* fix test

* add tests for cli

* fix tests

* update openapi

* update release notes

* update docs

* cleanup

* update deps
  • Loading branch information
pcanto-hopeit committed Mar 23, 2023
1 parent 1e1689e commit 51906cc
Show file tree
Hide file tree
Showing 22 changed files with 375 additions and 127 deletions.
20 changes: 10 additions & 10 deletions apps/examples/client-example/api/openapi.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.16",
"version": "0.17",
"title": "Client Example",
"description": "Client Example"
},
"paths": {
"/api/config-manager/0x16/runtime-apps-config": {
"/api/config-manager/0x17/runtime-apps-config": {
"get": {
"summary": "Config Manager: Runtime Apps Config",
"description": "Returns the runtime config for the Apps running on this server",
Expand Down Expand Up @@ -62,11 +62,11 @@
}
},
"tags": [
"config_manager.0x16"
"config_manager.0x17"
]
}
},
"/api/config-manager/0x16/cluster-apps-config": {
"/api/config-manager/0x17/cluster-apps-config": {
"get": {
"summary": "Config Manager: Cluster Apps Config",
"description": "Handle remote access to runtime configuration for a group of hosts",
Expand Down Expand Up @@ -122,11 +122,11 @@
}
},
"tags": [
"config_manager.0x16"
"config_manager.0x17"
]
}
},
"/api/client-example/0x16/count-and-save": {
"/api/client-example/0x17/count-and-save": {
"get": {
"summary": "Client Example: Count Objects and Save new one",
"description": "Count all available Something objects connecting to simple-example app",
Expand Down Expand Up @@ -193,7 +193,7 @@
}
},
"tags": [
"client_example.0x16"
"client_example.0x17"
],
"security": [
{
Expand All @@ -202,7 +202,7 @@
]
}
},
"/api/client-example/0x16/handle-responses": {
"/api/client-example/0x17/handle-responses": {
"get": {
"summary": "Client Example: Handle Responses",
"description": "Non default responses and UnhandledResponse exception\n\nTo manage different types of responses from the same endpoint we can use the `responses` parameter where we list the\nhttp response status codes expected and the corresponding data type for each one. In this example `app_call` expect\nand handle, 200 and 404 responses.\n\nAlso in the code you can see how to handle an expection of type `UnhandledResponse` and log as warining.",
Expand Down Expand Up @@ -287,7 +287,7 @@
}
},
"tags": [
"client_example.0x16"
"client_example.0x17"
],
"security": [
{
Expand Down Expand Up @@ -757,7 +757,7 @@
},
"engine_version": {
"type": "string",
"default": "0.16.8"
"default": "0.17.0"
}
},
"x-module-name": "hopeit.server.config",
Expand Down

0 comments on commit 51906cc

Please sign in to comment.