Skip to content

Commit 9b65b8e

Browse files
authored
Merge pull request #11 from intelops/qt
Added QT changes
2 parents 5342eae + 22ca4aa commit 9b65b8e

27 files changed

+41
-41
lines changed

cli/actions/configure_action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (a configureAction) Run(ctx context.Context, args ConfigureConfig) error {
3939
if args.SetValues.Endpoint != "" {
4040
serverURL = args.SetValues.Endpoint
4141
} else {
42-
serverURL = ui.TextInput("Enter your Tracetest server URL", existingConfig.URL())
42+
serverURL = ui.TextInput("Enter your qt server URL", existingConfig.URL())
4343
}
4444

4545
if err := config.ValidateServerURL(serverURL); err != nil {

cli/cmd/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func loadConfig(cmd *cobra.Command, args []string) {
114114
func validateConfig(cmd *cobra.Command, args []string) {
115115
if cliConfig.IsEmpty() {
116116
cliLogger.Warn("You haven't configured your CLI, some commands might fail!")
117-
cliLogger.Warn("Run 'tracetest configure' to configure your CLI")
117+
cliLogger.Warn("Run 'qt configure' to configure your CLI")
118118
}
119119
}
120120

@@ -167,7 +167,7 @@ func validateVersionMismatch() {
167167
✖️ Error: Version Mismatch
168168
The CLI version and the server version are not compatible. To fix this, you'll need to make sure that both your CLI and server are using compatible versions.
169169
We recommend upgrading both of them to the latest available version. Check out our documentation https://docs.tracetest.io/configuration/upgrade for simple instructions on how to upgrade.
170-
Thank you for using Tracetest! We apologize for any inconvenience caused.
170+
Thank you for using QT! We apologize for any inconvenience caused.
171171
`)
172172
ExitCLI(1)
173173
}

cli/cmd/configure_cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ var configParams = &configureParameters{}
1313
var configureCmd = &cobra.Command{
1414
GroupID: cmdGroupConfig.ID,
1515
Use: "configure",
16-
Short: "Configure your tracetest CLI",
17-
Long: "Configure your tracetest CLI",
16+
Short: "Configure your qt CLI",
17+
Long: "Configure your qt CLI",
1818
PreRun: setupLogger,
1919
Run: WithResultHandler(WithParamsHandler(configParams)(func(cmd *cobra.Command, _ []string) (string, error) {
2020
ctx := context.Background()

cli/cmd/dashboard_cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
var dashboardCmd = &cobra.Command{
1212
GroupID: cmdGroupMisc.ID,
1313
Use: "dashboard",
14-
Short: "Opens the Tracetest Dashboard URL",
15-
Long: "Opens the Tracetest Dashboard URL",
14+
Short: "Opens the qt Dashboard URL",
15+
Long: "Opens the qt Dashboard URL",
1616
PreRun: setupCommand(),
1717
Run: WithResultHandler(func(_ *cobra.Command, _ []string) (string, error) {
1818
if cliConfig.IsEmpty() {

cli/cmd/legacy_datastore_cmd.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ var dataStoreCmd = &cobra.Command{
2727

2828
var dataStoreApplyCmd = &cobra.Command{
2929
Use: "apply",
30-
Short: "Apply (create/update) data store configuration to your Tracetest server",
31-
Long: "Apply (create/update) data store configuration to your Tracetest server",
30+
Short: "Apply (create/update) data store configuration to your qt server",
31+
Long: "Apply (create/update) data store configuration to your qt server",
3232
Deprecated: "Please use `tracetest apply datastore --file [path]` command instead.",
3333
PreRun: setupCommand(),
3434
Run: func(cmd *cobra.Command, args []string) {
@@ -56,8 +56,8 @@ var dataStoreExportCmd = &cobra.Command{
5656

5757
var dataStoreListCmd = &cobra.Command{
5858
Use: "list",
59-
Short: "List data store configurations to your tracetest server",
60-
Long: "List data store configurations to your tracetest server",
59+
Short: "List data store configurations to your qt server",
60+
Long: "List data store configurations to your qt server",
6161
Deprecated: "Please use `tracetest get datastore --id current` command instead.",
6262
PreRun: setupCommand(),
6363
Run: func(cmd *cobra.Command, args []string) {

cli/cmd/legacy_test_cmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ var (
5454

5555
var testRunCmd = &cobra.Command{
5656
Use: "run",
57-
Short: "Run a test on your Tracetest server",
58-
Long: "Run a test on your Tracetest server",
59-
Deprecated: "Please use `tracetest run test` command instead.",
57+
Short: "Run a test on your qt server",
58+
Long: "Run a test on your qt server",
59+
Deprecated: "Please use `qt run test` command instead.",
6060
PreRun: setupCommand(),
6161
Run: func(_ *cobra.Command, _ []string) {
6262
// map old flags to new ones

cli/cmd/resource_apply_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func init() {
1919
GroupID: cmdGroupResources.ID,
2020
Use: "apply " + resourceList(),
2121
Short: "Apply resources",
22-
Long: "Apply (create/update) resources to your Tracetest server",
22+
Long: "Apply (create/update) resources to your qt server",
2323
PreRun: setupCommand(),
2424
Run: WithResourceMiddleware(func(_ *cobra.Command, args []string) (string, error) {
2525
resourceType := resourceParams.ResourceName

cli/cmd/resource_delete_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func init() {
1919
GroupID: cmdGroupResources.ID,
2020
Use: "delete " + resourceList(),
2121
Short: "Delete resources",
22-
Long: "Delete resources from your Tracetest server",
22+
Long: "Delete resources from your qt server",
2323
PreRun: setupCommand(),
2424
Run: WithResourceMiddleware(func(_ *cobra.Command, args []string) (string, error) {
2525
resourceType := resourceParams.ResourceName

cli/cmd/resource_export_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func init() {
1818
exportCmd = &cobra.Command{
1919
GroupID: cmdGroupResources.ID,
2020
Use: "export " + resourceList(),
21-
Long: "Export a resource from your Tracetest server",
21+
Long: "Export a resource from your qt server",
2222
Short: "Export resource",
2323
PreRun: setupCommand(),
2424
Run: WithResourceMiddleware(func(_ *cobra.Command, args []string) (string, error) {

cli/cmd/resource_get_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func init() {
1818
GroupID: cmdGroupResources.ID,
1919
Use: "get " + resourceList(),
2020
Short: "Get resource",
21-
Long: "Get a resource from your Tracetest server",
21+
Long: "Get a resource from your QT server",
2222
PreRun: setupCommand(),
2323
Run: WithResourceMiddleware(func(_ *cobra.Command, args []string) (string, error) {
2424
resourceType := resourceParams.ResourceName

cli/cmd/resource_list_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func init() {
1717
GroupID: cmdGroupResources.ID,
1818
Use: "list " + resourceList(),
1919
Short: "List resources",
20-
Long: "List resources from your Tracetest server",
20+
Long: "List resources from your qt server",
2121
PreRun: setupCommand(),
2222
Run: WithResourceMiddleware(func(_ *cobra.Command, args []string) (string, error) {
2323
resourceType := resourceParams.ResourceName

cli/cmd/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ var (
2323
)
2424

2525
var rootCmd = &cobra.Command{
26-
Use: "tracetest",
27-
Short: "CLI to configure, install and execute tests on a Tracetest server",
28-
Long: `CLI to configure, install and execute tests on a Tracetest server`,
26+
Use: "qt",
27+
Short: "CLI to configure, install and execute tests on a qt server",
28+
Long: `CLI to configure, install and execute tests on a qt server`,
2929
PreRun: setupCommand(),
3030
PostRun: teardownCommand,
3131
}

cli/cmd/server_cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
var serverCmd = &cobra.Command{
88
GroupID: cmdGroupConfig.ID,
99
Use: "server",
10-
Short: "Manage your tracetest server",
11-
Long: "Manage your tracetest server",
10+
Short: "Manage your qt server",
11+
Long: "Manage your qt server",
1212
PreRun: setupCommand(SkipVersionMismatchCheck()),
1313
Run: func(cmd *cobra.Command, args []string) {
1414
cmd.Help()

cli/cmd/server_install_cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ var installerParams = &installerParameters{
1515

1616
var serverInstallCmd = &cobra.Command{
1717
Use: "install",
18-
Short: "Install a new Tracetest server",
19-
Long: "Install a new Tracetest server",
18+
Short: "Install a new qt server",
19+
Long: "Install a new qt server",
2020
PreRun: setupCommand(SkipConfigValidation(), SkipVersionMismatchCheck()),
2121
Run: func(_ *cobra.Command, _ []string) {
2222
installer.Force = installerParams.Force

cli/installer/installer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ func Start() {
1919
ui.Banner()
2020

2121
ui.Println(`
22-
Hi! Welcome to the TraceTest server installer. I'll help you set up your TraceTest server by asking you a few questions
22+
Hi! Welcome to the QT server installer. I'll help you set up your QT server by asking you a few questions
2323
and configuring your system with all the requirements, so you can start TraceTesting right away!
2424
25-
To get more info about TraceTest, you can check our docs at https://kubeshop.github.io/tracetest/
25+
To get more info about QT, you can check our docs at https://kubeshop.github.io/tracetest/
2626
2727
If you have any issues, please let us know by creating an issue (https://github.com/kubeshop/tracetest/issues/new/choose)
2828
or reach us on Discord https://discord.gg/6zupCZFQbe

cli/qt

18.6 MB
Binary file not shown.

docs/docs/ci-cd-automation/github-actions-pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
run: curl -L https://raw.githubusercontent.com/kubeshop/tracetest/main/install-cli.sh | bash
9191

9292
- name: Configure Tracetest CLI
93-
run: tracetest configure -g --endpoint http://localhost:11633
93+
run: qt configure -g --endpoint http://localhost:11633
9494

9595
- name: Run tests via the Tracetest CLI
9696
run: |

docs/docs/ci-cd-automation/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Many integrations with CI/CD tools can be accomplished by running the [Tracetest
2727

2828
Use the command below, substituting the following placeholders:
2929

30-
- `your-tracetest-server-url` - the URL to the running Tracetest server you wish to execute the test on. Example: `http://localhost:11633/`
30+
- `your-tracetest-server-url` - the URL to the running QT server you wish to execute the test on. Example: `http://localhost:11633/`
3131
- `file-path` - The path to the saved Tracetest test. Example: `./mytest.yaml`
3232

3333
```bash wordWrap=true

docs/docs/ci-cd-automation/tekton-pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ spec:
242242
image: kubeshop/tracetest:v0.11.9 # The official Tracetest image comes with the Tracetest CLI installed
243243
script: |
244244
# Configure and Run Tracetest CLI
245-
tracetest configure -g --endpoint http://tracetest.tracetest.svc.cluster.local:11633/
246-
tracetest run test -f /workspace/test-api.yaml
245+
qt configure -g --endpoint http://tracetest.tracetest.svc.cluster.local:11633/
246+
qt run test -f /workspace/test-api.yaml
247247
volumeMounts:
248248
- name: custom
249249
mountPath: /workspace

docs/docs/cli/configuring-your-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Configure your CLI to connect to your Tracetest server.
1313
**How to Use**:
1414

1515
```sh
16-
tracetest configure
16+
qt configure
1717
```
1818

1919
If you want to set values without having to answer questions from a prompt, you can provide the flag `--endpoint` to define the server endpoint.
2020

2121
```sh
22-
tracetest configure --endpoint http://my-tracetest-server:11633
22+
qt configure --endpoint http://my-tracetest-server:11633
2323
```
2424

2525
### Test List

docs/docs/configuration/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If you've ever seen this error, you've come to the right page:
88
✖️ Error: Version Mismatch
99
The CLI version and the server version are not compatible. To fix this, you'll need to make sure that both your CLI and server are using compatible versions.
1010
We recommend upgrading both of them to the latest available version. Check out our documentation https://docs.tracetest.io/configuration/upgrade for simple instructions on how to upgrade.
11-
Thank you for using Tracetest! We apologize for any inconvenience caused.
11+
Thank you for using QT! We apologize for any inconvenience caused.
1212
```
1313

1414
This means your Tracetest CLI and Server versions must be the same.

docs/docs/examples-tutorials/recipes/running-tracetest-with-aws-terraform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ The final output from the Terraform command should be a list of endpoints that i
278278
Now that all of the required services and infra have been created, you can start running some Trace-based testing by doing the following:
279279

280280
1. From the Terraform output you can copy the `api_endpoint` and replace the `<your_api_endpoint>` placeholder from the `tests/test.yaml` file.
281-
2. Configure the [Tracetest CLI](https://docs.tracetest.io/cli/configuring-your-cli) to point to the public load balancer endpoint with `tracetest configure --endpoint <tracetest_url>`.
281+
2. Configure the [Tracetest CLI](https://docs.tracetest.io/cli/configuring-your-cli) to point to the public load balancer endpoint with `qt configure --endpoint <tracetest_url>`.
282282
3. Run the test YAML file using the CLI `tracetest run test -f tests/test.yaml`.
283283
4. Follow the link to find the results.
284284

docs/docs/examples-tutorials/recipes/running-tracetest-with-honeycomb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ First, [install the CLI](https://docs.tracetest.io/getting-started/installation#
279279
Then, configure the CLI:
280280

281281
```bash
282-
tracetest configure --endpoint http://localhost:11633
282+
qt configure --endpoint http://localhost:11633
283283
```
284284

285285
Once configured, you can run a test against the Tracetest instance via the terminal.

server/cmd/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var provisioningFile string
2020

2121
var serveCmd = &cobra.Command{
2222
Use: "serve",
23-
Short: "Start Tracetest server",
23+
Short: "Start QT server",
2424
RunE: func(cmd *cobra.Command, args []string) error {
2525
cfg.Watch(func(updated *config.AppConfig) {
2626
appInstance.HotReload()

server/cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func init() {
1212

1313
var versionCmd = &cobra.Command{
1414
Use: "version",
15-
Short: "Print version information of Tracetest server",
15+
Short: "Print version information of QT server",
1616
Run: func(cmd *cobra.Command, args []string) {
1717
fmt.Println(appInstance.Version())
1818
fmt.Println("This is a temporary print")

testing/cli-e2etest/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func GetConfigAsEnvVars() *EnvironmentVars {
1919

2020
tracetestCommand := os.Getenv("TRACETEST_CLI")
2121
if tracetestCommand == "" {
22-
tracetestCommand = "tracetest"
22+
tracetestCommand = "qt"
2323
}
2424

2525
testEnvironment := os.Getenv("TEST_ENVIRONMENT")

web/src/components/RunDetailAutomateMethods/methods/CLICommand/Controls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function getOptionsMetadata({
2626
return {
2727
[CliCommandOption.UseId]: {label: `Use ${resourceType} ID instead of file`},
2828
[CliCommandOption.SkipResultWait]: {label: `Skip waiting for ${resourceType} to complete`},
29-
[CliCommandOption.UseHostname]: {label: 'Specify Tracetest server hostname'},
29+
[CliCommandOption.UseHostname]: {label: 'Specify QT server hostname'},
3030
[CliCommandOption.UseCurrentVariableSet]: {
3131
label: 'Use selected variable set',
3232
help: !isVariableSetSelected ? 'This option is only available when a variable set is selected' : undefined,

0 commit comments

Comments
 (0)