-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1) Recompile. 2) Update WizardsForVaading sub module. * Update README.md * Fix bug with duplicate history. * WIP for trace matrix * WIP for trace matrix * WIP for trace matrix * WIP for trace matrix * Re-add sub module. * Re-add sub module. * Changes in Travis script. * Changes in Travis script. * Changes in Travis script. * Try to fix broken build. * CHange dependency so it compiles on brand new repository. * Change to correct branch. * Right version. * A fix? * Fix bug associating requirement version to a test case. * Progress on the Trace Matrix. * Add coverage column. * 1) Fix issue with root node menu. 2) Fix issue creating a new project causing NPE. * Fix issue where executions including Test Cases already in previous ones wouldn't show up. * Move the requirement version assignment from execution of the step to the creation of the execution. * Add requirement version to created executions. * Handle possible NPE. * Add icon to message box. * Add coverity stuff to Travis script. * Add message. * Update parent/children relationship of requirements. * Allow to display parent and child requirements. * Fix formatting on the string representation. * Enhance demo project to include product spec requirements and links to SW requirements. * Enhancements to display of parent and children requirements. * Better demo project. Add requirements links to all requirements for a better populated trace matrix. * More detailed Trace Matrix. * 1) Refactor method to display and select requirements from a list. 2) Add feature to add children to a requirement from GUI. * Required for coverity commands. * Fix bug where local changes were being lost. * Fixing test failure. The local object was not updated with import changes so following calls would import all all over again. * More test fixes. * More test fixes. * Add history to steps and link one to the execution step. * Add step history to steps. Task #22 - Provide UI features for Execution step management * Add menus to create and delete executions. Task #22 - Provide UI features for Execution step management * Try to fix issues on Travis. * Fix errors during test. * Enable cobertura. * Expose method as public and static. * Add read requirement permission to quality role. * Remove redundant class AuditedObject. * Make sure to change reason. * Add missing overrides. * Add test for fixes in versioning system. * Fix some issues related to tying user with changes. Task #23 - Implement change history reasons * Add some missing fields on the update method. Task #25 - history seems to disappear * Update dependencies. * Update dependencies. * Replicate issue #25 Task #25 - history seems to disappear * Add checks to verify the History entries are present or not. Task #25 - history seems to disappear * Refactoring. * Might be versionable and not have history (i.e. no fields marked as auditable). In that case set default values. * Fix inaccurate comment. * Set entity manager to null when closing. * Finally fix bug Task #25 - history seems to disappear * Update to Vaadin 7.7.9. * Update database. * Release actions. * Fix some code review observations.
- Loading branch information
1 parent
054aa16
commit faf86e5
Showing
133 changed files
with
26,902 additions
and
25,494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
language: java | ||
sudo: false | ||
sudo: required | ||
|
||
env: | ||
global: | ||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created | ||
# via the "travis encrypt" command using the project repo's public key | ||
- secure: "BRrm/RtkKH2zxvDWGjMRhZSlbosKVtFh1uyrmMsRW/GvzdKN9j/cFgP7JYShQHRYWYTXkPTFnWiCU19t0kFzd5uRX1iTA7YN1KGdJ1M87RwGHuyPnJdtvNbM2Qt2p8PUeA8X0G8ZXuCBujpMRd0m8B3+WDmb4Yd9eagZLiK2e4jNC/9KZge8h4BQ0Hmz/K68/FXTCirhhFhL4DRvvY76h1/EXEWFx/2s6u34oXVStA3BqTxjQm1ucjxVgOwCMyf+EEEpM/lyIaReg2PcPgwkerXbLGTxl4uaiWmPV0jV41DjMPEIGH7tPgGzbznBaLB/paZLbth6x0wWWq8tumm4uyuaEJeQ9yrq17jTtgWn12PK9X7AWCTWWrYZ01a4K7ClvFiE+kqNW6GxC7fS/iEpL7Ew6Fj/mqCie3x5H6iF/syXA8c0eqHWWglWhhel1XgR+4JMdF6MkpZAoR1BkafBKewQyMacJL/GKwicsi4LtmUfcmKa7hI8IE2pSQnpJ6LDfzRXvuMxeFlfeqKxQtD6+eybhEtq7XFXKhGs8n2W8B5cuzfJ028UDHMvZke7s1ShTnLBtHji4lgqxKjLzjfnGC2I5GfEvIZ+4Ek+q7z0UYdQ5/83S5iWwIz8XDv2XRMVb2xU2NkCzAqjC9AOECifhhOKh6dt5V/shkx273/KKH4=" | ||
|
||
before_install: | ||
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- | ||
addons: | ||
apt: | ||
packages: | ||
- oracle-java8-installer | ||
coverity_scan: | ||
project: | ||
name: "javydreamercsw/validation-manager" | ||
description: "Validation Manager is a tool to handle all the cumbersome paperwork of regulated environment validations. Including Validation Plans, protocols, executions and exceptions. Keeping everything in one place and best of all paperless. " | ||
notification_email: [email protected] | ||
build_command_prepend: "mvn clean" | ||
build_command: "mvn -DskipTests=true install --also-make-dependents" | ||
branch_pattern: master | ||
|
||
dist: trusty | ||
jdk: | ||
- oraclejdk8 | ||
- openjdk8 | ||
script: mvn install cobertura:cobertura -Dmaven.javadoc.skip=true -B -V | ||
script: git submodule update --init --recursive | ||
script: mvn install cobertura:cobertura -Dmaven.javadoc.skip=true -B -V --also-make-dependents | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actions> | ||
<action> | ||
<actionName>run</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>debug</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
<jpda.listen>true</jpda.listen> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>profile</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
</actions> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actions> | ||
<action> | ||
<actionName>run</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>debug</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
<jpda.listen>true</jpda.listen> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>profile</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.tool.requirement.importer.LoadTest</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
</actions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actions> | ||
<action> | ||
<actionName>run</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>debug</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
<jpda.listen>true</jpda.listen> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>profile</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
</actions> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<actions> | ||
<action> | ||
<actionName>run</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>debug</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
<jpda.listen>true</jpda.listen> | ||
</properties> | ||
</action> | ||
<action> | ||
<actionName>profile</actionName> | ||
<packagings> | ||
<packaging>jar</packaging> | ||
</packagings> | ||
<goals> | ||
<goal>process-classes</goal> | ||
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal> | ||
</goals> | ||
<properties> | ||
<exec.args>-classpath %classpath com.validation.manager.core.server.core.RequirementServer jdbc:mysql://localhost:3306/validation_manager?serverTimezone=UTC password com.mysql.cj.jdbc.Driver vm</exec.args> | ||
<exec.executable>java</exec.executable> | ||
</properties> | ||
</action> | ||
</actions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 49 additions & 49 deletions
98
VM-Core/src/main/java/com/validation/manager/core/AbstractProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
package com.validation.manager.core; | ||
|
||
import com.validation.manager.core.db.ExecutionStep; | ||
import com.validation.manager.core.server.core.TestCaseExecutionServer; | ||
import java.util.logging.Logger; | ||
|
||
public abstract class AbstractProvider implements IMainContentProvider { | ||
|
||
protected static final Logger LOG | ||
= Logger.getLogger(AbstractProvider.class.getSimpleName()); | ||
|
||
@Override | ||
public void update() { | ||
//Do nothing by default | ||
} | ||
|
||
@Override | ||
public String getId() { | ||
return getComponentCaption(); | ||
} | ||
|
||
protected boolean isLocked(TestCaseExecutionServer tce) { | ||
return isLocked(tce, -1); | ||
} | ||
|
||
protected boolean isLocked(TestCaseExecutionServer tce, int tcID) { | ||
boolean locked = true; | ||
//Check to see if the execution is locked or not | ||
if (tce != null) { | ||
for (ExecutionStep e : tce.getExecutionStepList()) { | ||
if ((tcID > 0 | ||
&& e.getExecutionStepPK().getStepTestCaseId() == tcID) | ||
&& !e.getLocked()) { | ||
locked = false; | ||
break; | ||
} else if (tcID < 0 && !e.getLocked()) { | ||
locked = false; | ||
break; | ||
} | ||
} | ||
} | ||
return locked; | ||
} | ||
|
||
@Override | ||
public void processNotification() { | ||
//Nothing by default | ||
} | ||
} | ||
package com.validation.manager.core; | ||
|
||
import com.validation.manager.core.db.ExecutionStep; | ||
import com.validation.manager.core.server.core.TestCaseExecutionServer; | ||
import java.util.logging.Logger; | ||
|
||
public abstract class AbstractProvider implements IMainContentProvider { | ||
|
||
protected static final Logger LOG | ||
= Logger.getLogger(AbstractProvider.class.getSimpleName()); | ||
|
||
@Override | ||
public void update() { | ||
//Do nothing by default | ||
} | ||
|
||
@Override | ||
public String getId() { | ||
return getComponentCaption(); | ||
} | ||
|
||
protected boolean isLocked(TestCaseExecutionServer tce) { | ||
return isLocked(tce, -1); | ||
} | ||
|
||
protected boolean isLocked(TestCaseExecutionServer tce, int tcID) { | ||
boolean locked = true; | ||
//Check to see if the execution is locked or not | ||
if (tce != null) { | ||
for (ExecutionStep e : tce.getExecutionStepList()) { | ||
if ((tcID > 0 | ||
&& e.getExecutionStepPK().getStepTestCaseId() == tcID) | ||
&& !e.getLocked()) { | ||
locked = false; | ||
break; | ||
} else if (tcID < 0 && !e.getLocked()) { | ||
locked = false; | ||
break; | ||
} | ||
} | ||
} | ||
return locked; | ||
} | ||
|
||
@Override | ||
public void processNotification() { | ||
//Nothing by default | ||
} | ||
} |
Oops, something went wrong.