Changes between Version 28 and Version 29 of WikiStart
- Timestamp:
- 06/26/19 13:47:20 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v28 v29 1 1 [[PageOutline]] 2 2 3 = Genius 2ProfilesServer3 = GeniusWeb ProfilesServer 4 4 5 This is the home page of the genius2profiles server.5 This is the home page of the GeniusWeb profiles server. 6 6 This server serves domain and profile files to interested parties, and can inform them of changes. 7 7 8 The profilesserver only **serves** profiles, it does not define them. To define profiles, check the genius 2core pages.8 The profilesserver only **serves** profiles, it does not define them. To define profiles, check the geniusweb core pages. 9 9 10 The Genius 2core/main page is [https://tracinsy.ewi.tudelft.nl/trac/Genius2 here].10 The GeniusWeb core/main page is [https://tracinsy.ewi.tudelft.nl/trac/Genius2 here]. 11 11 12 12 == Installation == 13 13 * Install your apache-tomcat 8 installation https://tomcat.apache.org/download-80.cgi. You can re-use an existing installation. 14 * Download the parties server war file from [http://artifactory.ewi.tudelft.nl/artifactory/webapp/#/artifacts/browse/tree/General/libs-release-local/genius 2/profilesserver the artifactory]. Go into the latest version of the partiesserver and download (right click) the war file. NOTICE: your browser must have cookies enabled to access the artifactory.14 * Download the parties server war file from [http://artifactory.ewi.tudelft.nl/artifactory/webapp/#/artifacts/browse/tree/General/libs-release-local/geniusweb/profilesserver the artifactory]. Go into the latest version of the partiesserver and download (right click) the war file. NOTICE: your browser must have cookies enabled to access the artifactory. 15 15 * Copy the downloaded war file into the tomcat webapps directory 16 16 * (Re)start tomcat … … 24 24 This section describes the communication protocols with the profilesserver. 25 25 26 Other implementations of a profilesserver should adhere to the same communication protocols to ensure compatibility with genius 2.26 Other implementations of a profilesserver should adhere to the same communication protocols to ensure compatibility with geniusweb. 27 27 28 28 == List of available profiles … … 58 58 59 59 60 There are java examples available [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius 2/examples here]. Basically you just open a websocket and read the incoming profile like this (NOTICE: this is using neovisionaries WebSocketAdapter which is an external library; but we recommend the java built-in javax.websocket, see the [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples examples])60 There are java examples available [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples here]. Basically you just open a websocket and read the incoming profile like this (NOTICE: this is using neovisionaries WebSocketAdapter which is an external library; but we recommend the java built-in javax.websocket, see the [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples examples]) 61 61 {{{ 62 62 WebSocketFactory factory = new WebSocketFactory().setConnectionTimeout(5000);