From af01be29f4d3ecf726c79064600d331fe7b9f04f Mon Sep 17 00:00:00 2001 From: "gtrivedi@redhat.com" Date: Wed, 23 Aug 2023 19:15:10 +0530 Subject: [PATCH] Added attributes --- config/config.go | 2 ++ .../appstudio-create-app-config/appstudio-create-app-config.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 9f89efbd..b31124d3 100644 --- a/config/config.go +++ b/config/config.go @@ -20,6 +20,7 @@ type QuickstartsConfig struct { Test bool DbSSLMode string DbSSLRootCert string + ProductName string // Placeholder for the product name } var config *QuickstartsConfig @@ -29,6 +30,7 @@ func Init() { config.ServerAddr = ":8000" config.OpenApiSpecPath = "./spec/openapi.json" config.Test = false + config.ProductName = os.Getenv("product_name") // Placeholder for the product name if clowder.IsClowderEnabled() { cfg := clowder.LoadedConfig config.DbHost = cfg.Database.Hostname diff --git a/docs/help-topics/appstudio-create-app-config/appstudio-create-app-config.yml b/docs/help-topics/appstudio-create-app-config/appstudio-create-app-config.yml index 6896d0e4..40831c35 100644 --- a/docs/help-topics/appstudio-create-app-config/appstudio-create-app-config.yml +++ b/docs/help-topics/appstudio-create-app-config/appstudio-create-app-config.yml @@ -6,7 +6,7 @@ tags: title: Configure components content: |- - App Studio analyzes your code and defines deployment settings for each of your app components. Before we create and deploy your app, check the values in this view. You can also rename each component if you like. + {{product_name}} analyzes your code and defines deployment settings for each of your app components. Before we create and deploy your app, check the values in this view. You can also rename each component if you like. - Verify the **target port** is correct.