Code Monkey home page Code Monkey logo

animal-welfare-assessment-grid's People

Contributors

awag-phe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

animal-welfare-assessment-grid's Issues

Build test issue: CwasCalculatorTest.testCalculation:70 expected:<31.19> but was:<31.18>

Hi,

I can only build the WAR file with the flag -DskipTests to skip all tests otherwise I have one test which failed:

Tests run: 209, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.937 sec <<< FAILURE! - in TestSuite
testCalculation(uk.gov.phe.erdst.sc.awag.service.CwasCalculatorTest) Time elapsed: 0.008 sec <<< FAILURE!
java.lang.AssertionError: expected:<31.19> but was:<31.18>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:171)
at org.testng.Assert.assertEquals(Assert.java:181)
at uk.gov.phe.erdst.sc.awag.service.CwasCalculatorTest.testCalculation(CwasCalculatorTest.java:70)

Results :

Failed tests:
CwasCalculatorTest.testCalculation:70 expected:<31.19> but was:<31.18>

Tests run: 209, Failures: 1, Errors: 0, Skipped: 0

WAR Deployement issue

Hi,

I'm trying to install your software but I got an error message when I try to deploy the war:

./asadmin deploy /root/src/animal-welfare-assessment-grid-VERSION-6-00/code/server/target/animal-welfare-system.war
....
remote failure: Error occurred during deployment: JNDI lookup failed for the resource: Name: [aw], Lookup: [jdbc/awDatabase], Type: [javax.sql.DataSource] -- Lookup failed for 'jdbc/awDatabase' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}. Please see server.log for more details.

db-init.sql & authentication.sql generate some errors

Hi,

I've got some errors during database initialization with the SQL scripts, is it normal?

psql -h localhost -U awag awdatabase < animal-welfare-assessment-grid-VERSION-6-00/configuration/db-init.sql
Password for user awag:
SET
SET
SET
SET
SET
SET
SET
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
...
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
ERROR: schema "awag_schema" does not exist
CREATE SCHEMA
ALTER SCHEMA
COMMENT
SET
SET
SET
...

psql -h localhost -U awag awauth < animal-welfare-assessment-grid-VERSION-6-00/configuration/authentication.sql
Password for user awag:
SET
SET
SET
SET
SET
SET
SET
ERROR: relation "public.users" does not exist
ERROR: relation "public.users_groups" does not exist
ERROR: relation "public.groups" does not exist
ERROR: table "users_groups" does not exist
ERROR: table "users" does not exist
ERROR: table "groups" does not exist
DROP SCHEMA
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.