Skip to content

Commit

Permalink
feat: add missing properties
Browse files Browse the repository at this point in the history
  • Loading branch information
cowan-macady committed Jun 27, 2023
1 parent 20bbf5b commit 0452cad
Show file tree
Hide file tree
Showing 53 changed files with 1,587 additions and 1,288 deletions.
6 changes: 2 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ omit =
indykite_sdk/identity/helper.py
indykite_sdk/config/helper.py
indykite_sdk/config/get_schema.py
indykite_sdk/config/app_space.py
indykite_sdk/ingest/ingest_record.py
indykite_sdk/model/unique_name_identifier.py
indykite_sdk/model/email_attachment.py
indykite_sdk/model/oauth2_application.py
indykite_sdk/model/oauth2_application_config.py
indykite_sdk/model/oauth2_provider.py
indykite_sdk/model/oauth2_provider_config.py
indykite_sdk/model/import_digital_twin.py
indykite_sdk/model/get_schema.py
indykite_sdk/utils/hash_methods.py
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,54 @@ env:
SENDGRID_KEY: ${{ secrets.SENDGRID_KEY }}
SENDGRID_IP: ${{ secrets.SENDGRID_IP }}
INDYKITE_DEFAULT_TO: ${{ secrets.INDYKITE_DEFAULT_TO }}
EMAIL_TOKEN: ${{ secrets.EMAIL_TOKEN }}
APPLICATION: ${{ secrets.APPLICATION }}
TENANT: ${{ secrets.TENANT }}
TENANT_EMAIL: ${{ secrets.TENANT_EMAIL }}
DIGITAL_TWIN: ${{ secrets.DIGITAL_TWIN }}
DIGITAL_TWIN_TEST: ${{ secrets.DIGITAL_TWIN_TEST }}
DIGITAL_TWIN_CONSENT: ${{ secrets.DIGITAL_TWIN_CONSENT }}
DIGITAL_TWIN_PROPERTY: ${{ secrets.DIGITAL_TWIN_PROPERTY }}
CODE_VERIFIER: ${{ secrets.CODE_VERIFIER }}
CODE_CHALLENGE: ${{ secrets.CODE_CHALLENGE }}
VERIFICATION_BEARER: ${{ secrets.VERIFICATION_BEARER }}
EXPIRED_TOKEN: ${{ secrets.EXPIRED_TOKEN }}
CONFIG_ID: ${{ secrets.CONFIG_ID }}
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
WRONG_ACCOUNT_ID: ${{ secrets.WRONG_ACCOUNT_ID }}
SERVICE_ACCOUNT_NAME: ${{ secrets.SERVICE_ACCOUNT_NAME }}
TEST_SERVICE_ACCOUNT: ${{ secrets.TEST_SERVICE_ACCOUNT }}
CUSTOMER_NAME: ${{ secrets.CUSTOMER_NAME }}
APP_SPACE_NAME: ${{ secrets.APP_SPACE_NAME }}
CUSTOMER_ID: ${{ secrets.CUSTOMER_ID }}
CUSTOMER_ID2: ${{ secrets.CUSTOMER_ID2 }}
APP_SPACE_ID: ${{ secrets.APP_SPACE_ID }}
ISSUER_ID: ${{ secrets.ISSUER_ID }}
TENANT_ID: ${{ secrets.TENANT_ID }}
TENANT_NAME: ${{ secrets.TENANT_NAME }}
APPLICATION_ID: ${{ secrets.APPLICATION_ID }}
APPLICATION_NAME: ${{ secrets.APPLICATION_NAME }}
APPLICATION_AGENT_ID: ${{ secrets.APPLICATION_AGENT_ID }}
APPLICATION_AGENT_NAME: ${{ secrets.APPLICATION_AGENT_NAME }}
APPLICATION_AGENT_CREDENTIAL_ID: ${{ secrets.APPLICATION_AGENT_CREDENTIAL_ID }}
SERVICE_ACCOUNT_CREDENTIAL_ID: ${{ secrets.SERVICE_ACCOUNT_CREDENTIAL_ID }}
EMAIL_SERVICE_CONFIG_NODE: ${{ secrets.EMAIL_SERVICE_CONFIG_NODE }}
AUTH_FLOW_CONFIG_NODE: ${{ secrets.AUTH_FLOW_CONFIG_NODE }}
OAUTH2_CLIENT_CONFIG_NODE: ${{ secrets.OAUTH2_CLIENT_CONFIG_NODE }}
WEBAUTHN_PROVIDER_CONFIG_NODE: ${{ secrets.WEBAUTHN_PROVIDER_CONFIG_NODE }}
READID_PROVIDER_CONFIG_NODE: ${{ secrets.READID_PROVIDER_CONFIG_NODE }}
AUTHZ_POLICY_CONFIG_NODE: ${{ secrets.AUTHZ_POLICY_CONFIG_NODE }}
KG_SCHEMA_CONFIG_NODE: ${{ secrets.KG_SCHEMA_CONFIG_NODE }}
OAUTH2_PROVIDER: ${{ secrets.OAUTH2_PROVIDER }}
OAUTH2_APPLICATION: ${{ secrets.OAUTH2_APPLICATION }}
PASSWORD: ${{ secrets.PASSWORD }}
NEW_PASSWORD: ${{ secrets.NEW_PASSWORD }}
BCRYPT: ${{ secrets.BCRYPT }}
SUBMITTER_SECRET: ${{ secrets.SUBMITTER_SECRET }}
MANAGER_SECRET: ${{ secrets.MANAGER_SECRET }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
RELYING_PARTIES: ${{ secrets.RELYING_PARTIES }}

jobs:
tests:
Expand Down
6 changes: 2 additions & 4 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ ignore:
- "indykite_sdk/identity/helper.py"
- "indykite_sdk/config/helper.py"
- "indykite_sdk/config/get_schema.py"
- "indykite_sdk/config/app_space.py"
- "indykite_sdk/ingest/ingest_record.py"
- "indykite_sdk/model/unique_name_identifier.py"
- "indykite_sdk/model/email_attachment.py"
- "indykite_sdk/model/oauth2_application.py"
- "indykite_sdk/model/oauth2_application_config.py"
- "indykite_sdk/model/oauth2_provider.py"
- "indykite_sdk/model/oauth2_provider_config.py"
- "indykite_sdk/model/import_digital_twin.py"
- "indykite_sdk/model/get_schema.py"
- "indykite_sdk/utils/hash_methods.py"
Expand Down
16 changes: 8 additions & 8 deletions docs/_modules/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
Expand All @@ -18,10 +18,10 @@
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="search" title="Search" href="../search.html" />
</head>

<body class="wy-body-for-nav">
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
Expand Down Expand Up @@ -66,7 +66,7 @@
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<h1>Source code for config</h1><div class="highlight"><pre>
<span></span><span class="kn">import</span> <span class="nn">certifi</span>
<span class="kn">import</span> <span class="nn">grpc</span>
Expand Down Expand Up @@ -119,7 +119,7 @@ <h1>Source code for config</h1><div class="highlight"><pre>
<span class="bp">self</span><span class="o">.</span><span class="n">credentials</span> <span class="o">=</span> <span class="n">credentials</span>

<span class="c1"># Imported methods</span>
<span class="kn">from</span> <span class="nn">.customer</span> <span class="kn">import</span> <span class="n">get_customer_by_id</span><span class="p">,</span> <span class="n">get_customer_by_name</span>
<span class="kn">from</span> <span class="nn">.customer</span> <span class="kn">import</span> <span class="n">read_customer_by_id</span><span class="p">,</span> <span class="n">read_customer_by_name</span>
<span class="kn">from</span> <span class="nn">.service_account</span> <span class="kn">import</span> <span class="n">get_service_account</span><span class="p">,</span> <span class="n">get_service_account_by_name</span><span class="p">,</span> <span class="n">create_service_account</span><span class="p">,</span> <span class="n">update_service_account</span><span class="p">,</span> <span class="n">delete_service_account</span>
<span class="kn">from</span> <span class="nn">.app_space</span> <span class="kn">import</span> <span class="n">get_app_space_by_id</span><span class="p">,</span> <span class="n">get_app_space_by_name</span><span class="p">,</span> <span class="n">create_app_space</span><span class="p">,</span> <span class="n">update_app_space</span><span class="p">,</span> <span class="n">list_app_spaces</span><span class="p">,</span> <span class="n">delete_app_space</span>
<span class="kn">from</span> <span class="nn">.tenant</span> <span class="kn">import</span> <span class="n">get_tenant_by_id</span><span class="p">,</span> <span class="n">get_tenant_by_name</span><span class="p">,</span> <span class="n">create_tenant</span><span class="p">,</span> <span class="n">update_tenant</span><span class="p">,</span> <span class="n">list_tenants</span><span class="p">,</span> <span class="n">delete_tenant</span>
Expand Down Expand Up @@ -150,7 +150,7 @@ <h1>Source code for config</h1><div class="highlight"><pre>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
Expand All @@ -161,7 +161,7 @@ <h1>Source code for config</h1><div class="highlight"><pre>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</script>

</body>
</html>
</html>
18 changes: 9 additions & 9 deletions docs/_modules/config/customer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
Expand All @@ -18,10 +18,10 @@
<script src="../../_static/sphinx_highlight.js"></script>
<script src="../../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="search" title="Search" href="../../search.html" />
</head>

<body class="wy-body-for-nav">
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
Expand Down Expand Up @@ -67,13 +67,13 @@
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<h1>Source code for config.customer</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">indykite_sdk.indykite.config.v1beta1</span> <span class="kn">import</span> <span class="n">config_management_api_pb2</span> <span class="k">as</span> <span class="n">pb2</span>
<span class="kn">from</span> <span class="nn">indykite_sdk.model.customer</span> <span class="kn">import</span> <span class="n">Customer</span>


<div class="viewcode-block" id="get_customer_by_id"><a class="viewcode-back" href="../../config.html#config.customer.get_customer_by_id">[docs]</a><span class="k">def</span> <span class="nf">get_customer_by_id</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">customer_id</span><span class="p">):</span>
<div class="viewcode-block" id="read_customer_by_id"><a class="viewcode-back" href="../../config.html#config.customer.read_customer_by_id">[docs]</a><span class="k">def</span> <span class="nf">read_customer_by_id</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">customer_id</span><span class="p">):</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">response</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">stub</span><span class="o">.</span><span class="n">ReadCustomer</span><span class="p">(</span>
<span class="n">pb2</span><span class="o">.</span><span class="n">ReadCustomerRequest</span><span class="p">(</span>
Expand All @@ -90,7 +90,7 @@ <h1>Source code for config.customer</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="n">Customer</span><span class="o">.</span><span class="n">deserialize</span><span class="p">(</span><span class="n">response</span><span class="o">.</span><span class="n">customer</span><span class="p">)</span></div>


<div class="viewcode-block" id="get_customer_by_name"><a class="viewcode-back" href="../../config.html#config.customer.get_customer_by_name">[docs]</a><span class="k">def</span> <span class="nf">get_customer_by_name</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">customer_name</span><span class="p">):</span>
<div class="viewcode-block" id="read_customer_by_name"><a class="viewcode-back" href="../../config.html#config.customer.read_customer_by_name">[docs]</a><span class="k">def</span> <span class="nf">read_customer_by_name</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">customer_name</span><span class="p">):</span>

<span class="k">try</span><span class="p">:</span>
<span class="n">response</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">stub</span><span class="o">.</span><span class="n">ReadCustomer</span><span class="p">(</span>
Expand Down Expand Up @@ -123,7 +123,7 @@ <h1>Source code for config.customer</h1><div class="highlight"><pre>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.


</footer>
</div>
Expand All @@ -134,7 +134,7 @@ <h1>Source code for config.customer</h1><div class="highlight"><pre>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</script>

</body>
</html>
</html>

0 comments on commit 0452cad

Please sign in to comment.