Upgraded all libraries, switched to npm, upgraded angular and jdk21
Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit
Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit
This commit is contained in:
1 parent
c2f8e20fad
commit
a6df549919
335 files changed
+10923
-12700
No files matched your search
@@ -31,11 +31,11 @@ The following is a list of software that are required to be installed and on be
|
||||
\item Ant \AntVersion\ \cite{ant}
|
||||
\end{enumerate}
|
||||
|
||||
Two projects need to be checkout out from the git repository. The \portal project and the ngas-commons project.
|
||||
Two projects need to be checkout out from the git repository. The \portal project and the locusworks-commons project.
|
||||
|
||||
Section~\ref{dev-setup} describes how to checkout the \portal project
|
||||
|
||||
Section~\ref{ngas-commons} descrives how to checkout and build the \command{ngas-commons} library. This library is needed to build the main web application
|
||||
Section~\ref{locusworks-commons} descrives how to checkout and build the \command{locusworks-commons} library. This library is needed to build the main web application
|
||||
|
||||
To build the project issue the command \command{mvn clean install antrun:run@warcopy} (if tomcat is not running) or \command{mvn clean install tomcat7:redeploy}
|
||||
(if tomcat is currently running). This might take awhile as it will download the required libraries from the internet and deploy the war file to the tomcat server.
|
||||
@@ -46,15 +46,15 @@ Once the build has completed and deployed verify in the logs the application has
|
||||
\section{Encrypted MySQL Root Password}
|
||||
\label{mysql-root-password}
|
||||
|
||||
To encrypted the mysql root password first checkout and compile the \command{ngas-commons} library (See section~\ref{ngas-commons} to perform the task).
|
||||
To encrypted the mysql root password first checkout and compile the \command{locusworks-commons} library (See section~\ref{locusworks-commons} to perform the task).
|
||||
|
||||
Once the commons library has been downloaded and installed perform the following.
|
||||
|
||||
\begin{legal}
|
||||
\item Navigate to the \command{.m2} directory located in the home directory
|
||||
\item Navigate to \filename{repository/com/ngas/ngas-commons/\ngasCommonsVersion}
|
||||
\item Navigate to \filename{repository/net/locusworks/locusworks-commons/\locusworksCommonsVersion}
|
||||
\item Execute the following command\newline
|
||||
\command{java -cp ngas-commons-\ngasCommonsVersion.jar net.locusworks.commons.crypto.AES <root-password>}\newline
|
||||
\command{java -cp locusworks-commons-\locusworksCommonsVersion.jar net.locusworks.commons.crypto.AES <root-password>}\newline
|
||||
Where ``root-password'' is the MySQL root password
|
||||
\end{legal}
|
||||
|
||||
|
||||
+12
-12
@@ -20,32 +20,32 @@ This section describes how to setup the \portal environment to be able to build
|
||||
\begin{enumerate}
|
||||
\item Add developers public key to BigMac account
|
||||
\item Clone the repository \newline
|
||||
\command{git clone ``ssh://git@bigmac.northgrum.com:8010/saipt/portal-webapp.git''}
|
||||
\command{git clone ``ssh://git@bigmac.locusworks.net:8010/saipt/portal-webapp.git''}
|
||||
\end{enumerate}
|
||||
|
||||
\item Create/Edit \command{settings.xml} in the \command{.m2} located in the home directory. See Subsection~\ref{settings.xml}
|
||||
\item \portal requires \command{ngas-commons} library to be built prior to building the web application. See Subsection~\ref{ngas-commons}
|
||||
\item \portal requires \command{locusworks-commons} library to be built prior to building the web application. See Subsection~\ref{locusworks-commons}
|
||||
\item Change directories into the project and run \command{mvn clean install antrun:run@warcopy}. This could take some time to download the required libraries.
|
||||
\item Start the tomcat server and navigate to \command{http://localhost:8080/portal/} to make sure the server comes up
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{NGAS Commons}
|
||||
\label{ngas-commons}
|
||||
NGAS Commons is a common library of functions that other java applications can take advantage of.
|
||||
\subsection{Locusworks Commons}
|
||||
\label{locusworks-commons}
|
||||
Locusworks Commons is a common library of functions that other java applications can take advantage of.
|
||||
|
||||
To checkout the library:\newline
|
||||
\command{git clone ``ssh://git@bigmac.northgrum.com:8010/saipt/ngas-commons.git''}
|
||||
\command{git clone ``ssh://git@bigmac.locusworks.net:8010/saipt/locusworks-commons.git''}
|
||||
|
||||
To build:\newline
|
||||
\command{mvn clean install}
|
||||
|
||||
Note: \command{ngas-commons} needs to be built prior to building the main application
|
||||
Note: \command{locusworks-commons} needs to be built prior to building the main application
|
||||
|
||||
\section{Yarn}
|
||||
\label{yarn}
|
||||
Yarn is the new package manager used with \command{node.js} in replacement of \command{npm} it uses the same \command{pacakge.json} file that \command{npm} did.
|
||||
|
||||
To download a new client side library use the command \command{yarn add <package-name> --save}. This will add the file to the \command{node\_modules} library.
|
||||
\section{npm}
|
||||
\label{npm}
|
||||
npm installs the client-side dependencies declared in \command{package.json}.
|
||||
|
||||
From \command{portal\_client}, run \command{npm install} to install dependencies. To add a client-side library, run \command{npm install <package-name> --save}.
|
||||
|
||||
Next include the appropriate file into the \command{assets.js} file inside \command{portal\_client} to make sure it will be injected into the \command{index.html} file during compile time.
|
||||
|
||||
|
||||
+11
-14
@@ -20,7 +20,7 @@ The following list reflects the tools and libraries used by the \portal develope
|
||||
\item JSch \JSchVersion
|
||||
\item JGit \JGitVersion
|
||||
\item Node.js \NodeVersion
|
||||
\item Yarn \YarnVersion
|
||||
\item npm \NpmVersion
|
||||
\item Flyway \FlywayVersion
|
||||
\item Tomcat \TomcatVersion
|
||||
\end{itemize}
|
||||
@@ -65,7 +65,7 @@ invoke the ant process. \portal utilizes ant version \AntVersion but older versi
|
||||
\section{AngularJs}
|
||||
AngularJs\cite{angularjs} is extensively used inside the client html code along with various other 3rd party javascript libraries. The list of 3rd party libraries used in the client
|
||||
can be found in \filename{assets.js}. It is not necessary to download the AngularJs library as it will be downloaded automatically along with the other vendor libraries during the build
|
||||
process. Yarn is utilized to do this task and place references to the files inside the \filename{index.html} during build. AngularJs is specifically called out because of how much it does
|
||||
process. npm is utilized to do this task and place references to the files inside the \filename{index.html} during build. AngularJs is specifically called out because of how much it does
|
||||
inside the client and developers should be familiar with it. \portal utlizes version \AngularJsVersion of AngularJs as specified in the \filename{package.json} file.
|
||||
|
||||
\section{Spring}
|
||||
@@ -163,22 +163,20 @@ This allows the developer to make changes and not have to rebuild the whole appl
|
||||
|
||||
\portal utilizes version \NodeVersion\ of Node.js. It is possible to use older versions of Node.js but it not recommended for security concerns.
|
||||
|
||||
\section{Yarn}
|
||||
\label{yarn2}
|
||||
\section{npm}
|
||||
\label{npm2}
|
||||
|
||||
Yarn\cite{yarn} is a package manager program that allows for easy download of 3rd party javascript/typescript libraries. It caches every package so it never needs to download it again.
|
||||
Yarn is used as a replacement for node.js package manager (npm) and utilizes the same \filename{package.json} file as npm along with installing the packages in the same directory that
|
||||
npm (\filename{portal\_client/node\_modules}).
|
||||
npm is the package manager used to download third-party JavaScript libraries declared in \filename{package.json}. Packages are installed in
|
||||
\filename{portal\_client/node\_modules}.
|
||||
|
||||
This allows for developers to switch easily from npm to yarn. During build time, maven will automatically download yarn locally to the project so it can use the local process to download
|
||||
the 3rd party libraries as specified in the \filename{package.json} file.
|
||||
During build time, Maven downloads Node.js and npm locally, then installs the exact dependency tree recorded in \filename{package-lock.json}.
|
||||
|
||||
Yarn needs to be installed on the developers home path to be utilizes by the developer to install new packages. To install new packages issue the command
|
||||
\command{yarn add <package-name> --save}. This will download the request package and save the package to the \filename{package.json} file for future reference.
|
||||
To install dependencies, run \command{npm install}. To add a new package, run
|
||||
\command{npm install <package-name> --save} and commit both package files.
|
||||
|
||||
See~\ref{yarn} for more details.
|
||||
See~\ref{npm} for more details.
|
||||
|
||||
\portal utilizes version \YarnVersion of yarn. No older version can be used at this time.
|
||||
\portal utilizes version \NpmVersion of npm.
|
||||
|
||||
\section{Flyway}
|
||||
Flyway\cite{flyway} is an open source database migration tool. It strongly favors simplicity and convention over configuration. It is based around 7 basic commands: Migrate, Clean,
|
||||
@@ -244,4 +242,3 @@ The developer just has to issues the command \command{mvn tomcat7:redeploy} to d
|
||||
|
||||
\portal utilizes version \TomcatVersion of Tomcat. Older or newer versions of tomcat can be used but it is not recommend to go any lower than tomcat 7
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ The following will get a specified configuration value if that value is present
|
||||
\ApiData{\input{api/sample/request/getConfValReq}}{\input{api/sample/response/getConfValResp}}
|
||||
|
||||
\subsection{Get Configuration}
|
||||
The following will get the current configuration values associated with the server as specified in the file \filename{\$TOMCAT\_HOME/conf/portal.properties}
|
||||
The following will get the current configuration values associated with the server as specified in the file \filename{\$PORTAL\_HOME/portal.properties}
|
||||
\begin{apimethod}
|
||||
{Get Configuration}
|
||||
{config/getConfiguration.do}
|
||||
@@ -31,7 +31,7 @@ The following will get the current configuration values associated with the serv
|
||||
\ApiData{\input{api/sample/None}}{\input{api/sample/response/getConfResp}}
|
||||
|
||||
\subsection{Save Configuration}
|
||||
The following will save the server configuration values to \filename{\$TOMCAT\_HOME/conf/portal.properties}. All the parameters are option as they all do not need to be populated, just the ones that need to be changed
|
||||
The following will save the server configuration values to \filename{\$PORTAL\_HOME/portal.properties}. All the parameters are option as they all do not need to be populated, just the ones that need to be changed
|
||||
\begin{apimethod}
|
||||
{Save Configuration}
|
||||
{config/saveConfiguration.do}
|
||||
@@ -52,4 +52,3 @@ The following will save the server configuration values to \filename{\$TOMCAT\_H
|
||||
|
||||
\ApiData{\input{api/sample/response/getConfResp}}{\input{api/sample/SuccessResp}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
\begin{lstlisting}[language=JSON]
|
||||
{
|
||||
"name": "Stig Apply",
|
||||
"scm": "https://J65594@bigmac.northgrum.com/bitbucket/scm/saipt/stig-apply.git",
|
||||
"scm": "https://J65594@bigmac.locusworks.net/bitbucket/scm/saipt/stig-apply.git",
|
||||
"branch": "develop",
|
||||
"directory": "C:\\stigapply",
|
||||
"credentials": {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"scriptEmails": [{
|
||||
"emailName": "Script Status",
|
||||
"recipients": [{
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
}]
|
||||
}],
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"scriptEmails": [{
|
||||
"emailName": "Script Status",
|
||||
"recipients": [{
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
}]
|
||||
}],
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"scriptEmails": [{
|
||||
"emailName": "Script Status",
|
||||
"recipients": [{
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
}]
|
||||
}],
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"password": "bar",
|
||||
"lastName": "foo",
|
||||
"firstName": "bar",
|
||||
"email": "bar@ngc.com",
|
||||
"email": "bar@locusworks.net",
|
||||
"role": "USER",
|
||||
"expirationDate": "2028-03-31T19:54:40.550Z",
|
||||
"effectiveDate": "2018-04-03T19:54:39.929Z",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
\begin{minipage}[t]{0.45\textwidth}
|
||||
\begin{lstlisting}[language=JSON]
|
||||
{
|
||||
"email": "bar@ngc.com",
|
||||
"email": "bar@locusworks.net",
|
||||
}
|
||||
\end{lstlisting}
|
||||
\end{minipage}
|
||||
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Stig Apply",
|
||||
"scm": "https://J65594@bigmac.northgrum.com/bitbucket/scm/saipt/stig-apply.git",
|
||||
"scm": "https://J65594@bigmac.locusworks.net/bitbucket/scm/saipt/stig-apply.git",
|
||||
"branch": "develop",
|
||||
"directory": "C:\\stigapply",
|
||||
"credentials": {
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"firstName": "Portal",
|
||||
"lastName": "Admin",
|
||||
"role": "ADMIN",
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
"expirationDate": 2.534022324e+14,
|
||||
"effectiveDate": 1519275600000,
|
||||
"enabled": true
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"firstName": "Portal",
|
||||
"lastName": "Admin",
|
||||
"role": "ADMIN",
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
"expirationDate": 2.534022324e+14,
|
||||
"effectiveDate": 1519275600000,
|
||||
"enabled": true
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"scriptEmails": [{
|
||||
"emailName": "Script Status",
|
||||
"recipients": [{
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
}]
|
||||
}],
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
"firstName": "bar",
|
||||
"lastName": "foo",
|
||||
"role": "USER",
|
||||
"username": "bar@ngc.com",
|
||||
"username": "bar@locusworks.net",
|
||||
"password": null,
|
||||
"email": "bar@ngc.com",
|
||||
"email": "bar@locusworks.net",
|
||||
"expirationDate": 1838145280550,
|
||||
"effectiveDate": 1522785279929,
|
||||
"enabled": true
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Stig Apply",
|
||||
"scm": "https://J65594@bigmac.northgrum.com/bitbucket/scm/saipt/stig-apply.git",
|
||||
"scm": "https://J65594@bigmac.locusworks.net/bitbucket/scm/saipt/stig-apply.git",
|
||||
"branch": "develop",
|
||||
"directory": "C:\\stigapply",
|
||||
"credentials": {
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"firstName": "Portal",
|
||||
"lastName": "Admin",
|
||||
"role": "ADMIN",
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
"expirationDate": 2.534022324e+14,
|
||||
"effectiveDate": 1519275600000,
|
||||
"enabled": true
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
"firstName": "Repo",
|
||||
"lastName": "Admin",
|
||||
"role": "ADMIN",
|
||||
"username": "portalAdmin@ngc.com",
|
||||
"username": "portalAdmin@locusworks.net",
|
||||
"password": null,
|
||||
"email": "portalAdmin@ngc.com",
|
||||
"email": "portalAdmin@locusworks.net",
|
||||
"expirationDate": 2.534022324e+14,
|
||||
"effectiveDate": 1517979600000,
|
||||
"enabled": true
|
||||
@@ -20,9 +20,9 @@
|
||||
"firstName": "foo",
|
||||
"lastName": "bar",
|
||||
"role": "USER",
|
||||
"username": "foo@ngc.com",
|
||||
"username": "foo@locusworks.net",
|
||||
"password": null,
|
||||
"email": "foo@ngc.com",
|
||||
"email": "foo@locusworks.net",
|
||||
"expirationDate": 1838088000000,
|
||||
"effectiveDate": 1522728000000,
|
||||
"enabled": true
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"dbUsername": "portalAdmin",
|
||||
"filepath": "C:\\tempStorage",
|
||||
"dbPassword": "CWg48+h4q7iK4ICGaDhRd10EMQfFgthm3FjhkLd6gis="
|
||||
"aesSeedFile": "C:/development/apache-tomcat-8.5.24/conf/portal.tomcat"
|
||||
"aesSeedFile": "C:/Users/user/.portal/portal.tomcat"
|
||||
}
|
||||
\end{lstlisting}
|
||||
\end{minipage}
|
||||
\end{minipage}
|
||||
@@ -6,8 +6,8 @@
|
||||
"firstName": "foo",
|
||||
"lastName": "bar",
|
||||
"role": "USER",
|
||||
"username": "foo@ngc.com",
|
||||
"email": "foo@ngc.com",
|
||||
"username": "foo@locusworks.net",
|
||||
"email": "foo@locusworks.net",
|
||||
"expirationDate": 2.534022324e+14,
|
||||
"effectiveDate": 1517979600000,
|
||||
"enabled": true,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : ApacheAppendix.tex
|
||||
% SUBJECT : ApacheApendex.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : Architecture.tex
|
||||
% SUBJECT : Document describing architecture issues in the entire Patch Repository system.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : Architecture.tex
|
||||
% SUBJECT : Document describing architecture issues in the entire Patch Repository system.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : Revision.tex
|
||||
% SUBJECT : Revision history.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : ApacheAppendix.tex
|
||||
% SUBJECT : ApacheApendex.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% FILE : Architecture.tex
|
||||
% SUBJECT : Document describing architecture issues in the entire Patch Repository system.
|
||||
% AUTHOR : (C) Copyright 2018 by Northrop Grumman
|
||||
% AUTHOR : (C) Copyright 2018 by Locusworks
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
userExpirationDays=3650
|
||||
logLevel=INFO
|
||||
dbHost=localhost
|
||||
dbType=h2
|
||||
h2Url=jdbc:h2:file:${portal.home}/data/portal;MODE=MySQL;DATABASE_TO_LOWER=TRUE;DEFAULT_NULL_ORDERING=HIGH;NON_KEYWORDS=VALUE;DB_CLOSE_ON_EXIT=FALSE;INIT=CREATE SCHEMA IF NOT EXISTS portal
|
||||
h2Username=sa
|
||||
h2Password=
|
||||
dbHost=localhost
|
||||
dbPort=3306
|
||||
dbUsername=portalAdmin
|
||||
dbPassword=CWg48+h4q7iK4ICGaDhRd10EMQfFgthm3FjhkLd6gis\=
|
||||
@@ -8,4 +12,4 @@ dbRootUser=root
|
||||
dbRootPassword=Em46JDIzVOWBgGFqxDrqnw\=\=
|
||||
caCertFile=${user.home}/cacerts.jks
|
||||
caCertPassword=N/OQnJ9uQh1oYxadwGC3vA==
|
||||
aesSeedFile=${catalina.base}/conf/portal.tomcat
|
||||
aesSeedFile=${portal.home}/portal.tomcat
|
||||
@@ -2,19 +2,19 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
|
||||
<proxies>
|
||||
<proxy>
|
||||
<id>ngas-proxy</id>
|
||||
<id>locusworks-proxy</id>
|
||||
<active>true</active>
|
||||
<protocol>http</protocol>
|
||||
<host>eastproxy.northgrum.com</host>
|
||||
<host>eastproxy.locusworks.net</host>
|
||||
<port>80</port>
|
||||
<username>(your MyID)</username>
|
||||
<password>(your login password)</password>
|
||||
</proxy>
|
||||
<proxy>
|
||||
<id>ngas-proxy2</id>
|
||||
<id>locusworks-proxy2</id>
|
||||
<active>true</active>
|
||||
<protocol>https</protocol>
|
||||
<host>eastproxy.northgrum.com</host>
|
||||
<host>eastproxy.locusworks.net</host>
|
||||
<port>80</port>
|
||||
<username>(your MyID)</username>
|
||||
<password>(your login password)</password>
|
||||
@@ -37,10 +37,9 @@
|
||||
<profile>
|
||||
<id> local-deploy </id>
|
||||
<properties>
|
||||
<tomcat-home>C:\development\apache-tomcat-8.5.24</tomcat-home>
|
||||
<tomcat-version>8.5.24</tomcat-version>
|
||||
<tomcat-home>C:\development\apache-tomcat-9.0.121</tomcat-home>
|
||||
<tomcat-base-url>http://localhost:8080</tomcat-base-url>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</settings>
|
||||
</settings>
|
||||
@@ -1,7 +1,7 @@
|
||||
\section{Log Level Settings}
|
||||
\label{logLevel}
|
||||
|
||||
The server utilizes loggers that logs various server events. These log are all stored in a log file on the server. If using \command{tomcat} server these logs are located at \filename{\$TOMCAT\_HOME/logs/portal.out}.
|
||||
The server uses loggers for server events. These logs are stored under \filename{\$PORTAL\_HOME/logs}; by default, \filename{\$PORTAL\_HOME} is \filename{\${user.home}/.portal}.
|
||||
|
||||
Each application component has a logger associated with it with the default log level of \command{INFO} which will show general information to highlight progress. Each log level has an assigned level of importants with \command{OFF} being the most important and \command{ALL} being the least important. When determining what the log, the event to be logged compares itself to the logger and what its level is set at. If the event being logged is less important than the current log level for the component, that event will be ignored. If it is greater than or equal to the current level, the event will be logged.
|
||||
|
||||
@@ -27,7 +27,7 @@ The level of importances from greatest to least is
|
||||
\subsection{Changing log levels}
|
||||
The following case allows a user to change the log level for server components. Upon saving the log levels, the component will now respects its new level and log according.
|
||||
|
||||
NOTE: These values are presisted. Upon server restart, the server will see if there is an entry for the logger and set the log level according, otherwise; it will set it to the default value. The location for the persisted patch repo logging file is \filename{\$TOMCAT\_HOME/conf/portal-loggers.properties}.
|
||||
NOTE: These values are persisted. Upon server restart, the server will see if there is an entry for the logger and set the log level accordingly; otherwise, it will use the default value. The location for the persisted portal logging file is \filename{\$PORTAL\_HOME/portal-loggers.properties}.
|
||||
|
||||
When displaying the log levels, the levels are displayed in alphabetical order based off the component name
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ The following case allows the user to authenticate with the server. See Figure~\
|
||||
\end{enumerate}
|
||||
\end{usecase}
|
||||
|
||||
The default username is: \bold{\command{portalAdmin@ngc.com}}
|
||||
The default username is: \bold{\command{portalAdmin@locusworks.net}}
|
||||
|
||||
The default password is: \bold{\command{portalAdmin2017!}}
|
||||
|
||||
|
||||
+5
-5
@@ -43,19 +43,19 @@
|
||||
\end{tabular}
|
||||
}
|
||||
|
||||
\newcommand{\ngasCommonsVersion}{1.0.0-RELEASE\xspace}
|
||||
\newcommand{\locusworksCommonsVersion}{1.0.0-RELEASE\xspace}
|
||||
\newcommand{\EclipseVersion}{Oxygen.2 Release (4.7.2)\xspace}
|
||||
\newcommand{\JavaVersion}{1.8.0\xspace}
|
||||
\newcommand{\JavaVersion}{21\xspace}
|
||||
\newcommand{\MavenVersion}{3.5.3\xspace}
|
||||
\newcommand{\AntVersion}{1.9.10\xspace}
|
||||
\newcommand{\AngularJsVersion}{1.6.9\xspace}
|
||||
\newcommand{\SpringVersion}{5.0.5-RELEASE\xspace}
|
||||
\newcommand{\NodeVersion}{v.8.9.4\xspace}
|
||||
\newcommand{\YarnVersion}{1.3.2\xspace}
|
||||
\newcommand{\NodeVersion}{24.20.0\xspace}
|
||||
\newcommand{\NpmVersion}{12.0.2\xspace}
|
||||
\newcommand{\HibernateVersion}{5.2.16.Final\xspace}
|
||||
\newcommand{\FlywayVersion}{5.0.7\xspace}
|
||||
\newcommand{\MySQLVersion}{5.7\xspace}
|
||||
\newcommand{\TomcatVersion}{8.5.24\xspace}
|
||||
\newcommand{\TomcatVersion}{9.0.121\xspace}
|
||||
\newcommand{\QuartzVerson}{2.3.0\xspace}
|
||||
\newcommand{\JSchVersion}{0.1.54\xspace}
|
||||
\newcommand{\JGitVersion}{4.11.0.201803080745-r\xspace}
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@
|
||||
%Title page
|
||||
%-------------------
|
||||
%\title{\portal Documentation}
|
||||
%\author{Northrop Grumman}
|
||||
%\author{Locusworks}
|
||||
%\date{21 March, 2018}
|
||||
%\maketitle
|
||||
\begin{titlepage}
|
||||
|
||||
Reference in new issue
Block a user