@@ -1289,7 +1289,7 @@ private static void setupElasticsearch() {
12891289 if (cws_installer_mode .equals ("interactive" )) {
12901290 if (elasticsearch_protocol == null ) {
12911291 String read_elasticsearch_protocol = readLine ("Enter the Elasticsearch protocol (HTTP/HTTPS) or press Enter to skip Elasticsearch setup: " , "" );
1292-
1292+
12931293 // Allow user to skip Elasticsearch setup
12941294 if (read_elasticsearch_protocol == null || read_elasticsearch_protocol .trim ().isEmpty ()) {
12951295 log .info ("Elasticsearch setup skipped by user" );
@@ -2856,15 +2856,15 @@ private static void updateFiles() throws IOException {
28562856 mkDir (cws_root + SEP + "server" + SEP + "artemis" + SEP + "data" );
28572857 mkDir (cws_root + SEP + "server" + SEP + "artemis" + SEP + "log" );
28582858 mkDir (cws_root + SEP + "server" + SEP + "artemis" + SEP + "tmp" );
2859-
2859+
28602860 // Process broker.xml and replace placeholders
28612861 print (" Processing broker.xml and replacing placeholders..." );
28622862 Path brokerXmlPath = Paths .get (config_work_dir + SEP + "cws-ui" + SEP + "broker.xml" );
28632863 String brokerContent = getFileContents (brokerXmlPath );
28642864 brokerContent = brokerContent .replace ("__CWS_AMQ_HOST__" , cws_amq_host );
28652865 brokerContent = brokerContent .replace ("__CWS_AMQ_PORT__" , cws_amq_port );
28662866 brokerContent = brokerContent .replace ("__CWS_ROOT_DIR__" , cws_root );
2867-
2867+
28682868 Path targetBrokerPath = Paths .get (cws_root + SEP + "server" + SEP + "artemis" + SEP + "etc" + SEP + "broker.xml" );
28692869 writeToFile (targetBrokerPath , brokerContent );
28702870
@@ -3395,7 +3395,7 @@ private static void installLogstash() throws IOException {
33953395 print (" Skipping Logstash installation (Elasticsearch not configured)" );
33963396 return ;
33973397 }
3398-
3398+
33993399 // UNZIP / INSTALL / SETUP LOGSTASH
34003400 String logstashZipFilePath = cws_server_root + SEP + "logstash-" + logstash_ver + ".zip" ;
34013401 String logstashDestDirectory = cws_server_root ;
0 commit comments