Skip to content

Commit 1953429

Browse files
authored
Merge pull request #316 from icatproject/miredot-jakarta
Update miredot
2 parents a1ec12a + 831ce07 commit 1953429

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
<plugin>
160160
<groupId>com.qmino</groupId>
161161
<artifactId>miredot-plugin</artifactId>
162-
<version>2.4.1-Java11</version>
162+
<version>2.4.4-Java11</version>
163163
<executions>
164164
<execution>
165165
<id>miredot</id>
@@ -192,6 +192,11 @@
192192
<PARTIAL_RESOURCE_OVERLAP>failbuild</PARTIAL_RESOURCE_OVERLAP>
193193
</checks>
194194
</analysis>
195+
<restModel>
196+
<restFramework>
197+
<name>jakarta</name>
198+
</restFramework>
199+
</restModel>
195200
</configuration>
196201
</plugin>
197202

src/main/java/org/icatproject/exposed/ICATRest.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private void checkRoot(String sessionId) throws IcatException {
153153
/**
154154
* Create one or more entities
155155
*
156-
* @summary Write
156+
* @title Write
157157
*
158158
* @param sessionId
159159
* a sessionId of a user which takes the form
@@ -209,7 +209,7 @@ public String write(@Context HttpServletRequest request, @FormParam("sessionId")
209209
/**
210210
* Clone an entity
211211
*
212-
* @summary Clone
212+
* @title Clone
213213
*
214214
* @param sessionId
215215
* a sessionId of a user which takes the form
@@ -253,7 +253,7 @@ public String cloneEntity(@Context HttpServletRequest request, @FormParam("sessi
253253
/**
254254
* Delete entities as a json string.
255255
*
256-
* @summary delete
256+
* @title delete
257257
*
258258
* @param sessionId
259259
* a sessionId of a user which takes the form
@@ -333,7 +333,7 @@ private EntityBaseBean getOne(JsonObject entity, int offset) throws IcatExceptio
333333
/**
334334
* Export data from ICAT
335335
*
336-
* @summary Export Metadata
336+
* @title Export Metadata
337337
*
338338
* @param jsonString
339339
* what to export which takes the form
@@ -372,7 +372,7 @@ public Response exportData(@QueryParam("json") String jsonString) throws IcatExc
372372
* This call is primarily for testing. Authorization is not done so you must
373373
* be listed in rootUserNames to use this call.
374374
*
375-
* @summary Execute line of jpql
375+
* @title Execute line of jpql
376376
*
377377
* @param sessionId
378378
* a sessionId of a user listed in rootUserNames
@@ -438,7 +438,7 @@ public String getJpql(@QueryParam("sessionId") String sessionId, @QueryParam("qu
438438
/**
439439
* Return all that can be returned when not authenticated
440440
*
441-
* @summary Properties
441+
* @title Properties
442442
*
443443
* @return a json string
444444
*
@@ -484,7 +484,7 @@ public String getProperties() throws IcatException {
484484
/**
485485
* Return information about a session
486486
*
487-
* @summary Session
487+
* @title Session
488488
*
489489
* @param sessionId
490490
* a sessionId of a user which takes the form
@@ -517,7 +517,7 @@ public String getSession(@PathParam("sessionId") String sessionId) throws IcatEx
517517
* unexpired session. This call should be used for a user logged in using an
518518
* authentication plugin configured to not return the mnemonic.
519519
*
520-
* @summary LoggedIn
520+
* @title LoggedIn
521521
*
522522
* @param userName
523523
* the name of the user (without mnemonic)
@@ -539,7 +539,7 @@ public String isLoggedIn1(@PathParam("userName") String userName) {
539539
* Returns after specified number of seconds - returning elapsed time in
540540
* milliseconds
541541
*
542-
* @summary Sleep
542+
* @title Sleep
543543
*
544544
* @param seconds
545545
* how many seconds to wait before returning
@@ -569,7 +569,7 @@ public String sleep(@PathParam("seconds") Long seconds) {
569569
* unexpired session. This call should be used for a user logged in using an
570570
* authentication plugin configured to return the mnemonic.
571571
*
572-
* @summary LoggedIn
572+
* @title LoggedIn
573573
*
574574
* @param mnemonic
575575
* the mnemomnic used to identify the authentication plugin
@@ -593,7 +593,7 @@ public String isLoggedIn2(@PathParam("mnemonic") String mnemonic, @PathParam("us
593593
/**
594594
* return the version of the icat server
595595
*
596-
* @summary Version
596+
* @title Version
597597
*
598598
* @return json string of the form: <samp>{"version":"4.4.0"}</samp>
599599
*/
@@ -653,7 +653,7 @@ public String getVersion() {
653653
* file.</dd>
654654
* </dl>
655655
*
656-
* @summary import metadata
656+
* @title import metadata
657657
*
658658
* @throws IcatException
659659
* when something is wrong
@@ -841,7 +841,7 @@ private void jsonise(Object result, JsonGenerator gen) throws IcatException {
841841
/**
842842
* Login to create a session
843843
*
844-
* @summary Login
844+
* @title Login
845845
*
846846
* @param request
847847
* @param jsonString
@@ -913,7 +913,7 @@ public String login(@Context HttpServletRequest request, @FormParam("json") Stri
913913
/**
914914
* Logout from a session
915915
*
916-
* @summary Logout
916+
* @title Logout
917917
*
918918
* @param sessionId
919919
* a sessionId of a user which takes the form
@@ -932,7 +932,7 @@ public void logout(@Context HttpServletRequest request, @PathParam("sessionId")
932932
/**
933933
* perform a lucene search
934934
*
935-
* @summary lucene search
935+
* @title lucene search
936936
*
937937
* @param sessionId
938938
* a sessionId of a user which takes the form
@@ -1120,7 +1120,7 @@ public String lucene(@Context HttpServletRequest request, @QueryParam("sessionId
11201120
* This is an internal call made by one icat instance to another in the same
11211121
* cluster
11221122
*
1123-
* @summary markPublicTablesStale
1123+
* @title markPublicTablesStale
11241124
*/
11251125
@POST
11261126
@Path("gatekeeper/markPublicTablesStale")
@@ -1138,7 +1138,7 @@ public void gatekeeperMarkPublicTablesStale(@Context HttpServletRequest request)
11381138
* This is an internal call made by one icat instance to another in the same
11391139
* cluster
11401140
*
1141-
* @summary markPublicTablesStale
1141+
* @title markPublicTablesStale
11421142
*/
11431143
@POST
11441144
@Path("gatekeeper/markPublicStepsStale")
@@ -1153,7 +1153,7 @@ public void gatekeeperMarkPublicStepsStale(@Context HttpServletRequest request)
11531153
/**
11541154
* Stop population of the lucene database if it is running.
11551155
*
1156-
* @summary Lucene Clear
1156+
* @title Lucene Clear
11571157
*
11581158
* @param sessionId
11591159
* a sessionId of a user listed in rootUserNames
@@ -1171,7 +1171,7 @@ public void luceneClear(@QueryParam("sessionId") String sessionId) throws IcatEx
11711171
/**
11721172
* Forces a commit of the lucene database
11731173
*
1174-
* @summary Lucene Commit
1174+
* @title Lucene Commit
11751175
*
11761176
* @param sessionId
11771177
* a sessionId of a user listed in rootUserNames
@@ -1189,7 +1189,7 @@ public void luceneCommit(@FormParam("sessionId") String sessionId) throws IcatEx
11891189
/**
11901190
* Return a list of class names for which population is going on
11911191
*
1192-
* @summary lucene GetPopulating
1192+
* @title lucene GetPopulating
11931193
*
11941194
* @param sessionId
11951195
* a sessionId of a user listed in rootUserNames
@@ -1217,7 +1217,7 @@ public String luceneGetPopulating(@QueryParam("sessionId") String sessionId) thr
12171217
* Call for testing only. The call will take the time specified and then
12181218
* returns.
12191219
*
1220-
* @summary wait
1220+
* @title wait
12211221
*
12221222
* @param sessionId
12231223
* a sessionId of a user listed in rootUserNames
@@ -1240,7 +1240,7 @@ public void waitMillis(@FormParam("sessionId") String sessionId, @FormParam("ms"
12401240
/**
12411241
* Clear and repopulate lucene documents for the specified entityName
12421242
*
1243-
* @summary Lucene Populate
1243+
* @title Lucene Populate
12441244
*
12451245
* @param sessionId
12461246
* a sessionId of a user listed in rootUserNames
@@ -1263,7 +1263,7 @@ public void lucenePopulate(@FormParam("sessionId") String sessionId, @PathParam(
12631263
/**
12641264
* Refresh session
12651265
*
1266-
* @summary Refresh
1266+
* @title Refresh
12671267
*
12681268
* @param sessionId
12691269
* a sessionId of a user which takes the form
@@ -1284,7 +1284,7 @@ public void refresh(@Context HttpServletRequest request, @PathParam("sessionId")
12841284
* This includes the functionality of both search and get calls in the SOAP
12851285
* web service.
12861286
*
1287-
* @summary search/get
1287+
* @title search/get
12881288
*
12891289
* @param sessionId
12901290
* a sessionId of a user which takes the form

0 commit comments

Comments
 (0)