Changeset 18


Ignore:
Timestamp:
09/22/20 08:52:39 (4 years ago)
Author:
bart
Message:

Version 1.5.

Files:
12 added
9 edited

Legend:

Unmodified
Added
Removed
  • pom.xml

    r17 r18  
    66        <artifactId>partiesserver</artifactId>
    77        <packaging>war</packaging>
    8         <version>1.4.4</version> <!-- must equal ${geniusweb.version} -->
     8        <version>1.5.0</version> <!-- must equal ${geniusweb.version} -->
    99        <name>partiesserver Maven Webapp</name>
    1010        <url>http://maven.apache.org</url>
     
    1919                <!-- <tomcat.version>8.0.53</tomcat.version> -->
    2020                <tomcat.version>8.5.20</tomcat.version>
    21                 <geniusweb.version>1.4.4</geniusweb.version>
     21                <geniusweb.version>1.5.0</geniusweb.version>
    2222        </properties>
    2323
     
    8787                        <groupId>tudelft.utilities</groupId>
    8888                        <artifactId>tree</artifactId>
    89                         <version>1.1.0</version>
     89                        <version>1.1.1</version>
    9090                </dependency>
    9191                <dependency>
    9292                        <groupId>tudelft.utilities</groupId>
    9393                        <artifactId>files</artifactId>
    94                         <version>1.1.0</version>
     94                        <version>1.1.1</version>
    9595                </dependency>
    9696                <dependency>
    9797                        <groupId>tudelft.utilities</groupId>
    9898                        <artifactId>repository</artifactId>
    99                         <version>1.1.0</version>
     99                        <version>1.1.1</version>
     100                </dependency>
     101                <dependency>
     102                        <groupId>tudelft.utilities</groupId>
     103                        <artifactId>immutablelist</artifactId>
     104                        <version>1.1.1</version>
    100105                </dependency>
    101106
  • src/main/java/geniusweb/partiesserver/repository/RunningParty.java

    r8 r18  
    1111import geniusweb.actions.PartyId;
    1212import geniusweb.connection.DefaultConnection;
     13import geniusweb.inform.Inform;
    1314import geniusweb.partiesserver.RunningPartiesUpdater;
    1415import geniusweb.partiesserver.websocket.PartySocket;
    1516import geniusweb.party.Party;
    16 import geniusweb.party.inform.Inform;
    1717import tudelft.utilities.repository.RepoElement;
    1818
  • src/main/java/geniusweb/partiesserver/websocket/PartySocket.java

    r16 r18  
    2626import geniusweb.actions.PartyId;
    2727import geniusweb.connection.ConnectionEnd;
     28import geniusweb.inform.Inform;
     29import geniusweb.inform.Settings;
    2830import geniusweb.partiesserver.repository.RunningPartiesRepo;
    2931import geniusweb.partiesserver.repository.RunningParty;
    3032import geniusweb.party.Party;
    31 import geniusweb.party.inform.Inform;
    32 import geniusweb.party.inform.Settings;
    3333import geniusweb.references.Reference;
    3434import tudelft.utilities.listener.Listener;
  • src/test/java/geniusweb/partiesserver/AvailablePartiesUpdaterTest.java

    r17 r18  
    3131
    3232public class AvailablePartiesUpdaterTest {
    33         private static final String RANDOMPARTY = "target/jars/randomparty-1.4.4.jar";
     33        private static final String RANDOMPARTY = "target/jars/randomparty-1.5.0.jar";
    3434        private static final int TESTRATE = 200; // check file changes every 200ms
    3535        @SuppressWarnings("unchecked")
  • src/test/java/geniusweb/partiesserver/JavaClient.java

    r1 r18  
    1212import com.fasterxml.jackson.databind.ObjectMapper;
    1313
    14 import geniusweb.party.inform.Inform;
     14import geniusweb.inform.Inform;
    1515
    1616/**
  • src/test/java/geniusweb/partiesserver/JavaClientTest.java

    r17 r18  
    2525
    2626import geniusweb.actions.PartyId;
    27 import geniusweb.party.inform.Settings;
    28 import geniusweb.party.inform.YourTurn;
     27import geniusweb.inform.Settings;
     28import geniusweb.inform.YourTurn;
    2929import geniusweb.progress.Progress;
    3030import geniusweb.progress.ProgressRounds;
     
    3939 */
    4040public class JavaClientTest {
    41         private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1.4.4";
     41        private static final String RANDOMPARTY = "http://localhost:8080/partiesserver/run/randomparty-1.5.0";
    4242        // private static final String JSON = "{\"jobs\":[\"jobs1\"]}";
    4343//      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\"}}";
  • src/test/java/geniusweb/partiesserver/repository/AvailablePartyTest.java

    r1 r18  
    66import org.junit.Before;
    77
     8import geniusweb.inform.Inform;
    89import geniusweb.party.Capabilities;
    910import geniusweb.party.DefaultParty;
    10 import geniusweb.party.inform.Inform;
    1111import tudelft.utilities.junit.GeneralTests;
    1212
  • src/test/java/geniusweb/partiesserver/repository/RunningPartyTest.java

    r8 r18  
    1717
    1818import geniusweb.actions.PartyId;
     19import geniusweb.inform.Inform;
    1920import geniusweb.partiesserver.websocket.PartySocket;
    2021import geniusweb.party.Capabilities;
    2122import geniusweb.party.DefaultParty;
    2223import geniusweb.party.Party;
    23 import geniusweb.party.inform.Inform;
    2424import tudelft.utilities.junit.GeneralTests;
    2525
  • src/test/java/geniusweb/partiesserver/websocket/PartySocketTest.java

    r8 r18  
    2424import geniusweb.actions.PartyId;
    2525import geniusweb.connection.ConnectionEnd;
     26import geniusweb.inform.Inform;
     27import geniusweb.inform.YourTurn;
    2628import geniusweb.partiesserver.repository.RunningPartiesRepo;
    2729import geniusweb.partiesserver.repository.RunningParty;
    2830import geniusweb.party.Party;
    29 import geniusweb.party.inform.Inform;
    30 import geniusweb.party.inform.YourTurn;
    3131import tudelft.utilities.logging.Reporter;
    3232
Note: See TracChangeset for help on using the changeset viewer.