Changeset 19
- Timestamp:
- 10/06/20 13:12:24 (4 years ago)
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pom.xml
r18 r19 6 6 <artifactId>profilesserver</artifactId> 7 7 <packaging>war</packaging> 8 <version>1.5. 2</version> <!-- must equal ${geniusweb.version} -->8 <version>1.5.3</version> <!-- must equal ${geniusweb.version} --> 9 9 <name>profileserver Maven Webapp</name> 10 10 <url>http://maven.apache.org</url> … … 18 18 <jackson-2-version>2.9.10</jackson-2-version> 19 19 <tomcat.version>8.5.20</tomcat.version> 20 <geniusweb.version>1.5. 2</geniusweb.version>20 <geniusweb.version>1.5.3</geniusweb.version> 21 21 </properties> 22 22 … … 307 307 <groupId>org.apache.maven.plugins</groupId> 308 308 <artifactId>maven-javadoc-plugin</artifactId> 309 <version> 2.10.1</version>309 <version>3.2.0</version> 310 310 <executions> 311 311 <execution> … … 314 314 <goal>jar</goal> 315 315 </goals> 316 <configuration>317 <additionalparam>${javadoc.opts}</additionalparam>318 <additionalparam>-Xdoclint:none</additionalparam>319 </configuration>320 316 </execution> 321 317 </executions> -
src/main/java/geniusweb/profilesserver/AutoUpdatingProfilesRepository.java
r16 r19 367 367 * {@link FileWatcher}. 368 368 * 369 * @param file 369 * @param file the file/dir to watch 370 370 * @return a class that watches for file changes below the given file. 371 371 */ … … 380 380 * @return the root dir of the repo. This is the 'database' where all known 381 381 * profiles are stored. 382 * @throws URISyntaxException383 382 */ 384 383 protected Path getRootDir() { -
src/main/java/geniusweb/profilesserver/DefaultProfilesRepository.java
r16 r19 33 33 * all currently available profiles and domains. Invariant for this class: 34 34 * All {@link Domain}s in this map have a unique name that matches the 35 * directory name and file name on the file system below {@link #dir}. All36 * profile values in the map their {@link Profile#getDomain()} match with37 * the domain key in the map.35 * directory name and file name on the file system below the given 36 * directory. All profile values in the map their 37 * {@link Profile#getDomain()} match with the domain key in the map. 38 38 */ 39 39 protected final Map<Domain, List<Profile>> available = new ConcurrentHashMap<>(); -
src/main/java/geniusweb/profilesserver/Jackson.java
r8 r19 9 9 * 10 10 * <b> This class should is private to the profiles server and should not be 11 * used by others. 11 * used by others.</b> 12 12 */ 13 13 public class Jackson { -
src/main/java/geniusweb/profilesserver/ProfilesRepository.java
r16 r19 22 22 23 23 /** 24 * @param simple profilename of the form "domainname/profileX" (no25 * extendsions).26 * @return profile with the given name and the given domain, or null if no27 * such domain or profile exists.24 * @param profilename simple profile name of the form "domainname/profileX" 25 * (no extendsions). 26 * @return {@link Profile} with the given name and the given domain, or null 27 * if no such domain or profile exists. 28 28 * 29 29 */ -
src/main/java/geniusweb/profilesserver/events/ProfileChangeEvent.java
r1 r19 7 7 8 8 /** 9 * 10 * @param type the {@link ModificationType} of this event. 11 * 12 * @param old the profile before the change. Null if it was added. 13 * @param new the profile after the change. Null if it was removed 9 * @param oldprof the profile before the change. Null if it was added. 10 * @param newprof the profile after the change. Null if it was removed 14 11 */ 15 12 public ProfileChangeEvent(Profile oldprof, Profile newprof) { -
src/main/java/geniusweb/profilesserver/websocket/GetProfileSocket.java
r16 r19 41 41 * 42 42 * <p> 43 * Query string: the websocket allows query strings. 44 * <ul> 45 * <li>partial</li> a query key that is assigned a natural number N (0 or 46 * larger). If set, the profile is converted into a Partial Profile with the 47 * given number of points. If N>0, the maximum utility bid is included .If N>1, 48 * the minimum utility bid is included. The other bids are picked at random. 49 * This filtering mechanism only works if the profile is {@link LinearAdditive} 50 * space. The reservation bid is passed through unmodified. 43 * Query strings: the websocket allows query strings. Allowed: 44 * <table> 45 * <caption>Query strings for GetprofileSocket</caption> 46 * <tr> 47 * <th>query name</th> 48 * <th>description</th> 49 * </tr> 50 * <tr> 51 * <td>partial=N</td> 52 * <td>a query key that is assigned a natural number N (0 or larger). If set, 53 * the profile is converted into a Partial Profile with the given number of 54 * points. If N>0, the maximum utility bid is included .If N>1, the 55 * minimum utility bid is included. The other bids are picked at random. This 56 * filtering mechanism only works if the profile is {@link LinearAdditive} 57 * space. The reservation bid is passed through unmodified.</td> 58 * </tr> 59 * </table> 51 60 */ 52 61 @ServerEndpoint("/websocket/get/{domain}/{profile}")
Note:
See TracChangeset
for help on using the changeset viewer.