omnata-plugin-devkit 0.15.1a253__tar.gz → 0.15.2__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.
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/PKG-INFO +1 -1
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/pyproject.toml +1 -1
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/integration_testing.py +119 -89
- omnata_plugin_devkit-0.15.1a253/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/index-DylCeKJh.js → omnata_plugin_devkit-0.15.2/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/index-xyaBmWMr.js +1 -1
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/index.html +1 -1
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/App.tsx +1 -1
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/LICENSE +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/README.md +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/airbyte_wrapper.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/cli/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/development.ipynb +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/development_session.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/initialiser.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/API_LIMITS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/ASSIGN_OUTBOUND_TARGET_TYPE.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/BACKFILL_CONNECTIONS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CHECK_CONNECTION_PROGRESS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/COMPLETE_CONNECTION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CONFIGURATION_FORM.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CONFIGURE_APIS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CONNECTION_FORM.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CONNECTION_TEST.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CONSTRUCT_FORM_OPTION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_BILLING_EVENTS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_GENERIC_SECRET_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_GENERIC_SECRET_OBJECT_FROM_EXISTING.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_NETWORK_RULE_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_NETWORK_RULE_OBJECT_FROM_EXISTING.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/CREATE_OAUTH_SECRET_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DELETE_CONNECTION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DROP_CONFIGURATION_DEFINITION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DROP_INTEGRATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DROP_NETWORK_RULES.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DROP_SECRETS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/DROP_SPECIFICATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/FETCH_CONNECTIONS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/FETCH_CONNECTIONS_LEGACY.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/FETCH_SYNCS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/FETCH_SYNC_BRANCHES.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/GET_MISSING_APP_PRIVILEGES.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/INBOUND_LIST_STREAMS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/LIST_APP_SPECIFICATIONS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/LIST_STAGES.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/MIGRATE_CONNECTION_STATE.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/NETWORK_ADDRESSES.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/NGROK_POST_TUNNEL_FIELDS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/OUTBOUND_RECORD_VALIDATOR.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/PENDING_API_CONFIGURATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/POST_INSTALL_ACTIONS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/RENAME_CONNECTION_METHODS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/RETRIEVE_NETWORK_RULE_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/RETRIEVE_SECRETS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/RETRIEVE_SECRETS_UDF.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/SET_CONNECTION_OBJECTS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/SET_EAI_ACTIVE.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/SET_EAI_SPECIFICATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/SET_SI_SPECIFICATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/SYNC.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/TEST_CALLBACK.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/TEST_OAUTH_TOKEN_EXISTS.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/TUNNEL_TEST.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/UPDATE_API_CONFIGURATION.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/UPDATE_GENERIC_SECRET_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/UPDATE_GENERIC_SECRET_OBJECT_OLD.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/UPDATE_NETWORK_RULE_OBJECT.sql.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/jinja_templates/manifest.yml.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/native_app_packaging.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_registration.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_template/icon.svg +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_template/plugin.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_template/plugin_development.ipynb +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_template/requirements.txt +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/plugin_uploader.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/config.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/constants.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/exceptions.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/secure_path.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/secure_utils.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/utils/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/api/utils/types.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/app/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/app/snow_connector.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/models.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/package/__init__.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/package_utils.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/snowpark_shared.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/venv.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/plugins/snowpark/zipper.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/snowcli/cli/templates/environment.yml.jinja +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/environment.yml +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/index-SCJFQcpn.css +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-300-normal-D0x1uCa7.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-300-normal-DzUz0kzv.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-400-normal-BepgbcUK.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-400-normal-CBPI_iaY.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-500-normal-C8ZOEKN4.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-500-normal-CLao9AfR.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-700-normal-C2o7G-SM.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-700-normal-D8g9KsRf.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-300-normal-C0UYUNTV.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-300-normal-DIxttMbC.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-400-normal-DhDk0Xwi.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-400-normal-qHufge6k.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-500-normal-BWC_xYeb.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-500-normal-SCgicl0l.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-700-normal-BWOtdzfy.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-cyrillic-ext-700-normal-DmFxo5wj.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-300-normal-DJEM9B4Z.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-300-normal-xS8CB6LN.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-400-normal-D904r64h.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-400-normal-ai2Z1K3C.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-500-normal-C9AnhcmC.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-500-normal-XBIQOowA.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-700-normal-0aHWxGLu.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-greek-700-normal-xQsEWSIA.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-300-normal-CCzlftfr.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-300-normal-Dqn3NW0Y.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-400-normal-BqEyEoaF.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-400-normal-D27F5sTu.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-500-normal-7RbcRiD8.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-500-normal-fsTFPL3E.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-700-normal-BZpUvMxY.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-700-normal-YuyVweIx.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-300-normal-B0-sTZUp.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-300-normal-B90pq-BC.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-400-normal-C3tdtHj3.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-400-normal-CIveymTr.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-500-normal-C1cK9xmS.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-500-normal-pMCM9Ixg.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-700-normal-BDePAh3g.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-latin-ext-700-normal-DSBUz0N1.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-300-normal-5dF_7mZP.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-300-normal-CkwMvXpj.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-400-normal-BEFej5gc.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-400-normal-D6sS4O5l.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-500-normal-BNGXE_xU.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-500-normal-C4NU9gLX.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-700-normal-B8YqGHVc.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-math-700-normal-DbhUef31.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-300-normal-CBIeSvs3.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-300-normal-DDU7avhj.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-400-normal-C7tGlxgb.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-400-normal-CB1Ce4Gk.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-500-normal-B_CZKVJS.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-500-normal-DFnofPUt.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-700-normal-BiFDindJ.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-symbols-700-normal-C59U6HqI.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-300-normal-BPvXm_f1.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-300-normal-CYjuQheQ.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-400-normal-Bf76hAzZ.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-400-normal-D2PTxGxD.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-500-normal-B3ncpOoB.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-500-normal-BgoYVz-9.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-700-normal-BEVeWqJt.woff2 +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/dist/assets/roboto-vietnamese-700-normal-kpkdMgbf.woff +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/index.html +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/package.json +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/pnpm-lock.yaml +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/pnpm-workspace.yaml +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/StreamlitBridge.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Connections/ArchitectureDiagram.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Connections/ConnectionCard.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Connections/ConnectionMetrics.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Connections/ConnectionsList.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Connections/ParameterViewer.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/FontComponent/export.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/FontComponent/index.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/Header.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/PluginInfo/PluginInfoTab.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/ProcsUdfs/ProcsUdfsTab.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/RegistrationWizard/InstallStep.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/RegistrationWizard/RegisterStep.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/RegistrationWizard/RoleGrantStep.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/RegistrationWizard/SqlCodeBlock.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/components/RegistrationWizard/WelcomeStep.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/main.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/themes.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/types.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/ColorPalette/ColorPaletteContextSelector.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/ColorPalette/DefaultColorPaletteItem.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/ColorPalette/TagsColorPalette.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/ScrollbarStyles.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/drawerStyles.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/src/utils/tabPanel.tsx +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/tsconfig.json +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/frontend/vite.config.ts +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/streamlit/plugin_configuration.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/test_step_definitions.py +0 -0
- {omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/utils.py +0 -0
|
@@ -15,6 +15,10 @@ default, so most tests never need to pass them:
|
|
|
15
15
|
|
|
16
16
|
- ``PLUGIN_APP_NAME`` - the installed plugin application (e.g. ``OMNATA_HUBSPOT_APP``).
|
|
17
17
|
- ``CONNECTION_SLUG`` - the slug of the plugin connection to sync against.
|
|
18
|
+
- ``PLUGIN_ID`` - the plugin ID, used to look up connection credentials in
|
|
19
|
+
``OMNATA_PLUGIN_TEST_DATA.COMMON.DEV_CREDENTIALS`` (keyed on plugin ID + slug).
|
|
20
|
+
- ``FORCE_RECREATE_CONNECTION`` - optional; ``true`` reapplies the stored credentials
|
|
21
|
+
to an existing connection (e.g. after they have been rotated).
|
|
18
22
|
|
|
19
23
|
Every helper that needs them accepts optional ``app_name`` / ``connection_slug``
|
|
20
24
|
keyword arguments that take precedence over the environment. The environment is read
|
|
@@ -207,6 +211,9 @@ logger = logging.getLogger(__name__)
|
|
|
207
211
|
DEFAULT_TEMP_SCHEMA = "CONSUMER_TEMP_DATA"
|
|
208
212
|
APP_NAME_ENV_VAR = "PLUGIN_APP_NAME"
|
|
209
213
|
CONNECTION_SLUG_ENV_VAR = "CONNECTION_SLUG"
|
|
214
|
+
PLUGIN_ID_ENV_VAR = "PLUGIN_ID"
|
|
215
|
+
FORCE_RECREATE_ENV_VAR = "FORCE_RECREATE_CONNECTION"
|
|
216
|
+
DEV_CREDENTIALS_TABLE = "OMNATA_PLUGIN_TEST_DATA.COMMON.DEV_CREDENTIALS"
|
|
210
217
|
|
|
211
218
|
|
|
212
219
|
@pytest.fixture(scope="session")
|
|
@@ -252,6 +259,70 @@ def resolve_app_name(app_name: Optional[str] = None) -> str:
|
|
|
252
259
|
return _from_env(app_name, APP_NAME_ENV_VAR)
|
|
253
260
|
|
|
254
261
|
|
|
262
|
+
def resolve_plugin_id(plugin_id: Optional[str] = None) -> str:
|
|
263
|
+
"""Return ``plugin_id`` if given, otherwise the ``PLUGIN_ID`` environment variable."""
|
|
264
|
+
return _from_env(plugin_id, PLUGIN_ID_ENV_VAR)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
def _env_flag(env_var: str) -> bool:
|
|
268
|
+
return (os.getenv(env_var) or "").strip().lower() in ("1", "true", "yes", "on")
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
def _as_dict(value: Any) -> Dict[str, Any]:
|
|
272
|
+
if value is None:
|
|
273
|
+
return {}
|
|
274
|
+
if isinstance(value, str):
|
|
275
|
+
value = json.loads(value)
|
|
276
|
+
return value if isinstance(value, dict) else {}
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
def get_dev_credentials(
|
|
280
|
+
session: Session, connection_slug: Optional[str] = None, plugin_id: Optional[str] = None
|
|
281
|
+
) -> Dict[str, Any]:
|
|
282
|
+
"""Look up the connection method, parameters and secrets for a connection from
|
|
283
|
+
``OMNATA_PLUGIN_TEST_DATA.COMMON.DEV_CREDENTIALS``, keyed on plugin ID and connection slug.
|
|
284
|
+
|
|
285
|
+
Raises a ``RuntimeError`` listing the slugs available for the plugin if there is no match.
|
|
286
|
+
"""
|
|
287
|
+
plugin_id = resolve_plugin_id(plugin_id)
|
|
288
|
+
connection_slug = resolve_connection_slug(connection_slug)
|
|
289
|
+
rows = session.sql(
|
|
290
|
+
f"SELECT CONNECTION_METHOD, CONNECTION_PARAMETERS, CONNECTION_SECRETS "
|
|
291
|
+
f"FROM {DEV_CREDENTIALS_TABLE} WHERE PLUGIN_ID = ? AND CONNECTION_SLUG = ?",
|
|
292
|
+
[plugin_id, connection_slug],
|
|
293
|
+
).collect()
|
|
294
|
+
if not rows:
|
|
295
|
+
available = [
|
|
296
|
+
r["CONNECTION_SLUG"]
|
|
297
|
+
for r in session.sql(
|
|
298
|
+
f"SELECT CONNECTION_SLUG FROM {DEV_CREDENTIALS_TABLE} WHERE PLUGIN_ID = ? ORDER BY 1",
|
|
299
|
+
[plugin_id],
|
|
300
|
+
).collect()
|
|
301
|
+
]
|
|
302
|
+
if available:
|
|
303
|
+
hint = f"Connection slugs available for plugin '{plugin_id}': {available}."
|
|
304
|
+
else:
|
|
305
|
+
hint = (
|
|
306
|
+
f"There are no rows at all for plugin '{plugin_id}' - check the {PLUGIN_ID_ENV_VAR} "
|
|
307
|
+
f"environment variable, or add credentials for this plugin."
|
|
308
|
+
)
|
|
309
|
+
raise RuntimeError(
|
|
310
|
+
f"No credentials found in {DEV_CREDENTIALS_TABLE} for plugin '{plugin_id}' and "
|
|
311
|
+
f"connection slug '{connection_slug}'. {hint}"
|
|
312
|
+
)
|
|
313
|
+
if len(rows) > 1:
|
|
314
|
+
raise RuntimeError(
|
|
315
|
+
f"Found {len(rows)} rows in {DEV_CREDENTIALS_TABLE} for plugin '{plugin_id}' and "
|
|
316
|
+
f"connection slug '{connection_slug}'; expected exactly one."
|
|
317
|
+
)
|
|
318
|
+
row = rows[0]
|
|
319
|
+
return {
|
|
320
|
+
"connection_method": row["CONNECTION_METHOD"],
|
|
321
|
+
"connection_parameters": _as_dict(row["CONNECTION_PARAMETERS"]),
|
|
322
|
+
"connection_secrets": _as_dict(row["CONNECTION_SECRETS"]),
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
255
326
|
def resolve_connection_slug(connection_slug: Optional[str] = None) -> str:
|
|
256
327
|
"""Return ``connection_slug`` if given, otherwise the ``CONNECTION_SLUG`` environment variable."""
|
|
257
328
|
return _from_env(connection_slug, CONNECTION_SLUG_ENV_VAR)
|
|
@@ -334,43 +405,59 @@ def ensure_connection(
|
|
|
334
405
|
connectivity_option: str = "direct",
|
|
335
406
|
connection_name: Optional[str] = None,
|
|
336
407
|
auto_approve_spec: bool = True,
|
|
408
|
+
plugin_id: Optional[str] = None,
|
|
409
|
+
force_recreate: Optional[bool] = None,
|
|
337
410
|
) -> Dict[str, Any]:
|
|
338
|
-
"""
|
|
339
|
-
|
|
411
|
+
"""Ensure the connection exists on the plugin app, creating it if absent.
|
|
412
|
+
|
|
413
|
+
Credentials are read from ``OMNATA_PLUGIN_TEST_DATA.COMMON.DEV_CREDENTIALS`` (keyed on
|
|
414
|
+
``PLUGIN_ID`` and the connection slug); explicitly passed method/parameters/secrets
|
|
415
|
+
override the stored values. An existing connection is left as-is unless
|
|
416
|
+
``force_recreate`` is true (default: the ``FORCE_RECREATE_CONNECTION`` environment
|
|
417
|
+
variable), in which case the stored credentials are reapplied - use this when they
|
|
418
|
+
have been rotated.
|
|
419
|
+
|
|
340
420
|
Returns the connection info dictionary retrieved from PLUGIN.PLUGIN_CONNECTION.
|
|
341
421
|
"""
|
|
342
422
|
app_name = resolve_app_name(app_name)
|
|
343
423
|
connection_slug = resolve_connection_slug(connection_slug)
|
|
424
|
+
if force_recreate is None:
|
|
425
|
+
force_recreate = _env_flag(FORCE_RECREATE_ENV_VAR)
|
|
344
426
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
427
|
+
# Check if connection already exists
|
|
428
|
+
already_exists = False
|
|
429
|
+
try:
|
|
430
|
+
info = get_connection_info(
|
|
431
|
+
session, connection_slug=connection_slug, app_name=app_name
|
|
432
|
+
)
|
|
433
|
+
if info and isinstance(info, dict) and info.get("connection_method"):
|
|
434
|
+
already_exists = True
|
|
435
|
+
except Exception as e:
|
|
436
|
+
logger.info(
|
|
437
|
+
"Connection check for '%s' returned: %s. Proceeding with creation...",
|
|
438
|
+
connection_slug,
|
|
439
|
+
e,
|
|
440
|
+
)
|
|
356
441
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
442
|
+
if already_exists and not force_recreate:
|
|
443
|
+
logger.info(
|
|
444
|
+
"Connection '%s' already exists on plugin app %s. Skipping creation "
|
|
445
|
+
"(set %s=true to reapply credentials).",
|
|
446
|
+
connection_slug,
|
|
447
|
+
app_name,
|
|
448
|
+
FORCE_RECREATE_ENV_VAR,
|
|
449
|
+
)
|
|
450
|
+
return info
|
|
451
|
+
|
|
452
|
+
stored = get_dev_credentials(session, connection_slug=connection_slug, plugin_id=plugin_id)
|
|
453
|
+
resolved_secrets: Dict[str, Any] = {**stored["connection_secrets"], **(connection_secrets or {})}
|
|
454
|
+
resolved_params: Dict[str, Any] = {**stored["connection_parameters"], **(connection_parameters or {})}
|
|
455
|
+
resolved_method = connection_method or stored["connection_method"]
|
|
456
|
+
if not resolved_method:
|
|
457
|
+
raise RuntimeError(
|
|
458
|
+
f"No connection method for '{connection_slug}': CONNECTION_METHOD is empty in "
|
|
459
|
+
f"{DEV_CREDENTIALS_TABLE} and none was passed."
|
|
460
|
+
)
|
|
374
461
|
resolved_conn_name = (
|
|
375
462
|
connection_name
|
|
376
463
|
or os.getenv("CONNECTION_NAME")
|
|
@@ -386,21 +473,6 @@ def ensure_connection(
|
|
|
386
473
|
secret_name = f"SECRET__{slug_upper}"
|
|
387
474
|
spec_name = f"SPEC__{slug_upper}"
|
|
388
475
|
|
|
389
|
-
# Check if connection already exists
|
|
390
|
-
already_exists = False
|
|
391
|
-
try:
|
|
392
|
-
info = get_connection_info(
|
|
393
|
-
session, connection_slug=connection_slug, app_name=app_name
|
|
394
|
-
)
|
|
395
|
-
if info and isinstance(info, dict) and info.get("connection_method"):
|
|
396
|
-
already_exists = True
|
|
397
|
-
except Exception as e:
|
|
398
|
-
logger.info(
|
|
399
|
-
"Connection check for '%s' returned: %s. Proceeding with creation...",
|
|
400
|
-
connection_slug,
|
|
401
|
-
e,
|
|
402
|
-
)
|
|
403
|
-
|
|
404
476
|
# Discover network addresses if not provided
|
|
405
477
|
resolved_network_addresses = network_addresses
|
|
406
478
|
if resolved_network_addresses is None:
|
|
@@ -421,51 +493,9 @@ def ensure_connection(
|
|
|
421
493
|
if resolved_network_addresses is None:
|
|
422
494
|
resolved_network_addresses = []
|
|
423
495
|
|
|
424
|
-
if already_exists:
|
|
425
|
-
if norm_secrets:
|
|
426
|
-
logger.info(
|
|
427
|
-
"Connection '%s' already exists on %s. Syncing latest secrets/parameters...",
|
|
428
|
-
connection_slug,
|
|
429
|
-
app_name,
|
|
430
|
-
)
|
|
431
|
-
set_params = {
|
|
432
|
-
"external_access_integration_name": eai_name,
|
|
433
|
-
"network_rule_name": network_rule_name,
|
|
434
|
-
"network_addresses": resolved_network_addresses,
|
|
435
|
-
"other_secrets_name": secret_name,
|
|
436
|
-
"connection_secrets": norm_secrets,
|
|
437
|
-
"external_access_integration_spec_name": spec_name,
|
|
438
|
-
"connection_slug": connection_slug,
|
|
439
|
-
"connection_name": resolved_conn_name,
|
|
440
|
-
"connectivity_option": connectivity_option,
|
|
441
|
-
"connection_method": resolved_method,
|
|
442
|
-
"connection_parameters": norm_params,
|
|
443
|
-
"connection_version": "V2",
|
|
444
|
-
"is_in_progress": False,
|
|
445
|
-
}
|
|
446
|
-
session.sql(
|
|
447
|
-
f"CALL {app_name}.PLUGIN.SET_CONNECTION_OBJECTS(PARSE_JSON(?)::OBJECT)",
|
|
448
|
-
[json.dumps(set_params)],
|
|
449
|
-
).collect()
|
|
450
|
-
session.sql(f"CALL {app_name}.PLUGIN.CONFIGURE_APIS()").collect()
|
|
451
|
-
else:
|
|
452
|
-
logger.info(
|
|
453
|
-
"Connection '%s' already exists on plugin app %s. Skipping creation.",
|
|
454
|
-
connection_slug,
|
|
455
|
-
app_name,
|
|
456
|
-
)
|
|
457
|
-
return get_connection_info(session, connection_slug=connection_slug, app_name=app_name)
|
|
458
|
-
|
|
459
|
-
# Connection absent: ensure we have credentials to create it
|
|
460
|
-
if not norm_secrets and not norm_params:
|
|
461
|
-
raise RuntimeError(
|
|
462
|
-
f"Connection '{connection_slug}' does not exist on application '{app_name}', "
|
|
463
|
-
f"and no connection secrets or parameters were provided or found in the environment. "
|
|
464
|
-
f"Cannot auto-provision connection."
|
|
465
|
-
)
|
|
466
|
-
|
|
467
496
|
logger.info(
|
|
468
|
-
"
|
|
497
|
+
"%s connection '%s' on %s (EAI: %s)...",
|
|
498
|
+
"Recreating" if already_exists else "Creating",
|
|
469
499
|
connection_slug,
|
|
470
500
|
app_name,
|
|
471
501
|
eai_name,
|
|
@@ -255,4 +255,4 @@ to application ${e.plugin_app_database};`;return m.jsxs(Ue,{elevation:0,sx:{p:4,
|
|
|
255
255
|
<path d="M363.5 4C363.5 1.79086 365.291 0 367.5 0H642.5C644.709 0 646.5 1.79086 646.5 4V248C646.5 250.209 644.709 252 642.5 252H367.5C365.291 252 363.5 250.209 363.5 248V4Z" fill="white"/>
|
|
256
256
|
</clipPath>
|
|
257
257
|
</defs>
|
|
258
|
-
</svg>`,vV=()=>m.jsx("div",{dangerouslySetInnerHTML:{__html:bV},style:{width:"100%",maxWidth:647},role:"img","aria-label":"Architecture diagram showing Plugin Objects connected to Account Objects via a binding error line"}),CV=({connections:e,bindingMessage:t,describedObjects:r,fetchedTokens:o})=>{const[s,c]=w.useState(!1),[u,p]=w.useState(!1),[h,g]=w.useState(!1);w.useEffect(()=>{c(!1)},[e,t]);const y=()=>{c(!0),yi("rerun_binding")},b=()=>{yi("dismiss_binding_message")},S=e.some(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS),C=e.filter(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS).length,T=new Map;e.forEach(E=>{const A=E.CONNECTION_SLUG;T.has(A)||T.set(A,{slug:A,activeConnection:null,inProgressConnection:null});const L=T.get(A);E.IS_IN_PROGRESS?L.inProgressConnection=E:L.activeConnection=E});const _=Array.from(T.values());return m.jsxs(zt,{children:[m.jsx(ye,{direction:"row",spacing:2,alignItems:"center",justifyContent:"space-between",sx:{mb:2},children:m.jsxs(zt,{children:[m.jsx(ma,{fontWeight:700,children:"Active Connections"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"External integrations, network rules, and secrets provisioned for this plugin."})]})}),t&&t.kind==="success"&&m.jsxs(Lr,{severity:"success",onClose:b,sx:{mb:2.5},children:[m.jsx(Zc,{fontWeight:700,children:t.text}),(()=>{var L;const E=(L=t.data)==null?void 0:L.appliedExternalAccessIntegrations;if(!E)return null;const A=[...new Set(Object.values(E).map(R=>R.slug).filter(Boolean))];return A.length===0?null:m.jsx(ye,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,sx:{mt:1},children:A.map(R=>m.jsx(lr,{label:R,size:"small",variant:"outlined",sx:{fontWeight:600}},R))})})()]}),t&&t.kind!=="success"&&m.jsx(Lr,{severity:t.kind,onClose:b,sx:{mb:2.5},children:m.jsx(Zc,{fontWeight:700,children:t.text})}),m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,mb:2.5,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between",gap:2},children:[m.jsxs(ye,{direction:"row",spacing:2,alignItems:"center",children:[m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(Iu,{fontSize:"small",color:"primary"}),m.jsxs(jn,{fontWeight:600,children:[e.length," connection",e.length===1?"":"s"]})]}),S?m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(b8,{fontSize:"small",color:"error"}),m.jsxs(jn,{fontWeight:600,sx:{color:"error.main"},children:[C," need",C===1?"s":""," attention"]})]}):m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(SC,{fontSize:"small",color:"success"}),m.jsx(jn,{fontWeight:600,sx:{color:"success.main"},children:"All healthy"})]})]}),S&&m.jsx(Tr,{size:"small",color:"error",variant:"outlined",startIcon:m.jsx(uV,{fontSize:"small"}),onClick:()=>p(!u),sx:{textTransform:"none",flexShrink:0},children:u?"Hide Fix Panel":"Fix Binding Issues"})]}),m.jsx(Hc,{in:u&&S,timeout:"auto",unmountOnExit:!0,children:m.jsx(Ue,{variant:"outlined",sx:{p:3,mb:2.5,borderColor:"error.main",borderRadius:2},children:m.jsxs(ye,{spacing:2.5,children:[m.jsxs(zt,{children:[m.jsx(Qe,{variant:"caption",sx:{color:"primary.main",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase",display:"block",mb:.5},children:"Application Architecture"}),m.jsx(Qe,{variant:"h5",fontWeight:700,gutterBottom:!0,children:"What is a binding error?"}),m.jsxs(jn,{sx:{color:"text.secondary",mb:2,maxWidth:600},children:["The binding process can fail resulting in a ",m.jsx("strong",{children:"binding error"})," and breaking connections. You must manually ",m.jsx("strong",{children:"re-run binding"})," of account objects to the plugin."]}),m.jsx(vV,{})]}),m.jsxs(zt,{children:[m.jsx(Sa,{fontWeight:700,sx:{mb:1,display:"block",textTransform:"uppercase"},children:"Affected Connections"}),m.jsx(ye,{spacing:.75,children:e.filter(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS).map(E=>m.jsxs(Lr,{severity:E.BINDING_ERROR?"error":"warning",sx:{py:.5},children:[m.jsx(jn,{fontWeight:600,children:E.CONNECTION_SLUG}),E.BINDING_ERROR&&m.jsx(jn,{sx:{fontSize:"0.8rem",mt:.25},children:E.BINDING_ERROR}),!E.BINDING_ERROR&&E.ENABLED&&!E.APPLIED&&m.jsx(jn,{sx:{fontSize:"0.8rem",mt:.25},children:"Enabled but not yet bound to plugin procedures."})]},E.CONNECTION_SLUG))})]}),m.jsxs(ye,{direction:"row",spacing:2,alignItems:"center",children:[m.jsx(Tr,{variant:"contained",disabled:s,startIcon:s?m.jsx(Fo,{size:16,color:"inherit"}):m.jsx(cV,{}),onClick:()=>g(!0),children:s?"Running Binding...":"Re-run Binding"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"This will run the rebinding process across all connections."})]})]})})}),_.length===0?m.jsxs(Ue,{variant:"outlined",sx:{p:5,textAlign:"center",borderRadius:2,borderColor:"divider",bgcolor:"background.default"},children:[m.jsx(zt,{sx:{width:52,height:52,borderRadius:"50%",bgcolor:E=>Un(E.palette.primary.main,.1),color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center",mx:"auto",mb:2},children:m.jsx(Iu,{fontSize:"large"})}),m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"No Connections Created Yet"}),m.jsx(jn,{sx:{maxWidth:450,mx:"auto",color:"text.secondary"},children:"Connections will appear here automatically once created and configured inside the Omnata Sync Engine app."})]}):m.jsx(ye,{spacing:1,children:_.map(E=>{const A=E.activeConnection||E.inProgressConnection;return m.jsx(yV,{connection:A,inProgressConnection:E.activeConnection?E.inProgressConnection:null,describedObjects:r,fetchedTokens:o},E.slug)})}),m.jsxs(aC,{open:h,onClose:()=>g(!1),scroll:"paper",sx:{"& .MuiDialog-container":{alignItems:"flex-start",pt:"15vh"}},children:[m.jsx(uC,{children:"Re-run binding?"}),m.jsx(lC,{children:m.jsx(cC,{children:"This will run the rebinding process across all connections."})}),m.jsxs(sC,{children:[m.jsx(Tr,{onClick:()=>g(!1),children:"Cancel"}),m.jsx(Tr,{onClick:()=>{g(!1),y()},variant:"contained",children:"Re-run Binding"})]})]})]})},Yg=le(m.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"})),SV=le(m.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"})),xV=le(m.jsx("path",{d:"M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-5 12H9v-2h6zm5-7H4V4h16z"})),wV=({pluginInfo:e})=>{const{manifest:t}=e,r=(s,c,u=!1)=>{const p=c==null||c==="";return m.jsxs(zt,{sx:{display:"flex",py:.75,borderBottom:"1px solid",borderColor:"divider","&:last-child":{borderBottom:"none"}},children:[m.jsx(Qe,{variant:"body2",fontWeight:600,color:"text.secondary",sx:{width:180,flexShrink:0},children:s}),m.jsx(zt,{sx:{flexGrow:1,wordBreak:"break-all"},children:p?m.jsx(Qe,{variant:"body2",color:"text.disabled",sx:{fontStyle:"italic"},children:"—"}):u?m.jsx(zt,{component:"span",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.8rem",bgcolor:h=>h.palette.mode==="dark"?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.05)",px:.75,py:.2,borderRadius:1,border:"1px solid",borderColor:"divider"},children:c}):m.jsx(Qe,{variant:"body2",children:c})})]})},o=t.supported_outbound_strategies||[];return m.jsx(zt,{children:m.jsxs(p4,{container:!0,spacing:3,children:[m.jsxs(p4,{size:{xs:12,md:6},children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider",mb:3},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:2},children:[m.jsx(TC,{color:"primary"}),m.jsx(ma,{fontWeight:700,children:"Plugin Metadata"})]}),m.jsxs(zt,{sx:{bgcolor:"background.default",borderRadius:1.5,p:1},children:[r("Plugin Name",t.plugin_name),r("Plugin ID",t.plugin_id,!0),r("Developer ID",t.developer_id,!0),r("Developer Name",t.developer_name),r("Plugin Class",e.plugin_class_name,!0),r("Runtime Version",e.plugin_runtime_version,!0),r("DevKit Version",e.plugin_devkit_version,!0),r("Tier",e.tier?e.tier.toUpperCase():"BYO")]}),t.docs_url&&m.jsx(zt,{sx:{mt:2},children:m.jsx(Tr,{variant:"outlined",size:"small",endIcon:m.jsx(g0,{}),href:t.docs_url,target:"_blank",rel:"noopener noreferrer",children:"View Plugin Documentation"})})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsx(ma,{fontWeight:700,sx:{mb:2},children:"Capabilities & Features"}),m.jsxs(ye,{spacing:2,children:[m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Inbound Sync (Source → Snowflake)"}),m.jsx(zt,{sx:{mt:.5},children:m.jsx(lr,{icon:t.supports_inbound?m.jsx(ml,{}):m.jsx(Yg,{}),label:t.supports_inbound?"Supported":"Not Supported",color:t.supports_inbound?"success":"default",size:"small",variant:"outlined",sx:{fontWeight:600}})})]}),m.jsx(jf,{}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Outbound Sync (Snowflake → Destination)"}),m.jsx(zt,{sx:{mt:.5},children:m.jsx(lr,{icon:o.length>0?m.jsx(ml,{}):m.jsx(Yg,{}),label:o.length>0?`Supported (${o.length} strategies)`:"Not Supported",color:o.length>0?"success":"default",size:"small",variant:"outlined",sx:{fontWeight:600}})}),o.length>0&&m.jsx(ye,{direction:"row",spacing:1,sx:{mt:1,flexWrap:"wrap",gap:.5},children:o.map(s=>m.jsx(lr,{label:s.name,size:"small",color:"primary",variant:"outlined",sx:{bgcolor:c=>Un(c.palette.primary.main,.08)}},s.name))})]}),m.jsx(jf,{}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Record Validator"}),m.jsx(jn,{sx:{mt:.5},children:e.has_custom_validator?"Custom plugin validator active":"Standard runtime validator"})]})]})]})]}),m.jsxs(p4,{size:{xs:12,md:6},children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider",mb:3},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(xV,{color:"primary"}),m.jsxs(ma,{fontWeight:700,children:["Anaconda Packages (",e.anaconda_packages.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Standard Snowflake Anaconda channel libraries loaded in the runtime."}),m.jsx(zt,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:e.anaconda_packages.map(s=>m.jsx(lr,{label:s,size:"small",variant:"outlined",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.75rem"}},s))})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(SV,{color:"primary"}),m.jsxs(ma,{fontWeight:700,children:["Bundled PyPI Packages (",e.bundled_packages.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Additional Python dependencies packaged directly inside the plugin artifact."}),e.bundled_packages.length===0?m.jsx(Sa,{sx:{color:"text.secondary",fontStyle:"italic"},children:"No external PyPI packages bundled."}):m.jsx(zt,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:e.bundled_packages.map(s=>m.jsx(lr,{label:s,size:"small",color:"secondary",variant:"outlined",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.75rem",bgcolor:c=>Un(c.palette.secondary.main,.08)}},s))})]})]})]})})},TV=le(m.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"})),_V=le(m.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"})),EV=le(m.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"})),MV=le(m.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"})),OV=({procsAndUdfs:e=[]})=>{const[t,r]=w.useState(!1),o=w.useMemo(()=>!e||e.length===0?null:e.find(S=>S.schema.toUpperCase()==="PLUGIN"&&S.name.toUpperCase()==="SYNC")||e[0],[e]),[s,c]=w.useState(o),u=async b=>{try{await navigator.clipboard.writeText(b),r(!0),setTimeout(()=>r(!1),2e3)}catch{}};if(!e||e.length===0)return m.jsxs(Ue,{variant:"outlined",sx:{p:5,textAlign:"center",borderRadius:2,borderColor:"divider",bgcolor:"background.default"},children:[m.jsx(zt,{sx:{width:52,height:52,borderRadius:"50%",bgcolor:b=>Un(b.palette.primary.main,.1),color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center",mx:"auto",mb:2},children:m.jsx(np,{fontSize:"large"})}),m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"No User Procedures or Functions Found"}),m.jsx(jn,{sx:{maxWidth:450,mx:"auto",color:"text.secondary"},children:"No user-defined procedures or UDFs were discovered in the plugin database schemas."})]});const p=s||e[0],h=p.external_access_integrations||[],g=p.secrets,y=w.useMemo(()=>{if(!g)return[];if(Array.isArray(g))return g.map(b=>{if(typeof b=="object"&&b!==null&&"name"in b)return b;const S=String(b),C=S.toUpperCase().includes("OAUTH");return{name:S,alias:null,secret_type:C?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}});if(typeof g=="object")return Object.entries(g).map(([b,S])=>{const C=String(S),T=C.toUpperCase().includes("OAUTH");return{name:C,alias:b||null,secret_type:T?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}});if(typeof g=="string"){const b=g.toUpperCase().includes("OAUTH");return[{name:g,alias:null,secret_type:b?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}]}return[]},[g]);return m.jsxs(zt,{children:[m.jsxs(zt,{sx:{mb:3},children:[m.jsx(ma,{fontWeight:700,children:"Plugin Procedures & UDFs"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Select any procedure or function in this plugin to inspect its currently bound External Access Integrations and Secrets."})]}),m.jsx(Ue,{variant:"outlined",sx:{p:2,mb:3,borderRadius:2,borderColor:"divider"},children:m.jsx(NB,{value:p,onChange:(b,S)=>{S&&c(S)},options:e,isOptionEqualToValue:(b,S)=>b.schema===S.schema&&b.name===S.name&&b.signature===S.signature,getOptionLabel:b=>`${b.schema}.${b.name} — ${b.signature}`,renderInput:b=>m.jsx(CC,{...b,label:"Select Procedure or Function",size:"small",helperText:`${e.length} total procedures and functions available in plugin database`})})}),m.jsxs(Ue,{variant:"outlined",sx:{p:3,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1.5,alignItems:"center",sx:{mb:2},children:[m.jsx(lr,{icon:p.type==="procedure"?m.jsx(TV,{fontSize:"small"}):m.jsx(np,{fontSize:"small"}),label:p.type.toUpperCase(),color:p.type==="procedure"?"primary":"secondary",size:"small",variant:"outlined",sx:{fontWeight:700}}),m.jsxs(ma,{fontWeight:700,children:[p.schema,".",p.name]})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,mb:2.5,borderRadius:1.5,bgcolor:b=>b.palette.mode==="dark"?b.palette.grey[800]:b.palette.grey[100],borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[m.jsxs(zt,{component:"code",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.85rem",color:"primary.main",wordBreak:"break-all"},children:[p.schema,".",p.signature]}),m.jsx(Zo,{title:t?"Copied!":"Copy Signature",children:m.jsx(oo,{size:"small",onClick:()=>u(`${p.schema}.${p.signature}`),children:t?m.jsx(y0,{fontSize:"small",color:"success"}):m.jsx(v8,{fontSize:"small"})})})]}),p.description&&m.jsxs(zt,{sx:{mb:3},children:[m.jsx(Sa,{fontWeight:600,sx:{color:"text.secondary"},children:"Description"}),m.jsx(jn,{sx:{mt:.5},children:p.description})]}),m.jsxs(ye,{spacing:3,children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(Iu,{color:"primary"}),m.jsxs(Ho,{fontWeight:700,children:["External Access Integrations (",h.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Network rule integrations attached to this object for external egress."}),h.length===0?m.jsx(Lr,{severity:"info",sx:{borderRadius:1.5},children:"No External Access Integrations are currently bound to this object."}):m.jsx(ye,{spacing:1,children:h.map(b=>m.jsxs(Ue,{variant:"outlined",sx:{p:1.25,borderRadius:1.5,display:"flex",alignItems:"center",gap:1,bgcolor:"background.default"},children:[m.jsx(Iu,{fontSize:"small",color:"primary"}),m.jsx(Qe,{variant:"body2",sx:{fontFamily:'"SFMono-Regular", Consolas, monospace',fontWeight:600},children:b})]},b))})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(MC,{color:"primary"}),m.jsxs(Ho,{fontWeight:700,children:["Bound Secrets (",y.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Secret objects bound to this object for API authentication and tokens."}),y.length===0?m.jsx(Lr,{severity:"info",sx:{borderRadius:1.5},children:"No Secrets are currently bound to this object."}):m.jsx(ye,{spacing:1.5,children:y.map((b,S)=>{var T;const C=((T=b.secret_type)==null?void 0:T.toUpperCase())==="OAUTH2"||b.name.toUpperCase().includes("OAUTH");return m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,borderRadius:1.5,display:"flex",flexDirection:"column",gap:1,bgcolor:"background.default"},children:[m.jsxs(zt,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"flex-start",sx:{minWidth:0,flex:1},children:[C?m.jsx(EV,{fontSize:"small",color:"primary",sx:{mt:.25,flexShrink:0}}):m.jsx(_V,{fontSize:"small",color:"secondary",sx:{mt:.25,flexShrink:0}}),m.jsx(Qe,{variant:"body2",sx:{fontFamily:'"SFMono-Regular", Consolas, monospace',fontWeight:600,wordBreak:"break-all"},children:b.name})]}),m.jsx(lr,{label:C?"OAUTH2":"GENERIC_STRING",size:"small",color:C?"primary":"default",variant:"outlined",sx:{fontSize:"0.7rem",height:20,fontWeight:700,flexShrink:0}})]}),(b.alias||b.oauth_security_integration)&&m.jsxs(ye,{direction:"row",spacing:1,flexWrap:"wrap",useFlexGap:!0,sx:{pl:3},children:[b.alias&&m.jsx(lr,{label:`Alias: ${b.alias}`,size:"small",variant:"outlined",sx:{fontSize:"0.75rem",fontWeight:600,fontFamily:'"SFMono-Regular", Consolas, monospace'}}),b.oauth_security_integration&&m.jsx(lr,{icon:m.jsx(MV,{sx:{fontSize:"0.85rem !important"}}),label:`Security Integration: ${b.oauth_security_integration}`,size:"small",color:"info",variant:"outlined",sx:{fontSize:"0.75rem",fontWeight:600,fontFamily:'"SFMono-Regular", Consolas, monospace'}})]})]},S)})})]})]})]})]})},AV=["Install Sync Engine","Register Plugin","Grant Role"],RV=e=>{switch(e){case"unregistered_initial":case"unregistered_not_installed":return 0;case"unregistered_installed":return 1;case"unregistered_grant_role":return 2;default:return null}},NV=({propsState:e})=>{const[t,r]=w.useState(0),o=e,s=o&&"plugin_info"in o?o:o&&"args"in o&&typeof o.args=="object"&&o.args!==null&&"plugin_info"in o.args?o.args:void 0;if(!s||!s.plugin_info)return m.jsx(xg,{maxWidth:"lg",sx:{py:3},children:m.jsx(Lr,{severity:"info",children:"Loading plugin configuration..."})});const{plugin_info:c,registration:u,connections:p,binding_message:h,diagram_svg:g,procs_and_udfs:y,described_objects:b,fetched_tokens:S}=s,C=()=>{switch(u.status){case"unregistered_initial":return m.jsx(rV,{});case"unregistered_not_installed":return m.jsx(oV,{diagramSvg:g});case"unregistered_installed":return m.jsx(sV,{registration:u});case"unregistered_grant_role":return m.jsx(lV,{registration:u});case"error":return m.jsxs(Ue,{sx:{p:4,borderRadius:2,textAlign:"center"},children:[m.jsx(Lr,{severity:"error",sx:{mb:2},children:u.error_message||"An unexpected error occurred during plugin registration."}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Please reinstall the plugin application or contact Omnata support."})]});case"registered":default:if(!p||p.length===0){const _=u.application_name||"OMNATA_SYNC_ENGINE",E=u.org_name,A=u.account_name,L=E&&A?`https://app.snowflake.com/${E.toLowerCase()}/${A.toLowerCase()}/#/apps/application/${_}`:`/#/apps/application/${_}`;return m.jsxs(Ue,{variant:"outlined",sx:{p:3,borderRadius:2,borderColor:"divider",display:"flex",alignItems:"flex-start",gap:1.5},children:[m.jsx(SC,{color:"success"}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"Plugin configuration is complete"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Go to the Omnata Sync Engine app to create your first connection. Once created, it will appear here automatically."}),m.jsx(Tr,{variant:"contained",size:"medium",endIcon:m.jsx(g0,{}),href:L,target:"_top",rel:"noopener noreferrer",sx:{mt:2},children:"Open Sync Engine"})]})]})}return m.jsxs(zt,{children:[m.jsx(Ue,{variant:"outlined",sx:{borderRadius:2,mb:3,borderColor:"divider"},children:m.jsxs(vC,{value:t,onChange:(_,E)=>r(E),textColor:"primary",indicatorColor:"primary",sx:{px:2},children:[m.jsx(yu,{icon:m.jsx(Iu,{fontSize:"small"}),iconPosition:"start",label:`Connections (${(p==null?void 0:p.length)||0})`,sx:{minHeight:48,fontWeight:600}}),m.jsx(yu,{icon:m.jsx(Xj,{fontSize:"small"}),iconPosition:"start",label:"Info",sx:{minHeight:48,fontWeight:600}}),m.jsx(yu,{icon:m.jsx(np,{fontSize:"small"}),iconPosition:"start",label:`Procs & Functions (${(y==null?void 0:y.length)||0})`,sx:{minHeight:48,fontWeight:600}})]})}),t===0&&m.jsx(CV,{connections:p||[],bindingMessage:h,describedObjects:b,fetchedTokens:S}),t===1&&m.jsx(wV,{pluginInfo:c}),t===2&&m.jsx(OV,{procsAndUdfs:y})]})}},T=RV(u.status);return m.jsxs(xg,{maxWidth:"xl",sx:{py:2,px:{xs:1,sm:2}},children:[m.jsx(eV,{pluginInfo:c,registration:u}),T!==null&&m.jsx(Zz,{activeStep:T,sx:{mb:3},children:AV.map(_=>m.jsx(wz,{children:m.jsx(yC,{children:_})},_))}),C()]})},IV=e=>{var o;const r=((o=e.theme)==null?void 0:o.base)==="dark"?Wj:Kj;return w.useEffect(()=>{Ji.setComponentReady();const s=()=>{const u=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,600);Ji.setFrameHeight(u)};s();const c=new ResizeObserver(()=>{s()});return c.observe(document.body),c.observe(document.documentElement),window.addEventListener("resize",s),()=>{c.disconnect(),window.removeEventListener("resize",s)}},[]),m.jsxs(sR,{theme:r,children:[m.jsx(oL,{}),m.jsx(NV,{propsState:e.args})]})},BV=mE(IV);ww.createRoot(document.getElementById("root")).render(m.jsx(vr.StrictMode,{children:m.jsx(BV,{})}));
|
|
258
|
+
</svg>`,vV=()=>m.jsx("div",{dangerouslySetInnerHTML:{__html:bV},style:{width:"100%",maxWidth:647},role:"img","aria-label":"Architecture diagram showing Plugin Objects connected to Account Objects via a binding error line"}),CV=({connections:e,bindingMessage:t,describedObjects:r,fetchedTokens:o})=>{const[s,c]=w.useState(!1),[u,p]=w.useState(!1),[h,g]=w.useState(!1);w.useEffect(()=>{c(!1)},[e,t]);const y=()=>{c(!0),yi("rerun_binding")},b=()=>{yi("dismiss_binding_message")},S=e.some(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS),C=e.filter(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS).length,T=new Map;e.forEach(E=>{const A=E.CONNECTION_SLUG;T.has(A)||T.set(A,{slug:A,activeConnection:null,inProgressConnection:null});const L=T.get(A);E.IS_IN_PROGRESS?L.inProgressConnection=E:L.activeConnection=E});const _=Array.from(T.values());return m.jsxs(zt,{children:[m.jsx(ye,{direction:"row",spacing:2,alignItems:"center",justifyContent:"space-between",sx:{mb:2},children:m.jsxs(zt,{children:[m.jsx(ma,{fontWeight:700,children:"Active Connections"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"External integrations, network rules, and secrets provisioned for this plugin."})]})}),t&&t.kind==="success"&&m.jsxs(Lr,{severity:"success",onClose:b,sx:{mb:2.5},children:[m.jsx(Zc,{fontWeight:700,children:t.text}),(()=>{var L;const E=(L=t.data)==null?void 0:L.appliedExternalAccessIntegrations;if(!E)return null;const A=[...new Set(Object.values(E).map(R=>R.slug).filter(Boolean))];return A.length===0?null:m.jsx(ye,{direction:"row",spacing:.75,flexWrap:"wrap",useFlexGap:!0,sx:{mt:1},children:A.map(R=>m.jsx(lr,{label:R,size:"small",variant:"outlined",sx:{fontWeight:600}},R))})})()]}),t&&t.kind!=="success"&&m.jsx(Lr,{severity:t.kind,onClose:b,sx:{mb:2.5},children:m.jsx(Zc,{fontWeight:700,children:t.text})}),m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,mb:2.5,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between",gap:2},children:[m.jsxs(ye,{direction:"row",spacing:2,alignItems:"center",children:[m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(Iu,{fontSize:"small",color:"primary"}),m.jsxs(jn,{fontWeight:600,children:[e.length," connection",e.length===1?"":"s"]})]}),S?m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(b8,{fontSize:"small",color:"error"}),m.jsxs(jn,{fontWeight:600,sx:{color:"error.main"},children:[C," need",C===1?"s":""," attention"]})]}):m.jsxs(ye,{direction:"row",spacing:.75,alignItems:"center",children:[m.jsx(SC,{fontSize:"small",color:"success"}),m.jsx(jn,{fontWeight:600,sx:{color:"success.main"},children:"All healthy"})]})]}),S&&m.jsx(Tr,{size:"small",color:"error",variant:"outlined",startIcon:m.jsx(uV,{fontSize:"small"}),onClick:()=>p(!u),sx:{textTransform:"none",flexShrink:0},children:u?"Hide Fix Panel":"Fix Binding Issues"})]}),m.jsx(Hc,{in:u&&S,timeout:"auto",unmountOnExit:!0,children:m.jsx(Ue,{variant:"outlined",sx:{p:3,mb:2.5,borderColor:"error.main",borderRadius:2},children:m.jsxs(ye,{spacing:2.5,children:[m.jsxs(zt,{children:[m.jsx(Qe,{variant:"caption",sx:{color:"primary.main",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase",display:"block",mb:.5},children:"Application Architecture"}),m.jsx(Qe,{variant:"h5",fontWeight:700,gutterBottom:!0,children:"What is a binding error?"}),m.jsxs(jn,{sx:{color:"text.secondary",mb:2,maxWidth:600},children:["The binding process can fail resulting in a ",m.jsx("strong",{children:"binding error"})," and breaking connections. You must manually ",m.jsx("strong",{children:"re-run binding"})," of account objects to the plugin."]}),m.jsx(vV,{})]}),m.jsxs(zt,{children:[m.jsx(Sa,{fontWeight:700,sx:{mb:1,display:"block",textTransform:"uppercase"},children:"Affected Connections"}),m.jsx(ye,{spacing:.75,children:e.filter(E=>E.BINDING_ERROR||E.ENABLED&&!E.APPLIED&&!E.IS_IN_PROGRESS).map(E=>m.jsxs(Lr,{severity:E.BINDING_ERROR?"error":"warning",sx:{py:.5},children:[m.jsx(jn,{fontWeight:600,children:E.CONNECTION_SLUG}),E.BINDING_ERROR&&m.jsx(jn,{sx:{fontSize:"0.8rem",mt:.25},children:E.BINDING_ERROR}),!E.BINDING_ERROR&&E.ENABLED&&!E.APPLIED&&m.jsx(jn,{sx:{fontSize:"0.8rem",mt:.25},children:"Enabled but not yet bound to plugin procedures."})]},E.CONNECTION_SLUG))})]}),m.jsxs(ye,{direction:"row",spacing:2,alignItems:"center",children:[m.jsx(Tr,{variant:"contained",disabled:s,startIcon:s?m.jsx(Fo,{size:16,color:"inherit"}):m.jsx(cV,{}),onClick:()=>g(!0),children:s?"Running Binding...":"Re-run Binding"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"This will run the rebinding process across all connections."})]})]})})}),_.length===0?m.jsxs(Ue,{variant:"outlined",sx:{p:5,textAlign:"center",borderRadius:2,borderColor:"divider",bgcolor:"background.default"},children:[m.jsx(zt,{sx:{width:52,height:52,borderRadius:"50%",bgcolor:E=>Un(E.palette.primary.main,.1),color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center",mx:"auto",mb:2},children:m.jsx(Iu,{fontSize:"large"})}),m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"No Connections Created Yet"}),m.jsx(jn,{sx:{maxWidth:450,mx:"auto",color:"text.secondary"},children:"Connections will appear here automatically once created and configured inside the Omnata Sync Engine app."})]}):m.jsx(ye,{spacing:1,children:_.map(E=>{const A=E.activeConnection||E.inProgressConnection;return m.jsx(yV,{connection:A,inProgressConnection:E.activeConnection?E.inProgressConnection:null,describedObjects:r,fetchedTokens:o},E.slug)})}),m.jsxs(aC,{open:h,onClose:()=>g(!1),scroll:"paper",sx:{"& .MuiDialog-container":{alignItems:"flex-start",pt:"15vh"}},children:[m.jsx(uC,{children:"Re-run binding?"}),m.jsx(lC,{children:m.jsx(cC,{children:"This will run the rebinding process across all connections."})}),m.jsxs(sC,{children:[m.jsx(Tr,{onClick:()=>g(!1),children:"Cancel"}),m.jsx(Tr,{onClick:()=>{g(!1),y()},variant:"contained",children:"Re-run Binding"})]})]})]})},Yg=le(m.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"})),SV=le(m.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"})),xV=le(m.jsx("path",{d:"M20 2H4c-1 0-2 .9-2 2v3.01c0 .72.43 1.34 1 1.69V20c0 1.1 1.1 2 2 2h14c.9 0 2-.9 2-2V8.7c.57-.35 1-.97 1-1.69V4c0-1.1-1-2-2-2m-5 12H9v-2h6zm5-7H4V4h16z"})),wV=({pluginInfo:e})=>{const{manifest:t}=e,r=(s,c,u=!1)=>{const p=c==null||c==="";return m.jsxs(zt,{sx:{display:"flex",py:.75,borderBottom:"1px solid",borderColor:"divider","&:last-child":{borderBottom:"none"}},children:[m.jsx(Qe,{variant:"body2",fontWeight:600,color:"text.secondary",sx:{width:180,flexShrink:0},children:s}),m.jsx(zt,{sx:{flexGrow:1,wordBreak:"break-all"},children:p?m.jsx(Qe,{variant:"body2",color:"text.disabled",sx:{fontStyle:"italic"},children:"—"}):u?m.jsx(zt,{component:"span",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.8rem",bgcolor:h=>h.palette.mode==="dark"?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.05)",px:.75,py:.2,borderRadius:1,border:"1px solid",borderColor:"divider"},children:c}):m.jsx(Qe,{variant:"body2",children:c})})]})},o=t.supported_outbound_strategies||[];return m.jsx(zt,{children:m.jsxs(p4,{container:!0,spacing:3,children:[m.jsxs(p4,{size:{xs:12,md:6},children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider",mb:3},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:2},children:[m.jsx(TC,{color:"primary"}),m.jsx(ma,{fontWeight:700,children:"Plugin Metadata"})]}),m.jsxs(zt,{sx:{bgcolor:"background.default",borderRadius:1.5,p:1},children:[r("Plugin Name",t.plugin_name),r("Plugin ID",t.plugin_id,!0),r("Developer ID",t.developer_id,!0),r("Developer Name",t.developer_name),r("Plugin Class",e.plugin_class_name,!0),r("Runtime Version",e.plugin_runtime_version,!0),r("DevKit Version",e.plugin_devkit_version,!0),r("Tier",e.tier?e.tier.toUpperCase():"BYO")]}),t.docs_url&&m.jsx(zt,{sx:{mt:2},children:m.jsx(Tr,{variant:"outlined",size:"small",endIcon:m.jsx(g0,{}),href:t.docs_url,target:"_blank",rel:"noopener noreferrer",children:"View Plugin Documentation"})})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsx(ma,{fontWeight:700,sx:{mb:2},children:"Capabilities & Features"}),m.jsxs(ye,{spacing:2,children:[m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Inbound Sync (Source → Snowflake)"}),m.jsx(zt,{sx:{mt:.5},children:m.jsx(lr,{icon:t.supports_inbound?m.jsx(ml,{}):m.jsx(Yg,{}),label:t.supports_inbound?"Supported":"Not Supported",color:t.supports_inbound?"success":"default",size:"small",variant:"outlined",sx:{fontWeight:600}})})]}),m.jsx(jf,{}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Outbound Sync (Snowflake → Destination)"}),m.jsx(zt,{sx:{mt:.5},children:m.jsx(lr,{icon:o.length>0?m.jsx(ml,{}):m.jsx(Yg,{}),label:o.length>0?`Supported (${o.length} strategies)`:"Not Supported",color:o.length>0?"success":"default",size:"small",variant:"outlined",sx:{fontWeight:600}})}),o.length>0&&m.jsx(ye,{direction:"row",spacing:1,sx:{mt:1,flexWrap:"wrap",gap:.5},children:o.map(s=>m.jsx(lr,{label:s.name,size:"small",color:"primary",variant:"outlined",sx:{bgcolor:c=>Un(c.palette.primary.main,.08)}},s.name))})]}),m.jsx(jf,{}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,sx:{color:"text.secondary"},children:"Record Validator"}),m.jsx(jn,{sx:{mt:.5},children:e.has_custom_validator?"Custom plugin validator active":"Standard runtime validator"})]})]})]})]}),m.jsxs(p4,{size:{xs:12,md:6},children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider",mb:3},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(xV,{color:"primary"}),m.jsxs(ma,{fontWeight:700,children:["Anaconda Packages (",e.anaconda_packages.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Standard Snowflake Anaconda channel libraries loaded in the runtime."}),m.jsx(zt,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:e.anaconda_packages.map(s=>m.jsx(lr,{label:s,size:"small",variant:"outlined",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.75rem"}},s))})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(SV,{color:"primary"}),m.jsxs(ma,{fontWeight:700,children:["Bundled PyPI Packages (",e.bundled_packages.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Additional Python dependencies packaged directly inside the plugin artifact."}),e.bundled_packages.length===0?m.jsx(Sa,{sx:{color:"text.secondary",fontStyle:"italic"},children:"No external PyPI packages bundled."}):m.jsx(zt,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:e.bundled_packages.map(s=>m.jsx(lr,{label:s,size:"small",color:"secondary",variant:"outlined",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.75rem",bgcolor:c=>Un(c.palette.secondary.main,.08)}},s))})]})]})]})})},TV=le(m.jsx("path",{d:"M20 4H4c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m0 14H4V8h16zm-2-1h-6v-2h6zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4z"})),_V=le(m.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"})),EV=le(m.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"})),MV=le(m.jsx("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"})),OV=({procsAndUdfs:e=[]})=>{const[t,r]=w.useState(!1),o=w.useMemo(()=>!e||e.length===0?null:e.find(S=>S.schema.toUpperCase()==="PLUGIN"&&S.name.toUpperCase()==="SYNC")||e[0],[e]),[s,c]=w.useState(o),u=async b=>{try{await navigator.clipboard.writeText(b),r(!0),setTimeout(()=>r(!1),2e3)}catch{}};if(!e||e.length===0)return m.jsxs(Ue,{variant:"outlined",sx:{p:5,textAlign:"center",borderRadius:2,borderColor:"divider",bgcolor:"background.default"},children:[m.jsx(zt,{sx:{width:52,height:52,borderRadius:"50%",bgcolor:b=>Un(b.palette.primary.main,.1),color:"primary.main",display:"flex",alignItems:"center",justifyContent:"center",mx:"auto",mb:2},children:m.jsx(np,{fontSize:"large"})}),m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"No User Procedures or Functions Found"}),m.jsx(jn,{sx:{maxWidth:450,mx:"auto",color:"text.secondary"},children:"No user-defined procedures or UDFs were discovered in the plugin database schemas."})]});const p=s||e[0],h=p.external_access_integrations||[],g=p.secrets,y=w.useMemo(()=>{if(!g)return[];if(Array.isArray(g))return g.map(b=>{if(typeof b=="object"&&b!==null&&"name"in b)return b;const S=String(b),C=S.toUpperCase().includes("OAUTH");return{name:S,alias:null,secret_type:C?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}});if(typeof g=="object")return Object.entries(g).map(([b,S])=>{const C=String(S),T=C.toUpperCase().includes("OAUTH");return{name:C,alias:b||null,secret_type:T?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}});if(typeof g=="string"){const b=g.toUpperCase().includes("OAUTH");return[{name:g,alias:null,secret_type:b?"OAUTH2":"GENERIC_STRING",oauth_security_integration:null}]}return[]},[g]);return m.jsxs(zt,{children:[m.jsxs(zt,{sx:{mb:3},children:[m.jsx(ma,{fontWeight:700,children:"Plugin Procedures & UDFs"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Select any procedure or function in this plugin to inspect its currently bound External Access Integrations and Secrets."})]}),m.jsx(Ue,{variant:"outlined",sx:{p:2,mb:3,borderRadius:2,borderColor:"divider"},children:m.jsx(NB,{value:p,onChange:(b,S)=>{S&&c(S)},options:e,isOptionEqualToValue:(b,S)=>b.schema===S.schema&&b.name===S.name&&b.signature===S.signature,getOptionLabel:b=>`${b.schema}.${b.name} — ${b.signature}`,renderInput:b=>m.jsx(CC,{...b,label:"Select Procedure or Function",size:"small",helperText:`${e.length} total procedures and functions available in plugin database`})})}),m.jsxs(Ue,{variant:"outlined",sx:{p:3,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1.5,alignItems:"center",sx:{mb:2},children:[m.jsx(lr,{icon:p.type==="procedure"?m.jsx(TV,{fontSize:"small"}):m.jsx(np,{fontSize:"small"}),label:p.type.toUpperCase(),color:p.type==="procedure"?"primary":"secondary",size:"small",variant:"outlined",sx:{fontWeight:700}}),m.jsxs(ma,{fontWeight:700,children:[p.schema,".",p.name]})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,mb:2.5,borderRadius:1.5,bgcolor:b=>b.palette.mode==="dark"?b.palette.grey[800]:b.palette.grey[100],borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[m.jsxs(zt,{component:"code",sx:{fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace',fontSize:"0.85rem",color:"primary.main",wordBreak:"break-all"},children:[p.schema,".",p.signature]}),m.jsx(Zo,{title:t?"Copied!":"Copy Signature",children:m.jsx(oo,{size:"small",onClick:()=>u(`${p.schema}.${p.signature}`),children:t?m.jsx(y0,{fontSize:"small",color:"success"}):m.jsx(v8,{fontSize:"small"})})})]}),p.description&&m.jsxs(zt,{sx:{mb:3},children:[m.jsx(Sa,{fontWeight:600,sx:{color:"text.secondary"},children:"Description"}),m.jsx(jn,{sx:{mt:.5},children:p.description})]}),m.jsxs(ye,{spacing:3,children:[m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(Iu,{color:"primary"}),m.jsxs(Ho,{fontWeight:700,children:["External Access Integrations (",h.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Network rule integrations attached to this object for external egress."}),h.length===0?m.jsx(Lr,{severity:"info",sx:{borderRadius:1.5},children:"No External Access Integrations are currently bound to this object."}):m.jsx(ye,{spacing:1,children:h.map(b=>m.jsxs(Ue,{variant:"outlined",sx:{p:1.25,borderRadius:1.5,display:"flex",alignItems:"center",gap:1,bgcolor:"background.default"},children:[m.jsx(Iu,{fontSize:"small",color:"primary"}),m.jsx(Qe,{variant:"body2",sx:{fontFamily:'"SFMono-Regular", Consolas, monospace',fontWeight:600},children:b})]},b))})]}),m.jsxs(Ue,{variant:"outlined",sx:{p:2.5,borderRadius:2,borderColor:"divider"},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"center",sx:{mb:1.5},children:[m.jsx(MC,{color:"primary"}),m.jsxs(Ho,{fontWeight:700,children:["Bound Secrets (",y.length,")"]})]}),m.jsx(jn,{sx:{mb:2,color:"text.secondary"},children:"Secret objects bound to this object for API authentication and tokens."}),y.length===0?m.jsx(Lr,{severity:"info",sx:{borderRadius:1.5},children:"No Secrets are currently bound to this object."}):m.jsx(ye,{spacing:1.5,children:y.map((b,S)=>{var T;const C=((T=b.secret_type)==null?void 0:T.toUpperCase())==="OAUTH2"||b.name.toUpperCase().includes("OAUTH");return m.jsxs(Ue,{variant:"outlined",sx:{p:1.5,borderRadius:1.5,display:"flex",flexDirection:"column",gap:1,bgcolor:"background.default"},children:[m.jsxs(zt,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[m.jsxs(ye,{direction:"row",spacing:1,alignItems:"flex-start",sx:{minWidth:0,flex:1},children:[C?m.jsx(EV,{fontSize:"small",color:"primary",sx:{mt:.25,flexShrink:0}}):m.jsx(_V,{fontSize:"small",color:"secondary",sx:{mt:.25,flexShrink:0}}),m.jsx(Qe,{variant:"body2",sx:{fontFamily:'"SFMono-Regular", Consolas, monospace',fontWeight:600,wordBreak:"break-all"},children:b.name})]}),m.jsx(lr,{label:C?"OAUTH2":"GENERIC_STRING",size:"small",color:C?"primary":"default",variant:"outlined",sx:{fontSize:"0.7rem",height:20,fontWeight:700,flexShrink:0}})]}),(b.alias||b.oauth_security_integration)&&m.jsxs(ye,{direction:"row",spacing:1,flexWrap:"wrap",useFlexGap:!0,sx:{pl:3},children:[b.alias&&m.jsx(lr,{label:`Alias: ${b.alias}`,size:"small",variant:"outlined",sx:{fontSize:"0.75rem",fontWeight:600,fontFamily:'"SFMono-Regular", Consolas, monospace'}}),b.oauth_security_integration&&m.jsx(lr,{icon:m.jsx(MV,{sx:{fontSize:"0.85rem !important"}}),label:`Security Integration: ${b.oauth_security_integration}`,size:"small",color:"info",variant:"outlined",sx:{fontSize:"0.75rem",fontWeight:600,fontFamily:'"SFMono-Regular", Consolas, monospace'}})]})]},S)})})]})]})]})]})},AV=["Install Sync Engine","Register Plugin","Grant Role"],RV=e=>{switch(e){case"unregistered_initial":case"unregistered_not_installed":return 0;case"unregistered_installed":return 1;case"unregistered_grant_role":return 2;default:return null}},NV=({propsState:e})=>{const[t,r]=w.useState(0),o=e,s=o&&"plugin_info"in o?o:o&&"args"in o&&typeof o.args=="object"&&o.args!==null&&"plugin_info"in o.args?o.args:void 0;if(!s||!s.plugin_info)return m.jsx(xg,{maxWidth:"lg",sx:{py:3},children:m.jsx(Lr,{severity:"info",children:"Loading plugin configuration..."})});const{plugin_info:c,registration:u,connections:p,binding_message:h,diagram_svg:g,procs_and_udfs:y,described_objects:b,fetched_tokens:S}=s,C=()=>{switch(u.status){case"unregistered_initial":return m.jsx(rV,{});case"unregistered_not_installed":return m.jsx(oV,{diagramSvg:g});case"unregistered_installed":return m.jsx(sV,{registration:u});case"unregistered_grant_role":return m.jsx(lV,{registration:u});case"error":return m.jsxs(Ue,{sx:{p:4,borderRadius:2,textAlign:"center"},children:[m.jsx(Lr,{severity:"error",sx:{mb:2},children:u.error_message||"An unexpected error occurred during plugin registration."}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Please reinstall the plugin application or contact Omnata support."})]});case"registered":default:if(!p||p.length===0){const _=u.application_name||"OMNATA_SYNC_ENGINE",E=u.org_name,A=u.account_name,L=E&&A?`https://app.snowflake.com/${E.toLowerCase()}/${A.toLowerCase()}/#/apps/application/${_}`:`/#/apps/application/${_}`;return m.jsxs(Ue,{variant:"outlined",sx:{p:3,borderRadius:2,borderColor:"divider",display:"flex",alignItems:"flex-start",gap:1.5},children:[m.jsx(SC,{color:"success"}),m.jsxs(zt,{children:[m.jsx(Ho,{fontWeight:600,gutterBottom:!0,children:"Plugin configuration is complete"}),m.jsx(jn,{sx:{color:"text.secondary"},children:"Go to the Omnata Sync Engine app to create your first connection. Once created, it will appear here automatically."}),m.jsx(Tr,{variant:"contained",size:"medium",endIcon:m.jsx(g0,{}),href:L,target:"_blank",rel:"noopener noreferrer",sx:{mt:2},children:"Open Sync Engine"})]})]})}return m.jsxs(zt,{children:[m.jsx(Ue,{variant:"outlined",sx:{borderRadius:2,mb:3,borderColor:"divider"},children:m.jsxs(vC,{value:t,onChange:(_,E)=>r(E),textColor:"primary",indicatorColor:"primary",sx:{px:2},children:[m.jsx(yu,{icon:m.jsx(Iu,{fontSize:"small"}),iconPosition:"start",label:`Connections (${(p==null?void 0:p.length)||0})`,sx:{minHeight:48,fontWeight:600}}),m.jsx(yu,{icon:m.jsx(Xj,{fontSize:"small"}),iconPosition:"start",label:"Info",sx:{minHeight:48,fontWeight:600}}),m.jsx(yu,{icon:m.jsx(np,{fontSize:"small"}),iconPosition:"start",label:`Procs & Functions (${(y==null?void 0:y.length)||0})`,sx:{minHeight:48,fontWeight:600}})]})}),t===0&&m.jsx(CV,{connections:p||[],bindingMessage:h,describedObjects:b,fetchedTokens:S}),t===1&&m.jsx(wV,{pluginInfo:c}),t===2&&m.jsx(OV,{procsAndUdfs:y})]})}},T=RV(u.status);return m.jsxs(xg,{maxWidth:"xl",sx:{py:2,px:{xs:1,sm:2}},children:[m.jsx(eV,{pluginInfo:c,registration:u}),T!==null&&m.jsx(Zz,{activeStep:T,sx:{mb:3},children:AV.map(_=>m.jsx(wz,{children:m.jsx(yC,{children:_})},_))}),C()]})},IV=e=>{var o;const r=((o=e.theme)==null?void 0:o.base)==="dark"?Wj:Kj;return w.useEffect(()=>{Ji.setComponentReady();const s=()=>{const u=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,600);Ji.setFrameHeight(u)};s();const c=new ResizeObserver(()=>{s()});return c.observe(document.body),c.observe(document.documentElement),window.addEventListener("resize",s),()=>{c.disconnect(),window.removeEventListener("resize",s)}},[]),m.jsxs(sR,{theme:r,children:[m.jsx(oL,{}),m.jsx(NV,{propsState:e.args})]})},BV=mE(IV);ww.createRoot(document.getElementById("root")).render(m.jsx(vr.StrictMode,{children:m.jsx(BV,{})}));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Omnata Plugin Configuration</title>
|
|
7
|
-
<script type="module" crossorigin src="./assets/index-
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-xyaBmWMr.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="./assets/index-SCJFQcpn.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
File without changes
|
|
File without changes
|
{omnata_plugin_devkit-0.15.1a253 → omnata_plugin_devkit-0.15.2}/src/omnata_plugin_devkit/__init__.py
RENAMED
|
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
|