From cdcae1914c8e8fa64bb20055041bb973b17fa8b3 Mon Sep 17 00:00:00 2001 From: Alex Barbato Date: Tue, 28 May 2024 11:49:30 -0400 Subject: [PATCH 1/2] Update registering-new-projects.adoc Not saying this project is the right one per say, but it was causing me issues to leverage the project as was listed. --- .../ROOT/pages/ref/catalog/registering-new-projects.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc b/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc index afa91f9a..d7e7a7d5 100644 --- a/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc +++ b/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc @@ -8,7 +8,7 @@ The project catalog consists of a collection of projects that can be referenced To add a project catalog, use the `spring project-catalog add` command. -In this example, we register a sample catalog that is available at https://github.com/rd-1-2022/sample-project-catalog. +In this example, we register a sample catalog that is available at https://github.com/rd-1-2022/catalog-for-project-tests. Within that repository, there is a file named `project-catalog.yml`. This is the filename for which the command searches. @@ -17,16 +17,16 @@ The following listing shows the command: [source, bash] ---- -spring project-catalog add dapr https://github.com/rd-1-2022/sample-project-catalog +spring project-catalog add dapr https://github.com/rd-1-2022/catalog-for-project-tests ---- -The preceding command registers a project catalog named `darp` from `https://github.com/rd-1-2022/sample-project-catalog` using positional parameters. +The preceding command registers a project catalog named `darp` from `https://github.com/rd-1-2022/catalog-for-project-tests` using positional parameters. You can achieve the same result by using the `name` option, as follows: [source, bash] ---- -spring project-catalog add --name dapr --url https://github.com/rd-1-2022/sample-project-catalog +spring project-catalog add --name dapr --url https://github.com/rd-1-2022/catalog-for-project-tests ---- Now, you can view the available projects in the catalog by running the following command: From c186ff862fa0cdb6eec216cc968df443223e9e59 Mon Sep 17 00:00:00 2001 From: Alex Barbato Date: Tue, 28 May 2024 12:04:47 -0400 Subject: [PATCH 2/2] Update registering-new-projects.adoc Updating to correct url --- .../ROOT/pages/ref/catalog/registering-new-projects.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc b/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc index d7e7a7d5..73ea4bc3 100644 --- a/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc +++ b/docs/modules/ROOT/pages/ref/catalog/registering-new-projects.adoc @@ -8,7 +8,7 @@ The project catalog consists of a collection of projects that can be referenced To add a project catalog, use the `spring project-catalog add` command. -In this example, we register a sample catalog that is available at https://github.com/rd-1-2022/catalog-for-project-tests. +In this example, we register a sample catalog that is available at https://github.com/rd-1-2022/spring-gs-catalog. Within that repository, there is a file named `project-catalog.yml`. This is the filename for which the command searches. @@ -17,16 +17,16 @@ The following listing shows the command: [source, bash] ---- -spring project-catalog add dapr https://github.com/rd-1-2022/catalog-for-project-tests +spring project-catalog add dapr https://github.com/rd-1-2022/spring-gs-catalog ---- -The preceding command registers a project catalog named `darp` from `https://github.com/rd-1-2022/catalog-for-project-tests` using positional parameters. +The preceding command registers a project catalog named `darp` from `https://github.com/rd-1-2022/spring-gs-catalog` using positional parameters. You can achieve the same result by using the `name` option, as follows: [source, bash] ---- -spring project-catalog add --name dapr --url https://github.com/rd-1-2022/catalog-for-project-tests +spring project-catalog add --name dapr --url https://github.com/rd-1-2022/spring-gs-catalog ---- Now, you can view the available projects in the catalog by running the following command: