Changeset 13
- Timestamp:
- 04/28/20 12:56:57 (5 years ago)
- Files:
-
- 11 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pom.xml
r12 r13 6 6 <artifactId>partiesserver</artifactId> 7 7 <packaging>war</packaging> 8 <version>1.3. 1</version>8 <version>1.3.2</version> 9 9 <name>partiesserver Maven Webapp</name> 10 10 <url>http://maven.apache.org</url> … … 19 19 <!-- <tomcat.version>8.0.53</tomcat.version> --> 20 20 <tomcat.version>8.5.20</tomcat.version> 21 <geniusweb.version>1.4.0</geniusweb.version> 21 22 </properties> 22 23 … … 53 54 <groupId>geniusweb</groupId> 54 55 <artifactId>party</artifactId> 55 <version> 1.3.1</version>56 <version>${geniusweb.version}</version> 56 57 </dependency> 57 58 <dependency> 58 59 <groupId>geniusweb</groupId> 59 60 <artifactId>profile</artifactId> 60 <version> 1.3.1</version>61 <version>${geniusweb.version}</version> 61 62 </dependency> 62 63 <dependency> 63 64 <groupId>geniusweb</groupId> 64 65 <artifactId>references</artifactId> 65 <version> 1.3.1</version>66 <version>${geniusweb.version}</version> 66 67 </dependency> 67 68 … … 69 70 <groupId>geniusweb.exampleparties</groupId> 70 71 <artifactId>randomparty</artifactId> 71 <version> 1.3.1</version>72 <version>${geniusweb.version}</version> 72 73 <scope>test</scope> 73 74 </dependency> … … 223 224 224 225 <build> 225 <finalName>partiesserver </finalName>226 <finalName>partiesserver-1.4.0</finalName> 226 227 227 228 … … 257 258 </executions> 258 259 </plugin> 260 <plugin> 261 <artifactId>maven-war-plugin</artifactId> 262 <version>3.2.3</version> 263 <configuration> 264 <attachClasses>true</attachClasses> 265 </configuration> 266 </plugin> 267 259 268 <plugin> 260 269 <groupId>org.apache.maven.plugins</groupId> -
src/main/webapp/WEB-INF/web.xml
r1 r13 5 5 <web-app> 6 6 <display-name>GeniusWeb Parties server</display-name> 7 8 <filter> 9 <filter-name>CorsFilter</filter-name> 10 <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> 11 <init-param> 12 <param-name>cors.allowed.origins</param-name> 13 <param-value>*</param-value> 14 </init-param> 15 <init-param> 16 <param-name>cors.exposed.headers</param-name> 17 <param-value>Access-Control-Allow-Origin</param-value> 18 </init-param> 19 </filter> 20 <filter-mapping> 21 <filter-name>CorsFilter</filter-name> 22 <url-pattern>/*</url-pattern> 23 </filter-mapping> 24 7 25 8 26 <servlet> -
src/test/java/geniusweb/partiesserver/AvailablePartiesUpdaterTest.java
r12 r13 31 31 32 32 public class AvailablePartiesUpdaterTest { 33 private static final String RANDOMPARTY = "target/jars/randomparty-1. 3.1.jar";33 private static final String RANDOMPARTY = "target/jars/randomparty-1.4.0.jar"; 34 34 private static final int TESTRATE = 200; // check file changes every 200ms 35 35 @SuppressWarnings("unchecked") -
src/test/java/geniusweb/partiesserver/JavaClientTest.java
r12 r13 39 39 */ 40 40 public class JavaClientTest { 41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1. 3.1";41 private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1.4.0"; 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.