Changeset 2 for src/main/webapp
- Timestamp:
- 08/28/19 11:35:53 (5 years ago)
- Location:
- src/main/webapp
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/webapp/domainsrepo/7issues/7issues.json
r1 r2 3 3 "issuesValues": { 4 4 "i1": { 5 "range": [ "0", "9", "1"]5 "range": [0, 9, 1] 6 6 }, 7 7 "i2": { 8 "range": [ "0", "9", "1"]8 "range": [0, 9, 1] 9 9 }, 10 10 "i3": { 11 "range": [ "0", "9", "1"]11 "range": [0, 9, 1] 12 12 }, 13 13 "i4": { 14 "range": [ "0", "9", "1"]14 "range": [0, 9, 1] 15 15 }, 16 16 "i5": { 17 "range": [ "0", "9", "1"]17 "range": [0, 9, 1] 18 18 }, 19 19 "i6": { 20 "range": [ "0", "9", "1"]20 "range": [0, 9, 1] 21 21 }, 22 22 "i7": { 23 "range": [ "0", "9", "1"]23 "range": [0, 9, 1] 24 24 } 25 25 } -
src/main/webapp/domainsrepo/7issues/7issues1.json
r1 r2 9 9 "highValue": 9, 10 10 "highUtility": 0.99 11 12 11 } 13 12 }, … … 18 17 "highValue": 9, 19 18 "highUtility": 0.97 20 21 19 } 22 20 }, … … 27 25 "highValue": 9, 28 26 "highUtility": 0.96 29 30 27 } 31 28 }, … … 36 33 "highValue": 9, 37 34 "highUtility": 0.94 38 39 35 } 40 36 }, … … 45 41 "highValue": 9, 46 42 "highUtility": 0.93 47 48 43 } 49 44 }, … … 54 49 "highValue": 9, 55 50 "highUtility": 0.92 56 57 51 } 58 52 }, … … 63 57 "highValue": 9, 64 58 "highUtility": 0.91 65 66 59 } 67 60 } … … 80 73 "issuesValues": { 81 74 "i1": { 82 "range": ["0", "9", "1"] 75 "range": [ 76 0, 77 9, 78 1 79 ] 83 80 }, 84 81 "i2": { 85 "range": ["0", "9", "1"] 82 "range": [ 83 0, 84 9, 85 1 86 ] 86 87 }, 87 88 "i3": { 88 "range": ["0", "9", "1"] 89 "range": [ 90 0, 91 9, 92 1 93 ] 89 94 }, 90 95 "i4": { 91 "range": ["0", "9", "1"] 96 "range": [ 97 0, 98 9, 99 1 100 ] 92 101 }, 93 102 "i5": { 94 "range": ["0", "9", "1"] 103 "range": [ 104 0, 105 9, 106 1 107 ] 95 108 }, 96 109 "i6": { 97 "range": ["0", "9", "1"] 110 "range": [ 111 0, 112 9, 113 1 114 ] 98 115 }, 99 116 "i7": { 100 "range": ["0", "9", "1"] 117 "range": [ 118 0, 119 9, 120 1 121 ] 101 122 } 102 123 } -
src/main/webapp/domainsrepo/7issues/7issues2.json
r1 r2 9 9 "highValue": 9, 10 10 "highUtility": 0.11 11 12 11 } 13 12 }, … … 18 17 "highValue": 9, 19 18 "highUtility": 0.21 20 21 19 } 22 20 }, … … 27 25 "highValue": 9, 28 26 "highUtility": 0.13 29 30 27 } 31 28 }, … … 36 33 "highValue": 9, 37 34 "highUtility": 0.14 38 39 35 } 40 36 }, … … 45 41 "highValue": 9, 46 42 "highUtility": 0.15 47 48 43 } 49 44 }, … … 54 49 "highValue": 9, 55 50 "highUtility": 0.16 56 57 51 } 58 52 }, … … 63 57 "highValue": 9, 64 58 "highUtility": 0.17 65 66 59 } 67 60 } … … 80 73 "issuesValues": { 81 74 "i1": { 82 "range": ["0", "9", "1"] 75 "range": [ 76 0, 77 9, 78 1 79 ] 83 80 }, 84 81 "i2": { 85 "range": ["0", "9", "1"] 82 "range": [ 83 0, 84 9, 85 1 86 ] 86 87 }, 87 88 "i3": { 88 "range": ["0", "9", "1"] 89 "range": [ 90 0, 91 9, 92 1 93 ] 89 94 }, 90 95 "i4": { 91 "range": ["0", "9", "1"] 96 "range": [ 97 0, 98 9, 99 1 100 ] 92 101 }, 93 102 "i5": { 94 "range": ["0", "9", "1"] 103 "range": [ 104 0, 105 9, 106 1 107 ] 95 108 }, 96 109 "i6": { 97 "range": ["0", "9", "1"] 110 "range": [ 111 0, 112 9, 113 1 114 ] 98 115 }, 99 116 "i7": { 100 "range": ["0", "9", "1"] 117 "range": [ 118 0, 119 9, 120 1 121 ] 101 122 } 102 123 } -
src/main/webapp/index.jsp
r1 r2 15 15 these may contain files with errors, and thus are not available for 16 16 use. 17 18 <h2> 19 Adding domains and profiles 20 </h1> 21 You can add and remove domains and profiles by dragging your .json 22 files into and out of the repo directory. 23 24 <h2> 25 Access 26 </h1> 27 Your agent has JSON based access to the repo through websockets. Two 28 examples are provided, one based on javax.websocket and one on 29 neovisionaries websocket 30 31 32 <h3>Example with javax websocket</h3> 33 The example code is available 34 <a 35 href="https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples/DownloadProfileExample.java">here</a> 36 and also is part of the JavaClientTest junit test in this project (run with <code>mvn test</code>) 37 To compile that example you need the javax websocket 38 dependency in your pom: 39 <code> 40 <pre> 41 <dependency> 42 <groupId>javax.websocket</groupId> 43 <artifactId>javax.websocket-api</artifactId> 44 <version>1.1</version> 45 </dependency> 46 47 48 </code> 49 </pre> 50 51 52 <h3>Example with neovisionaries websocket</h3> 53 The example code is available 54 <a 55 href="https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples/DownloadProfileExample.java">here</a> 56 and also is part of the JavaClientTest junit test in this project (run with <code>mvn test</code>) 57 To compile that example you need the neovisionaries websocket 58 dependency in your pom: 59 <code> 60 <pre> 61 <dependency> 62 <groupId>com.neovisionaries</groupId> 63 <artifactId>nv-websocket-client</artifactId> 64 <version>2.6</version> 65 </dependency> 66 67 68 </code> 69 </pre> 17 <p> 18 For creating a profile or adding it to the server please check the <a 19 href="https://tracinsy.ewi.tudelft.nl/pubtrac/GeniusWebProfilesServer">wiki</a>. 20 70 21 </body> 71 22 </html>
Note:
See TracChangeset
for help on using the changeset viewer.