<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aura – </title>
    <link>/docs/developers-workspace/work-with-kernel/</link>
    <description>Recent content on Aura</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/docs/developers-workspace/work-with-kernel/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: </title>
      <link>/docs/developers-workspace/work-with-kernel/kernel-datasets-configuration/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/developers-workspace/work-with-kernel/kernel-datasets-configuration/</guid>
      <description>
        
        
        &lt;h1 id=&#34;kernel-configuration-general-steps&#34;&gt;&lt;strong&gt;Kernel&lt;/strong&gt; configuration: General steps&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;General guidelines for the execution over &lt;strong&gt;Kernel&lt;/strong&gt; of tasks required for Aura features&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Certain Aura features requires the execution of preliminary tasks over &lt;a href=&#34;https://developers.baikalplatform.com/&#34;&gt;&lt;strong&gt;Kernel&lt;/strong&gt;&lt;/a&gt; to access its integrated resources and capabilities, such as APIs, datasets, etc.&lt;/p&gt;
&lt;p&gt;The following sections outline the tasks that are &lt;em&gt;&lt;strong&gt;common to all Aura features&lt;/strong&gt;&lt;/em&gt;. Additionally, each of them will have their own specific requirements.&lt;/p&gt;
&lt;h2 id=&#34;1-check-apis-publication-in-kernel&#34;&gt;1. Check APIs publication in Kernel&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If the Aura feature uses a &lt;strong&gt;Kernel&lt;/strong&gt; API, check if the API is published in &lt;strong&gt;Kernel&lt;/strong&gt;: &lt;a href=&#34;https://developers.baikalplatform.com/apis/&#34;&gt;List of available APIS on Telefónica Kernel&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If not, follow the guidelines in the document &lt;a href=&#34;../../../docs/atria/technical-guidelines/kernel-api-publication/&#34;&gt;Publish an API in &lt;strong&gt;Kernel&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2-check-datasets-publication-in-kernel&#34;&gt;2. Check datasets publication in Kernel&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-circle-info fa-xl&#34; style=&#34;color: #3267c3;&#34;&gt;&lt;/i&gt; Only necessary if the Aura feature requires datasets&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Identify the required datasets for the configuration of the feature:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../docs/components/kpi-entities/aura-entities-definition/&#34;&gt;Aura entities&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check that these datasets are published in &lt;strong&gt;Kernel&lt;/strong&gt;: &lt;a href=&#34;https://developers.baikalplatform.com/datasets/&#34;&gt;List of available datasets on Telefónica &lt;strong&gt;Kernel&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If not, ask the &lt;strong&gt;Kernel&lt;/strong&gt; Team to publish the datasets in &lt;strong&gt;Kernel&lt;/strong&gt; productive environment with the latest version.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;3-create-a-kernel-application&#34;&gt;3. Create a Kernel application&lt;/h2&gt;
&lt;p&gt;Accessing &lt;strong&gt;Kernel&lt;/strong&gt; data requires the previous generation of an &lt;a href=&#34;https://developers.baikalplatform.com/tech-doc/release/latest/data-ai/quick-start/basic-concepts.html#kernel-access-is-made-by-client-apps&#34;&gt;&lt;strong&gt;application&lt;/strong&gt;&lt;/a&gt; (&lt;strong&gt;Kernel&lt;/strong&gt; client), which must be configured with permissions to access specific datasets.&lt;/p&gt;
&lt;p&gt;For certain Aura features, a specific &lt;strong&gt;Kernel&lt;/strong&gt; application must be created from scratch. Other ones require the use of already existing &lt;strong&gt;Kernel&lt;/strong&gt; applications, such as &lt;em&gt;&lt;strong&gt;aura-bot-[environment]&lt;/strong&gt;&lt;/em&gt;, that must be specifically configured for this feature (Step 4).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ask the &lt;strong&gt;Kernel&lt;/strong&gt; Team to create a new application with a specific name (id) in &lt;strong&gt;Kernel&lt;/strong&gt; for your intended environment.&lt;br&gt;
Once the app is created, two parameters will be provided for securely accessing:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;client_id&lt;/code&gt;: unique identifier of the consuming app acting as Kernel API client.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;client_secret&lt;/code&gt;: password.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;4-assign-purposescopes-to-the-application&#34;&gt;4. Assign purpose/scopes to the application&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Only in the case of data that contain personal information (PI-scopes), it is necessary to create a &lt;a href=&#34;https://developers.baikalplatform.com/tech-doc/release/latest/data-ai/quick-start/basic-concepts.html#scopes-pi-scopes-and-purposes&#34;&gt;purpose&lt;/a&gt; in &lt;strong&gt;Kernel&lt;/strong&gt;, that defines the reason for accessing information-related data.
In this scenario, ask the &lt;strong&gt;Kernel&lt;/strong&gt; Team to generate a purpose for the new application or the existing one required by the Aura feature.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ask the &lt;strong&gt;Kernel&lt;/strong&gt; Team to generate the &lt;a href=&#34;https://developers.baikalplatform.com/tech-doc/release/latest/data-ai/quick-start/basic-concepts.html#scopes-pi-scopes-and-purposes&#34;&gt;scopes&lt;/a&gt; required for the Aura feature, that define the access level to datasets (writing/reading permissions to/from &lt;strong&gt;Kernel&lt;/strong&gt; datasets).&lt;br&gt;&lt;br&gt;
Take into account the following considerations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If a purpose is required, the scopes must be associated to it.&lt;/li&gt;
&lt;li&gt;There are global admin scopes that are always mandatory for every app in order to write/read datasets:
&lt;ul&gt;
&lt;li&gt;admin:datasets:read&lt;/li&gt;
&lt;li&gt;data:read&lt;/li&gt;
&lt;li&gt;data:write&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Additionally, each Aura feature requires its specific scopes.&lt;/li&gt;
&lt;li&gt;&lt;i class=&#34;fa-solid fa-circle-info fa-xl&#34; style=&#34;color: #3267c3;&#34;&gt;&lt;/i&gt; The version number is not needed in the scopes.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;guidelines-for-kernel-configuration-in-specific-aura-features&#34;&gt;Guidelines for Kernel configuration in specific Aura features&lt;/h2&gt;
&lt;p&gt;List of published guidelines that include specific &lt;strong&gt;Kernel&lt;/strong&gt; configuration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../docs/developers-workspace/monitoring/billing-module/operation/&#34;&gt;Billing module operation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/developers-workspace/work-with-kernel/kernel-datasets-upload-handling/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/developers-workspace/work-with-kernel/kernel-datasets-upload-handling/</guid>
      <description>
        
        
        &lt;h1 id=&#34;kernel-datasets-upload-handling&#34;&gt;&lt;strong&gt;Kernel&lt;/strong&gt; datasets upload handling&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Guidelines for the enabling and disabling of &lt;strong&gt;Kernel&lt;/strong&gt; datasets upload in non-productive environments.&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;After the deployment of Aura in any environment, all its components will generate KPI entities files that will be uploaded into &lt;strong&gt;Kernel&lt;/strong&gt; in CSV or Avro format, as datasets. These procedures increment the cost, both in Aura and in &lt;strong&gt;Kernel&lt;/strong&gt; instances:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;More consumption of Azure Storage&lt;/li&gt;
