vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Similar to Terraform, a DAG (Directed Acyclic Graph) is generated from the dependencies and relationships to determine execution order. Dependencies are created using '$module' references.





 How do I edit and validate blueprint templates? 

Blueprint templates can be edited in any editor or IDE. Follow the instructions on how to use and configure VSCode to [edit templates and input files](https://cloud.ibm.com/docs/schematics?topic=schematics-edit-blueprints). The [Red Hat YAML VSCode extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) provides a framework for editing blueprint YAML files, using a [blueprint schema](https://github.com/Cloud-Schematics/vscode-blueprint-schema) defined using [JSON-Schema](https://json-schema.org) .





 Why do blueprints get the error 'Length for variable variable name greater than the given length'? 

The default size of values that can be passed to Blueprints as inputs is set to 1KB. If the expected size is greater than 1KB, the [max_length inputs meta-data](https://cloud.ibm.com/docs/schematics?topic=schematics-bp-template-schema-yamlbp-inputs-max-len) can be defined to set the length that Blueprints should accept.

A value larger than 1KB or the specified length will result in the error Length for variable <variable name> greater than the given length





 Why do blueprint operations require a blueprint ID? 

In Schematics Blueprints, the displayed name is not a unique identifier. Only the blueprint ID that is generated at create time is unique. This unique blueprint ID is needed by the command line to identify the specific environment to be worked on. Blueprint IDs are unique globally and generated from the user supplied name at create time.





 What URL format is used for referencing blueprint templates and input files?
It is used to control all access to the service instance, with the minimum role of Reader being required to access any Kafka or HTTPS endpoint. This use of the cluster resource type is also applied to the schema registry whereby a minimum role of Reader is required to access the registry.





 Example authorization scenarios 

The following table describes some examples of scenarios for interacting with the Event Streams schema registry, together with the roles that are required by the actors involved. The process of managing schemas is handled separately to deploying applications. So policies are required for both the service ID that manages schemas in the registry and the application that connects to the registry.



Table 3. Examples authorization scenarios

 Scenario Person or process role Person or process resource Application role Application resource 

 New schema versions are placed into the registry by a person or process that is separate from the applications that use the schemas. Reader <br>Writer cluster <br>schema Reader <br>Reader cluster <br>schema 
 Adding a schema to the registry needs to specify a nondefault rule that controls how versions of the schema are allowed to evolve. Reader <br>Manager cluster <br>schema Not applicable Not applicable 
 Schemas are managed alongside the application code that uses the schema. New schema versions are created at the point that an application tries to use the new schema version. Not applicable Not applicable Reader <br>Writer cluster <br>schema 
 The global default rule that controls schema evolution is changed. Manager cluster Not applicable Not applicable
Specifies the input parameters of the UDF. An input parameter has a name, which is specified as <column-name>, and can be either a scalar type or a table locator. When the language is PMML, the function must take a single table that is called params as the argument.
* <column-name>

Specifies the name of a column in the input or the output of the UDF.
* <data-type>

The type of an input scalar parameter to the UDF, the type of a column in the schema of an input table to the UDF or in the schema of the output table of the UDF. Possible values for <data-type> are Integer, Float, String, Text, Span, Boolean, or ScalarList.
* table (<output-schema-definition>) as locator

This input type allows a function to take as input the entire contents of a given AQL view as computed on the current document. The locator parameter references views or tables as arguments.
* <return-type>

For scalar UDFs, the <return-type> specifies the type of the scalar value that is returned by the UDF. Possible values for the return type are: Integer, Float, String, Text, Span, Boolean, or ScalarList. If the return type is Integer, the Java™ function that implements the UDF returns objects of type Integer. The UDF implementation cannot return the primitive int type. If the return type is Text or Span, specify the input parameter from which the return type is derived. You can specify the input parameter by using the optional like specification, since spans are always from an underlying column. If the return type is ScalarList, specify the input parameter from which the scalar type inside the ScalarList is to be inferred. When the language is PMML, the function must return a table.
* <output-schema-definition>

For table UDFs, the <output-schema-definition> specifies the output schema of the table that is returned by the UDF, including the column names and their types.
* <ext-name>
For more information about how to delete your DevOps Insights instance, see [Deleting a DevOps Insights tool integration](https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-deleting_data).





 Can I delete build, test, and deploy data from DevOps Insights? 

You can delete data sets from for toolchain, environment, application, and for a branch. For more information about how to delete a specific data set, see [Deleting DevOps Insights data sets](https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-deleting_data).





 Do I need a Continuous Delivery service instance to use DevOps Insights? 

Yes. To use DevOps Insights, you must create a Continuous Delivery [service instance](https://cloud.ibm.com/catalog/services/continuous-delivery) if you don't already have one. For more information, see [Scope of a service instance](https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-limitations_usageservice_scope).





 How am I billed for DevOps Insights? 

You are not billed for DevOps Insights as an individual service. DevOps Insights counts toward your Continuous Delivery limitations and usage. A user of DevOps Insights is added to your Continuous Delivery authorized users. For more information, see [Authorized users](https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-limitations_usageauthorized_users).





 Can I manage DevOps Insights by using Terraform or APIs? 

You can use Terraform or APIs to add DevOps Insights to a toolchain or to remove it from a toolchain.
Database Privileges 

In this section, you can find the details about minimum required database privileges for encryption using Data Security Broker.



  Database privileges for encryption and migration 

To carry out encryption and migration, Data Security Broker Shield requires certain user permissions on the database. It is recommended that you create a new user on your database for Data Security Broker Shield to use.





  Database privileges required for PostgreSQL 12 



Table 1. Database privileges required for PostgreSQL 12 in Data Security Broker Manager caption-side=

 Operation                                                                        Details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Queries used by Shield                                                              Minimum required grants                                                                            Additional information     

 Proxy normal operation: Support implicit inserts, and Obtain column information  Access information_schema to get information about columns. This is needed to support queries such as implicit inserts (inserts that don’t have column names specified explicitly). [Per database or per schema or per table that is defined in Data Security Broker] select ordinal_position, column_name, data_type from information_schema .COLUMNS where table_catalog=Database Name and table_schema=Schema Name, and table_name=TableName order by ordinal_position                Select grant is required for all tables that are defined in Data Security Broker.   If a new database, schema or column is added to your protection plan, ensure the grant is applied 
 CheckProxyPort                                                                   Check if the port specified for the Shield is responsive                                                                                                                                                                                                                                                                                                                                                                                                                                 Select 1                                                                            Select grant
In this view, you can see different admin privileges, which are already granted or that can be granted to the selected group.
Granting these privileges allows the users that belong to the group to do the actions that the privileges correspond to. Granting privileges on global database and global schema unlocks all the privileges to the user equivalent to an admin.
3. Click Edit.
4. Update, grant, or revoke object privileges by putting ticks in corresponding boxes.
5. Click Save.







 Granting object privileges to groups 

Group privileges dictate what actions can be taken by users who are a part of the group.



1. Go to Users and groups > Groups.
2. Select the group for which you want to grant object privileges and select Object privileges from the overflow menu.
3. Select a database.
You can choose between the Global database and a specific database. Global means that the privileges are related to generic object types such as views, tables, databases, groups.
If you choose Global, the privilege is assigned globally across the system.
4. Select a schema.
If you selected Global for the database in step 3, skip this step.
5. Click Edit.
6. Update, grant, or revoke object privileges by putting ticks in corresponding boxes.
7. Click Save.







 Comparing groups 



1. Go to Users and groups > Groups.
2. Click Workload management.
3. Click Compare groups.
4. Select the groups you want to compare.
5. Select the time within which you want to compare the chosen groups.
You can see the results on the Comparison graph.







 Removing groups 



1. Go to Users and groups > Groups.
2. Select the group that you want to remove and select Remove from the overflow menu.
In the confirmation pop up, click Remove to remove the group or Cancel to cancel this action.
ibmcloud cdb deployment-configuration <deployment name or CRN> [@JSON_FILE | JSON_STRING]

The command reads the changes that you would like to make from the JSON object or a file. For more information, see the [reference page](https://cloud.ibm.com/docs/databases-cli-plugin?topic=databases-cli-plugin-cdb-referencedeployment-configuration).





 Using the API with IBM Cloud® Databases for MySQL 

There are two deployment-configuration endpoints, one for viewing the configuration schema and one for changing the configuration. To view the configuration schema, send a GET request to /deployments/{id}/configuration/schema.

To change the configuration, send the settings that you would like to change as a JSON object in the request body of a PATCH request to /deployments/{id}/configuration.

For more information, see the [API Reference](https://cloud.ibm.com/apidocs/cloud-databases-apichange-your-database-configuration).





 IBM Cloud® Databases for MySQL time zone settings 

The time zone for IBM Cloud® Databases for MySQL deployments is always Coordinated Universal Time. Configure your time zone with the Cloud Databases API or the CLI change your time zone to a named time zone (recommended) or an offset of a time zone.

You are required to configure the time zone again on both restored instances and read-replicas. Although the time zone tables are restored (in the case of a restore) and replicated (in the case of a read-replica), the @@global.time_zone value is not. To set this value, use the same API calls as before, but with the new CRNs.



 Configuring Your IBM Cloud® Databases for MySQL time zone settings 

At provisioning, a Cloud Databases deployment is configured to Coordinated Universal Time. Reconfiguring your time zone is a persistent change, which must be undertaken for each of your Cloud Databases deployments.

Configuring your time zone sets the global time zone within your MySQL instance.
* UI
* CLI
* API







 Listing routing tables for a VPC 

You can list routing tables for a VPC by using the UI, CLI, or API.



 Listing routing tables for a VPC in the UI 

To list the routing tables for a VPC in the UI, follow these steps:



1. From the [IBM Cloud console](https://cloud.ibm.com/login), select the Navigation Menu ![Navigation Menu](https://cloud.ibm.com/docs-content/v1/content/f02b9c9adcbb7328d95a45e105cec371d50f15eb/vpc//images/menu_icon.png), then click VPC Infrastructure > Routing tables in the Network section. The Routing tables for VPC page appears.
2. From the Virtual private cloud drop-down list, select the VPC that you want to list routing tables for.

Column descriptions are as follows:



* Name - Indicates the name of the routing table. Click this link to see the details of the routing table. You can also edit and change this name.
* Default - Specifies the default routing table of the specified VPC.
* Traffic type - Specifies the type of traffic. For example, Egress.
* Routes - States the number of routes that are attached to the routing table.
* Attached subnets - Indicates the number of subnets that are attached to the routing table.



3. From the Routing tables for VPC page, you can create, delete, and view the details of a routing table.



The Actions menu ![Actions menu](https://cloud.ibm.com/docs-content/v1/content/f02b9c9adcbb7328d95a45e105cec371d50f15eb/vpc/images/overflow.png) is used to delete a routing table. Keep in mind that you can do this action only on routing tables without attached subnets.





 Listing routing tables for a VPC from the CLI
* [How do I set the credentials to access a private provider registry](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentfaqs-agent-tf-creds)
* [Using Artifactory as a provider registry](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentfaqs-agent-artifactory)



* [Configuring a local Artifactory provider registry](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentconfiguring-a-local-artifactory-provider-registry)
* [Configuring a remote Artifactory provider registry](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentconfiguring-a-remote-artifactory-provider-registry)
* [Configuring a virtual Artifactory provider registry](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentconfiguring-a-virtual-artifactory-provider-registry)



* [Can I inject self signed or TLS certificates in IBM Cloud Kubernetes Service pod or container's trusted CA root certificate store during agent runtime?](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentfaqs-agent-certificate)
* [What attributes of Workspaces or Actions are used to dynamically select a target agent for execution](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentagent-dynamic-attribute)
* [How can I enable debug mode in an agent?](https://cloud.ibm.com/docs/schematics?topic=schematics-faqs-agentfaqs-agent-debugmode)
* [Can I upgrade an agent beta-0 to agent beta-1?]
For more information, see [expanding file share capacity](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-expand-capacity).
* Is there a way to replicate my file shares in case of events?

 Is there a way to replicate my file shares in case of events? 

Yes. You can create replicas of your file shares by setting up a replication relationship between primary file shares in one zone to replica file share in another zone. Using replication is a good way to recover from incidents at the primary site, when data becomes inaccessible or applications fail. For more information, see [About file share replication](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-replication&interface=ui).
* How does file share replication work?

 How does file share replication work? 

when you create a file share, you can set up a replication relationship between a primary source file share to a replica file share in a different zone. When the file share is created, so is the replica share in the other zone. When the replication relationship is established, the replica file share begins pulling data from the source file share. The replica file share is read-only until you break the replication relationship, creating two independent file shares, or fail over to the replica file share. For more information about setting up replication, see [Creating replica file shares](https://cloud.ibm.com/docs/vpc?topic=vpc-file-storage-create-replication&interface=ui).
* How do I schedule replication?

 How do I schedule replication? 

You can choose the frequency of replication by creating a schedule with a cronspec and can replicate as frequently as every hour. Set up replication from the UI, CLI, or by calling the API.
* I want to set up replication. Is there automatic failover?

 I want to set up replication. Is there automatic failover? 

No, choosing to fail over to the replica site is a manual operation, and you must reconcile your data after the failover to the replica share is done.
Are my secrets automatically updated if I do not create and register a [Secrets Manager](https://cloud.ibm.com/docs/containers?topic=containers-secrets-mgr) instance?
: If you do not register a Secrets Manager instance to your cluster, your default Ingress secrets continue to update automatically every 90 days and are applied to your cluster. However, any secrets you created that reference the default Ingress secret are not automatically updated.
: Example scenario: You have a default Ingress certificate in the default namespace. You run the ibmcloud ks ingress secret create command and reference the CRN of the default Ingress certificate to mirror the certificate in the istio-system namespace. Without a Secrets Manager instance, the default Ingress certificate in the default namespace automatically updates. However, you are responsible for regularly updating the certificate in the istio-system namespace with the kubectl commands or another rotation method.

I created secrets that reference the default Ingress certificate, but I did not create and register a [Secrets Manager](https://cloud.ibm.com/docs/containers?topic=containers-secrets-mgr) instance. How do I manage my secrets?
: If you don't register a Secrets Manager instance, IBM Cloud Kubernetes Service automatically updates only the default Ingress secret. You are responsible for managing any other secrets by using kubectl commands or another rotation method. If your secrets reference the default Ingress certificate, remove them by using ibmcloud ks ingress secret rm.
Are my secrets automatically updated if I do not create and register a [Secrets Manager](https://cloud.ibm.com/docs/containers?topic=containers-secrets-mgr) instance?
: If you do not register a Secrets Manager instance to your cluster, your default Ingress secrets continue to update automatically every 90 days and are applied to your cluster. However, any secrets you created that reference the default Ingress secret are not automatically updated.
: Example scenario: You have a default Ingress certificate in the default namespace. You run the ibmcloud oc ingress secret create command and reference the CRN of the default Ingress certificate to mirror the certificate in the istio-system namespace. Without a Secrets Manager instance, the default Ingress certificate in the default namespace automatically updates. However, you are responsible for regularly updating the certificate in the istio-system namespace with the kubectl commands or another rotation method.

I created secrets that reference the default Ingress certificate, but I did not create and register a [Secrets Manager](https://cloud.ibm.com/docs/containers?topic=containers-secrets-mgr) instance. How do I manage my secrets?
: If you don't register a Secrets Manager instance, Red Hat OpenShift on IBM Cloud automatically updates only the default Ingress secret. You are responsible for managing any other secrets by using kubectl commands or another rotation method. If your secrets reference the default Ingress certificate, remove them by using ibmcloud ks ingress secret rm.
Managing PostgreSQL Extensions 

In PostgreSQL, extensions are modules that supply extra functions, operators, or types. Many extensions are available in IBM Cloud® Databases for PostgreSQL. To use them, [set the admin password](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-admin-password) for your service and use it to [connect with psql](https://cloud.ibm.com/docs/databases-for-postgresql?topic=databases-for-postgresql-connecting-psql).



 Listing Installed Extensions 

Get a list of all the extensions installed on a database by using the dx command.

For example, the output for dx when run on the Databases for PostgreSQL default database shows the only installed extension.

ibmclouddb=> dx
List of installed extensions
Name | Version | Schema | Description
---------+---------+------------+------------------------------
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
(1 row)





 Installing Extensions 

To install an extension on to a database use [CREATE EXTENSION](https://www.postgresql.org/docs/current/static/sql-createextension.html). For example, to install pg_stat_statements on the ibmclouddb database,

ibmclouddb=> CREATE EXTENSION pg_stat_statements;
CREATE EXTENSION

Extensions are installed into the read-only ibm_extension schema. The schema is part of the search_path so extension objects do not need to be qualified with a schema. The change from public schema to ibm_extension schema is necessary to protect the security and integrity of your data.
(https://cloud.ibm.com/docs/schematics?topic=schematics-general-faqfaq-iam-accessgrp-benefit)
* [What are the steps to create and restrict the fine-grained and classic personal access tokens (PAT).](https://cloud.ibm.com/docs/schematics?topic=schematics-general-faqfaq-pat)
* [Can I run the terraform init -backend-config="KEY=VALUE" option through CLI?](https://cloud.ibm.com/docs/schematics?topic=schematics-general-faqfaq-tf-backend)



[Workspaces](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqworkspaces-faq)



* [Why are files removed from Terraform, or Ansible templates?](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqclone-file-extension)
* [How do I save files between operations?](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqsaving-files)
* [How do I update the Terraform version](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqmigrate-terraform-v11)
* [Why are jobs waiting to be run placed in a queue?](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqjob-queue-faq)
* [How do I pull latest code from a Git repo using the command line?](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqlatestcode-workspace-commandline)