Changeset 12
- Timestamp:
- 03/02/20 10:29:52 (5 years ago)
- Files:
-
- 11 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pom.xml
r11 r12 6 6 <artifactId>partiesserver</artifactId> 7 7 <packaging>war</packaging> 8 <version>1.3. 0</version>8 <version>1.3.1</version> 9 9 <name>partiesserver Maven Webapp</name> 10 10 <url>http://maven.apache.org</url> … … 43 43 <pluginRepository> 44 44 <id>jcenter</id> 45 <url>http ://jcenter.bintray.com</url>45 <url>https://jcenter.bintray.com</url> 46 46 </pluginRepository> 47 47 </pluginRepositories> … … 53 53 <groupId>geniusweb</groupId> 54 54 <artifactId>party</artifactId> 55 <version>1. 2.0</version>55 <version>1.3.1</version> 56 56 </dependency> 57 57 <dependency> 58 58 <groupId>geniusweb</groupId> 59 59 <artifactId>profile</artifactId> 60 <version>1. 2.0</version>60 <version>1.3.1</version> 61 61 </dependency> 62 62 <dependency> 63 63 <groupId>geniusweb</groupId> 64 64 <artifactId>references</artifactId> 65 <version>1. 2.0</version>65 <version>1.3.1</version> 66 66 </dependency> 67 67 … … 69 69 <groupId>geniusweb.exampleparties</groupId> 70 70 <artifactId>randomparty</artifactId> 71 <version>1. 2.0</version>71 <version>1.3.1</version> 72 72 <scope>test</scope> 73 73 </dependency> -
src/test/java/geniusweb/partiesserver/AvailablePartiesUpdaterTest.java
r10 r12 23 23 import org.junit.Test; 24 24 25 import geniusweb.partiesserver.AvailablePartiesUpdater;26 25 import geniusweb.partiesserver.repository.AvailableParty; 27 26 import tudelft.utilities.files.FileInfo; … … 32 31 33 32 public class AvailablePartiesUpdaterTest { 34 private static final String RANDOMPARTY = "target/jars/randomparty-1. 2.0.jar";33 private static final String RANDOMPARTY = "target/jars/randomparty-1.3.1.jar"; 35 34 private static final int TESTRATE = 200; // check file changes every 200ms 36 35 @SuppressWarnings("unchecked") -
src/test/java/geniusweb/partiesserver/JavaClientTest.java
r10 r12 39 39 */ 40 40 public class JavaClientTest { 41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1. 2.0";41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1.3.1"; 42 42 // private static final String JSON = "{\"jobs\":[\"jobs1\"]}"; 43 43 // private static final String JOBS1PROFILE = "{\"LinearAdditiveUtilitySpace\":{\"issueUtilities\":{\"lease car\":{\"discreteutils\":{\"valueUtilities\":{\"no\":0,\"yes\":1}}},\"permanent contract\":{\"discreteutils\":{\"valueUtilities\":{\"no\":0,\"yes\":1}}},\"career development opportunities\":{\"discreteutils\":{\"valueUtilities\":{\"high\":1,\"low\":0,\"medium\":0.5}}},\"fte\":{\"discreteutils\":{\"valueUtilities\":{\"1.0\":0.75,\"0.6\":0.25,\"0.8\":0.5}}},\"salary\":{\"discreteutils\":{\"valueUtilities\":{\"4000\":1.0,\"2500\":0.25,\"3500\":0.75,\"2000\":0,\"3000\":0.3}}},\"work from home\":{\"discreteutils\":{\"valueUtilities\":{\"1\":0.5,\"2\":0.666666666666,\"0\":0.333333333}}}},\"issueWeights\":{\"lease car\":0.06,\"permanent contract\":0.16,\"career development opportunities\":0.04,\"fte\":0.32,\"salary\":0.24,\"work from home\":0.18},\"domain\":{\"name\":\"jobs\",\"issuesValues\":{\"lease car\":{\"values\":[\"yes\",\"no\"]},\"permanent contract\":{\"values\":[\"yes\",\"no\"]},\"career development opportunities\":{\"values\":[\"low\",\"medium\",\"high\"]},\"fte\":{\"values\":[\"0.6\",\"0.8\",\"1.0\"]},\"salary\":{\"values\":[\"2000\",\"2500\",\"3000\",\"3500\",\"4000\"]},\"work from home\":{\"values\":[\"0\",\"1\",\"2\"]}}},\"name\":\"jobs1\"}}";
Note:
See TracChangeset
for help on using the changeset viewer.