Proctor-Webapp is a Java web application that uses the Proctor-Webapp-Library to manipulate and view Proctor definitions.
- Create/View/Edit/Delete Proctor definitions
- View commit history of Proctor definitions in trunk, qa, and production.
- Promote Proctor definitions from trunk -> qa/production, or qa -> production
Proctor test-matrix must be accessible for trunk, qa, and production:
For SVN: * https://YOURSVN.com/svn/repos/proctor-data/trunk/matrices/test-definitions/ * https://YOURSVN.com/svn/repos/proctor-data/branches/deploy/qa/matrices/test-definitions/ * https://YOURSVN.com/svn/repos/proctor-data/branches/deploy/production/matrices/test-definitions/
For Git: * https://YOURGIT.com/YOURREPOS/proctor-data/tree/trunk/matrices/test-definitions/ * https://YOURGIT.com/YOURREPOS/proctor-data/tree/qa/matrices/test-definitions/ * https://YOURGIT.com/YOURREPOS/proctor-data/tree/production/matrices/test-definitions/
-
Use git to clone https://github.com/indeedeng/proctor-webapp
-
Set up configuration (see below).
-
In root folder, run
mvn package -pl proctor-webapp -am
to build. -
Start the webapp runner. NOTE: The config.dir java variable is set to the example-apache-config, you will still need to update proctor-config.properties with the appropriate credentials:
java -Dconfig.dir="$PWD/proctor-webapp/example-apache-config" -jar proctor-webapp/target/dependency/webapp-runner.jar --context-xml proctor-webapp/example-apache-config/proctor-webapp.xml --expand-war proctor-webapp/target/proctor-webapp-9999-SNAPSHOT.war
Two configuration files need to be provided to run Proctor-Webapp properly. The properties have the recommended values below.
- ${config.dir}/proctor-config.properties
When using SVN or Git as storage:
```bash
revision.control=[svn|git]
scm.path=[https://YOURSVN.com/svn/repos/proctor-data/|https://YOURGIT.com/YOURREPOS/proctor-data.git]
scm.login=REPLACE_WITH_REPO_USER
scm.password=REPLACE_WITH_REPO_PASS
```
- ${config.dir}/proctor-webapp.xml
<Context debug="5" reloadable="true" crossContext="true"> <Parameter name="contextConfigLocation" value="/WEB-INF/spring/applicationContext.xml" override="false"/> <Parameter name="propertyPlaceholderResourceLocation" value="file://${config.dir}/proctor-config.properties" override="false"/> </Context>