Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Microsoft Windows

.NET Core can be downloaded as an installer - choose the .NET Core Installer runtime/SDK that matches your Windows environment:

Linux

Package manager instructions are provided for many different Linux distributions - choose the Package Manager Instructions option:

Then select the relevant Linux distribution to view the installation instructions:

Info
Additional tips can be found here: https://www.ostechnix.com/how-to-install-microsoft-net-core-sdk-on-linux/.



Info

You can determine if .NET Core is already installed and what version using the following command on either Microsoft Windows (in a Powershell session) or in Linux terminal:

Code Block
dotnet --info


Supported Operating Systems

...

Find the following options and modify as explained below:

Code Block
languagetext
## REPORT CONFIGURATION
# Set the Report Generator path
# If this variable is not set then the document generation is considered as disabled.
# The path is probably something such as (Linux/Windows):
#report.reportGenerator=dotnet /opt/report-generator/CastReporting.Console.Core.dll 
#reportreport.reportGenerator=dotnet D:\\data\\CAST\\ReportGeneratorforDashboards\\CastReporting.Console.Core.dll

# Set the directory of reports
#report.directory=/tmp/reports
#reportreport.directory=D:\\temp\\reports

# Set the current Web Service URL. The current REST API called back by the Report Generator.
report.webServiceURL=http://localhost:8888/CAST-RESTAPI/rest8080/rest
# Set the maximum number of concurrent Report Generator processes to limit the CPU and memory consumption
report.maxConcurrentProcesses=4
# set a delay to determine never ending ReportGenerator processing
# After this delay the Report Generator process will be killed
# 600 = 10 minutes 
report.maxDelayInSeconds=600


report.reportGenerator=dotnet

Add a new line pointing to the location of the CastReporting.Console.Core.dll (delivered with CAST Report Generator - CAST Report Generator for Dashboards) on the server hosting Apache Tomcat/the deployed ZIP file. You can also uncomment and modify an example line. For example:

Code Block
languagetext
report.reportGenerator=dotnet cD:\\data\\CAST\\ReportGeneratorforDashboards\\CastReporting.Console.Core.dll

Note
Note that the path to CastReporting.Console.Core.dll when using Microsoft Windows must always use double back slashes (\\) or single forward slashes (/) - the single back slash (\) is not valid.


report.directory=

Add a new line pointing to the temporary folder where the reports will be generated on the server hosting Apache Tomcat/the deployed ZIP file. You can also uncomment and modify an example line. For example:

Code Block
languagetext
report.directory=cD:\\temp\\reports

Note

Note that:

  • the path to the temporary folder when using Microsoft Windows, must always use double back slashes (\\) or single forward slashes (/) - the single back slash (\) is not valid.
  • The user that Apache Tomcat is running as must have read/write access to this location. In Linux environments, typically the "rw-" permission is sufficient.


report.webServiceURL=

Modify the existing line to point to the RestAPI in your CAST Engineering Dashboard or CAST-RESTAPI-integrated.war deployment. This is used by CAST Report Generator for Dashboards. For example:

Code Block
languagetext
WAR 1.x / ≥ 2.x
report.webServiceURL=http://<server>:<port>/<dashboard>/rest

ZIP ≥ 2.x
report.webServiceURL=http://<server>:<port>/rest

For example:

...

languagetext

...

/rest


Restart the application

Restart the web application to ensure the changes are taken into account.

...