&lt;li&gt;More time of execution of the Databricks cluster of Aura&lt;/li&gt;
&lt;li&gt;Need for more storage in &lt;strong&gt;Kernel&lt;/strong&gt;, both in Azure for the CSVs and for Avro datasets&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Moreover, the data generated in these environments is almost never analyzed nor used.&lt;/p&gt;
&lt;p&gt;Because of this, the proposal is to disable the uploading and to minimize the storage of these files, to minimize the costs, once the sanity test set was executed and the process has been validated.&lt;/p&gt;
&lt;p&gt;If, eventually, there is a need to test the process again or to upload some data to validate algorithms or to use the Aura billing module, everything can be enabled again.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A kubeconfig of the Aura environment must be configured.&lt;/li&gt;
&lt;li&gt;az client installed in your PC.&lt;/li&gt;
&lt;li&gt;Credentials to access the Azure subscription.&lt;/li&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;YOUR-ENV&amp;gt;&lt;/code&gt; with the corresponding pre-production environment: &lt;code&gt;es-pre&lt;/code&gt;, &lt;code&gt;es-cert&lt;/code&gt;, &lt;code&gt;br-pre&lt;/code&gt;, &lt;code&gt;de-pre&lt;/code&gt;, &lt;code&gt;de-int&lt;/code&gt;, etc.&lt;/li&gt;
&lt;li&gt;The installation output file (&lt;code&gt;output_install/&amp;lt;YOUR_ENV&amp;gt;_info.json&lt;/code&gt;) to get:
&lt;ul&gt;
&lt;li&gt;The token and the URL of the Databricks cluster.
&lt;ul&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;DATABRICKS_TOKEN&amp;gt;&lt;/code&gt; with Databricks cluster token.&lt;/li&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;DATABRICKS_URL&amp;gt;&lt;/code&gt; with the domain of the Databricks cluster URL.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;job_id&lt;/code&gt; of the databricks job in charge of uploading the datasets to Kernel
&lt;ul&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;DATABRICKS_JOB_ID&amp;gt;&lt;/code&gt; with the &lt;code&gt;job_id&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Azure Storage account name and the blob container where the KPI entities files are stored.
&lt;ul&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;AZURE_COMMON_STORAGE&amp;gt;&lt;/code&gt; with &lt;code&gt;STORAGE_ACCOUNT_NAME&lt;/code&gt; and &lt;code&gt;&amp;lt;KPI_BLOB_CONTAINER_NAME&amp;gt;&lt;/code&gt; with its value.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;output_install/&amp;lt;YOUR_ENV&amp;gt;_info.json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCOUNT_NAME&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .common_azure_storage_account_name&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCESS_KEY&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .common_azure_storage_access_key&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;KPI_BLOB_CONTAINER_NAME&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .kpi_blob_container_name&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;DATABRICKS_JOB_ID&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .databricks.job_id&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;DATABRICKS_URL&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .databricks.url&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;DATABRICKS_TOKEN&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .databricks.token&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;disable-data-uploading&#34;&gt;Disable data uploading&lt;/h2&gt;
&lt;h3 id=&#34;disable-aura-kpis-uploader-csv-files-upload&#34;&gt;Disable aura-kpis-uploader CSV files upload&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Suspend &lt;em&gt;&lt;strong&gt;aura-kpi-uploader&lt;/strong&gt;&lt;/em&gt; job:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl -n &amp;lt;YOUR-ENV&amp;gt; patch cronjobs kpi-uploader -p &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{&amp;#34;spec&amp;#34; : {&amp;#34;suspend&amp;#34; : true }}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;disable-aura-databricks-job-avro-files-upload&#34;&gt;Disable aura-databricks-job Avro files upload&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Pause &lt;em&gt;&lt;strong&gt;aura-databricks-job&lt;/strong&gt;&lt;/em&gt; job:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Substitute &lt;code&gt;&amp;lt;DATABRICKS_JOB_ID&amp;gt;&lt;/code&gt; with the &lt;code&gt;DATABRICKS_JOB_ID&lt;/code&gt; obtained from the installation output file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl -XPOST --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: &amp;lt;DATABRICKS_TOKEN&amp;gt;&amp;#39;&lt;/span&gt; https://&amp;lt;DATABRICKS_URL&amp;gt;/api/2.1/jobs/update --data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;   &amp;#34;job_id&amp;#34;: &amp;lt;DATABRICKS_JOB_ID&amp;gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;   &amp;#34;new_settings&amp;#34;:{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;      &amp;#34;schedule&amp;#34;:{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;         &amp;#34;pause_status&amp;#34;:&amp;#34;PAUSED&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;      }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;   }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;remove-old-kpi-entity-files-generated-by-aura-and-atria-components&#34;&gt;Remove old KPI entity files generated by Aura and ATRIA components&lt;/h2&gt;
&lt;p&gt;This step will be fulfilled by applying a removal policy on the Azure blob container where the components write the KPIs.&lt;/p&gt;
&lt;p&gt;There are two ways of applying this change:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Apply the policy from Azure portal&lt;/li&gt;
&lt;li&gt;Apply the policy using az client&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;apply-the-policy-from-azure-portal&#34;&gt;Apply the policy from Azure portal&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Access Azure portal&lt;/li&gt;
&lt;li&gt;Look for &lt;code&gt;&amp;lt;AZURE_COMMON_STORAGE&amp;gt;&lt;/code&gt; account and &lt;code&gt;&amp;lt;KPI_BLOB_CONTAINER_NAME&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Apply &lt;code&gt;management-policy&lt;/code&gt; to &lt;code&gt;&amp;lt;KPI_BLOB_CONTAINER_NAME&amp;gt;&lt;/code&gt; and to &lt;code&gt;&amp;lt;KPI_BLOB_CONTAINER_NAME&amp;gt;/processed&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;apply-the-policy-using-az-client&#34;&gt;Apply the policy using az client&lt;/h3&gt;
&lt;p&gt;To execute this step, first log in to the Azure subscription with &lt;code&gt;az login&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;output_install/&amp;lt;YOUR_ENV&amp;gt;_info.json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCOUNT_NAME&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .common_azure_storage_account_name&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCESS_KEY&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .common_azure_storage_access_key&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;RESOURCE_GROUP&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .common_resource_group&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;az storage account management-policy show -g &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;RESOURCE_GROUP&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt; --account-name &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCOUNT_NAME&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt; -o json &amp;gt; policy.json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;KPI_BLOB_CONTAINER_NAME&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;$(&lt;/span&gt;cat &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;PATH_TO_YOUR_OUTPUT_INSTALL_ENV_FILE&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;jq -r .kpi_blob_container_name&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sed -i &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;s|&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;KPI_BLOB_CONTAINER_NAME&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;/proccesed||g&amp;#34;&lt;/span&gt; policy.json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;az storage account management-policy create -g &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;RESOURCE_GROUP&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt; --account-name &lt;span style=&#34;color:#4e9a06&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;STORAGE_ACCOUNT_NAME&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;}&lt;/span&gt; --policy policy.json
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;enable-data-uploading&#34;&gt;Enable data uploading&lt;/h2&gt;
&lt;p&gt;Execute Aura installer and everything will be reconfigured again, running the &lt;code&gt;deploy_core&lt;/code&gt; stage.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
