Skip to content

Commit 6c93d1f

Browse files
committed
chore: renamed nuvolaris module
renamed nuvolaris module to openserverless
1 parent 2ce2289 commit 6c93d1f

23 files changed

Lines changed: 43 additions & 40 deletions

.vscode/launch.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
2-
// Usare IntelliSense per informazioni sui possibili attributi.
3-
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
4-
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
52
"version": "0.2.0",
63
"configurations": [
74
{
85
"name": "Debug OpenServerless Admin API",
96
"type": "debugpy",
107
"request": "launch",
11-
"module": "nuvolaris"
8+
"module": "openserverless"
129
}
1310

1411
]

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# OpenServerless Admin API
22

3+
## Project description
4+
35
Lighweight OpenServerless Admin REST API Layer.
46

7+
Available APIs at the moment:
8+
9+
### Authentication API
10+
11+
`POST /system/api/v1/auth` - Perform the user Authentication relying on wsku metadata stored into internal CouchDB.
12+
13+
`PATCH /system/api/v1/auth/{login}` - Update the user password patching the corresponding wsku/\<login\> entry.
14+
15+
### Info API
16+
17+
`GET /system/info` - Info endpoint
18+
519

620
## Developer instructions
721

@@ -14,6 +28,6 @@ Give the command task `setup-developer` will:
1428
- install dependencies
1529

1630
After that, you can use VSCode debugger to start the application.
17-
Otherwise you can give an `uv run -m nuvolaris` to start.
31+
Otherwise you can give an `uv run -m openserverless` to start.
1832

1933
Open http://localhost:5002/system/apidocs/ to see the API documentation.

olaris-api/env.tpl

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464

6565
listen_port = os.environ.get("LISTEN_PORT", "5000")
6666

67-
import nuvolaris.rest.api
68-
import nuvolaris.rest.auth
67+
import openserverless.rest.api
68+
import openserverless.rest.auth
6969

70-
if __name__ == "nuvolaris":
70+
if __name__ == "openserverless":
7171
from waitress import serve
7272
serve(app, host="0.0.0.0", port=listen_port)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
from base64 import b64decode
2424
from .validation import is_empty_arg
2525

26-
from nuvolaris.config.app_config import AppConfig
27-
from nuvolaris.error.config_exception import ConfigException
26+
from openserverless.config.app_config import AppConfig
27+
from openserverless.error.config_exception import ConfigException
2828

2929
SERVICE_HOST_ENV_NAME = "KUBERNETES_SERVICE_HOST"
3030
SERVICE_PORT_ENV_NAME = "KUBERNETES_SERVICE_PORT"

nuvolaris/common/openwhisk_authorize.py renamed to openserverless/common/openwhisk_authorize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#
1818
from base64 import b64decode, b64encode
1919
from urllib.parse import quote, unquote
20-
from nuvolaris.couchdb.couchdb_util import CouchDB
21-
from nuvolaris.error.api_error import EncodeError, DecodeError, AuthorizationError
20+
from openserverless.couchdb.couchdb_util import CouchDB
21+
from openserverless.error.api_error import EncodeError, DecodeError, AuthorizationError
2222

2323
import json
2424
import os
File renamed without changes.

0 commit comments

Comments
 (0)