Skip to content

Commit 186129e

Browse files
committed
Fix typos within the text in readme file
1 parent 8b4fd59 commit 186129e

File tree

2 files changed

+9
-84
lines changed

2 files changed

+9
-84
lines changed

http-custom-mechanism/README-source.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ $ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=add-custom-module.cli
105105

106106
NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script.
107107

108-
This creates the custom `__{jbossHomeName}__/modules/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file.
108+
This creates the custom `__{jbossHomeName}__/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file.
109109

110110
You can verify the module structure in your file manager.
111111

http-custom-mechanism/README.adoc

+8-83
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ $ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=add-custom-module.cli
635635
636636
NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script.
637637
638-
This creates the custom `__{jbossHomeName}__/modules/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file.
638+
This creates the custom `__{jbossHomeName}__/modules/org/jboss/as/quickstart/http_custom_mechanism/main` folder, then copies in the `custom-module/target/custom-module.jar` file and creates the required `module.xml` file.
639639
640640
You can verify the module structure in your file manager.
641641
@@ -872,97 +872,22 @@ When you have completed testing the quickstart, you can restore the original ser
872872
:leveloffset!:
873873
874874
// Additional information about this script
875-
This script reverts the changes made to the `undertow` and `elytron` subsystems. You should see the following result when you run the script.
875+
Or you can execute the scripts provided in the root directory of this quickstart `restore-configuration.cli` to restore the original server configuration and `remove-custom-module.cli` to remove the custom module.
876+
[source,subs="+quotes,attributes+",options="nowrap"]
877+
----
878+
$ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=restore-configuration.cli
879+
$ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=remove-custom-module.cli
880+
----
881+
These scripts revert the changes made to the `undertow` and `elytron` subsystems. You should see the following result when you run the `restore-configuration.cli` script.
876882
877883
[source,options="nowrap"]
878884
----
879885
The batch executed successfully
880886
process-state: reload-required
881887
----
882888
883-
// Restore the {productName} Standalone Server Configuration Manually
884889
:leveloffset: +2
885890
886-
[[restore_standalone_server_configuration_manually]]
887-
= Restore the {productName} Standalone Server Configuration Manually
888-
//******************************************************************************
889-
// Include this template if your quickstart does a normal manual restoration
890-
// of a single standalone server.
891-
//******************************************************************************
892-
893-
//******************************************************************************
894-
// This template sets attributes for the different standalone server profiles.
895-
//
896-
// You must define the `standalone-server-type`. Supported values are:
897-
// default
898-
// full
899-
// full-ha
900-
// ha
901-
// microprofile
902-
// custom
903-
//******************************************************************************
904-
905-
// Standalone server with the default profile.
906-
ifeval::["{standalone-server-type}"=="default"]
907-
:serverProfile: default profile
908-
:configFileName: standalone/configuration/standalone.xml
909-
:serverArguments:
910-
endif::[]
911-
912-
// Standalone server with the full profile.
913-
ifeval::["{standalone-server-type}"=="full"]
914-
:serverProfile: full profile
915-
:configFileName: standalone/configuration/standalone-full.xml
916-
:serverArguments: -c standalone-full.xml
917-
endif::[]
918-
919-
// Standalone server with the full HA profile.
920-
ifeval::["{standalone-server-type}"=="full-ha"]
921-
:serverProfile: full HA profile
922-
:configFileName: standalone/configuration/standalone-full-ha.xml
923-
:serverArguments: -c standalone-full-ha.xml
924-
endif::[]
925-
926-
// Start the standalone server with the HA profile.
927-
ifeval::["{standalone-server-type}"=="ha"]
928-
:serverProfile: HA profile
929-
:configFileName: standalone/configuration/standalone-ha.xml
930-
:serverArguments: -c standalone-ha.xml
931-
endif::[]
932-
933-
// Start the standalone server with the Eclipse MicroProfile profile.
934-
ifeval::["{standalone-server-type}"=="microprofile"]
935-
:serverProfile: MicroProfile profile
936-
:configFileName: standalone/configuration/standalone-microprofile.xml
937-
:serverArguments: -c standalone-microprofile.xml
938-
endif::[]
939-
940-
// Standalone server with the custom profile.
941-
// NOTE: This profile requires that you define the `serverArguments` variable
942-
// within the quickstart README.adoc file. For example:
943-
// :serverArguments: --server-config=../../docs/examples/configs/standalone-xts.xml
944-
ifeval::["{standalone-server-type}"=="custom"]
945-
:serverProfile: custom profile
946-
endif::[]
947-
948-
// If there is no match, use the default profile.
949-
ifndef::serverProfile[]
950-
:standalone-server-type: default
951-
:serverProfile: default profile
952-
:configFileName: standalone/configuration/standalone.xml
953-
:serverArguments:
954-
endif::serverProfile[]
955-
956-
When you have completed testing the quickstart, you can restore the original server configuration by manually restoring the backup copy the configuration file.
957-
958-
. If it is running, stop the {productName} server.
959-
. Replace the `__{jbossHomeName}__/{configFileName}` file with the backup copy of the file.
960-
961-
:leveloffset!:
962-
963-
// Build and run sections for other environments/builds
964-
:leveloffset: +1
965-
966891
[[build_and_run_the_quickstart_with_provisioned_server]]
967892
= Building and running the quickstart application with provisioned {productName} server
968893

0 commit comments

Comments
 (0)