api-foundry 0.1.12__tar.gz → 0.1.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {api_foundry-0.1.12 → api_foundry-0.1.14}/PKG-INFO +1 -1
- {api_foundry-0.1.12/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging → api_foundry-0.1.14}/api_foundry/scripts/postgres_to_openapi.py +2 -3
- {api_foundry-0.1.12 → api_foundry-0.1.14}/pyproject.toml +2 -3
- {api_foundry-0.1.12 → api_foundry-0.1.14}/.gitignore +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/LICENSE +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/__init__.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/adapters/adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/adapters/case_change_adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/adapters/gateway_adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/archive_builder.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/hash_comparator.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/pulumi/lambda_.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/pulumi/log_group.pv +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/pulumi/rest_api.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/cloudprints/python_archive_builder.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/connectors/connection.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/connectors/connection_factory.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/connectors/oracle_connector.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/connectors/postgres_connection.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/dao.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/operation_dao.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_custom_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_delete_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_insert_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_select_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_subselect_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/dao/sql_update_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/iac/gateway_spec.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/iac/handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/iac/pulumi/api_foundry.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/operation.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/scripts/install_secret.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/services/service.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/services/transactional_service.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/utils/app_exception.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/utils/logger.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/utils/model_factory.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/api_foundry/utils/spec_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/__init__.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/adapters/adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/adapters/case_change_adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/adapters/gateway_adapter.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/archive_builder.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/hash_comparator.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/pulumi/lambda_.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/pulumi/log_group.pv +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/pulumi/rest_api.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/cloudprints/python_archive_builder.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/connectors/connection.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/connectors/connection_factory.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/connectors/oracle_connector.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/connectors/postgres_connection.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/dao.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/operation_dao.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_custom_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_delete_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_insert_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_select_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_subselect_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/dao/sql_update_query_handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/iac/gateway_spec.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/iac/handler.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/iac/pulumi/api_foundry.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/operation.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging}/api_foundry/scripts/postgres_to_openapi.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/services/service.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/services/transactional_service.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/utils/app_exception.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/utils/logger.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/utils/model_factory.py +0 -0
- {api_foundry-0.1.12 → api_foundry-0.1.14}/examples/chinook-postgres-pulumi/temp/chinook_postgres-archive-builder-lambda/staging/api_foundry/utils/spec_handler.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: api-foundry
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.14
|
|
4
4
|
Summary: The `api_foundry` project is a powerful tool designed to automate the deployment of REST APIs on AWS using Lambda services to access and interact with relational databases (RDBMS). This project leverages the OpenAPI specification to define and manage the APIs
|
|
5
5
|
Project-URL: Documentation, https://github.com/DanRepik/api-foundry
|
|
6
6
|
Project-URL: Source, https://github.com/DanRepik/api-foundry
|
|
@@ -69,7 +69,7 @@ class PostgresSchemaToOpenAPI:
|
|
|
69
69
|
primary_keys = {}
|
|
70
70
|
for pk in pks:
|
|
71
71
|
primary_keys[pk["column_name"]] = (
|
|
72
|
-
"auto" if pk["is_identity"] == "YES" else
|
|
72
|
+
"auto" if pk["is_identity"] == "YES" else "manual"
|
|
73
73
|
)
|
|
74
74
|
|
|
75
75
|
return primary_keys
|
|
@@ -120,8 +120,7 @@ class PostgresSchemaToOpenAPI:
|
|
|
120
120
|
if primary_keys[column_name] == "auto":
|
|
121
121
|
column_info[
|
|
122
122
|
"description"
|
|
123
|
-
] = f"Unique identifier for the {table}."
|
|
124
|
-
column_info["example"] = 1
|
|
123
|
+
] = f"Unique identifier for the {table}. Read only"
|
|
125
124
|
|
|
126
125
|
if (
|
|
127
126
|
column_info["type"] == "string"
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "api-foundry"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.14"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Daniel Repik", email="danrepik@icloud.com" },
|
|
10
10
|
]
|
|
@@ -35,10 +35,9 @@ include = ["api_foundry"]
|
|
|
35
35
|
[tool.hatch.build.targets.wheel]
|
|
36
36
|
include = ["api_foundry"]
|
|
37
37
|
|
|
38
|
-
[
|
|
38
|
+
[project.scripts]
|
|
39
39
|
postgres_to_openapi = "api_foundry.scripts.postgres_to_openapi:main"
|
|
40
40
|
install_secret = "api_foundry.scripts.install_secret:main"
|
|
41
|
-
install_secret_2 = "scripts.install_secret:main"
|
|
42
41
|
|
|
43
42
|
[tool.pytest.ini_options]
|
|
44
43
|
markers = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|