[openmeetings-site] branch master updated: OPENMEETINGS-2420 Add RoomService API Docs. Fix typo in swagger file name.

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings-site.git


The following commit(s) were added to refs/heads/master by this push:
 new 70c59c2  OPENMEETINGS-2420 Add RoomService API Docs. Fix typo in 
swagger file name.
70c59c2 is described below

commit 70c59c240ad4b29cf491d76694237f56a6faecf1
Author: Sebastian Wagner 
AuthorDate: Fri Sep 3 17:34:46 2021 +1200

OPENMEETINGS-2420 Add RoomService API Docs. Fix typo in swagger file name.
---
 ...pache-openmeetings-7.0.0-SNAPSHOT-swagger.json} | 211 +
 swagger/index.html |   2 +-
 2 files changed, 89 insertions(+), 124 deletions(-)

diff --git a/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json 
b/swagger/apache-openmeetings-7.0.0-SNAPSHOT-swagger.json
similarity index 92%
rename from swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json
rename to swagger/apache-openmeetings-7.0.0-SNAPSHOT-swagger.json
index 17e59fb..c045784 100644
--- a/swagger/appache-openmeetings-7.0.0-SNAPSHOT-swagger.json
+++ b/swagger/apache-openmeetings-7.0.0-SNAPSHOT-swagger.json
@@ -13,6 +13,10 @@
 },
 "version" : "7.0.0-SNAPSHOT"
   },
+  "servers" : [ {
+"url" : "https://om.alteametasoft.com/openmeetings/services;,
+"description" : "Om Demo Server"
+  } ],
   "tags" : [ {
 "name" : "CalendarService",
 "description" : "CalendarService contains methods to create, edit delete 
calendar meetings"
@@ -1224,10 +1228,13 @@
 "/room" : {
   "post" : {
 "tags" : [ "RoomService" ],
+"description" : "Adds a new ROOM like through the Frontend",
 "operationId" : "add_2",
 "parameters" : [ {
   "name" : "sid",
   "in" : "query",
+  "description" : "The SID of the User. This SID must be marked as 
Loggedin",
+  "required" : true,
   "schema" : {
 "type" : "string"
   }
@@ -1236,6 +1243,7 @@
   "content" : {
 "*/*" : {
   "schema" : {
+"required" : [ "room" ],
 "type" : "object",
 "properties" : {
   "room" : {
@@ -1247,15 +1255,8 @@
   }
 },
 "responses" : {
-  "default" : {
-"description" : "default response",
-"content" : {
-  "application/json" : {
-"schema" : {
-  "$ref" : "#/components/schemas/RoomDTO"
-}
-  }
-}
+  "200" : {
+"description" : "Room object or throw error"
   }
 }
   }
@@ -1263,6 +1264,7 @@
 "/room/cleanwb/{id}" : {
   "get" : {
 "tags" : [ "RoomService" ],
+"description" : "Method to clean room white board (all objects will be 
purged) - Deprecated use WbService#resetWb method instead",
 "operationId" : "cleanWb",
 "parameters" : [ {
   "name" : "sid",
@@ -1280,15 +1282,8 @@
   }
 } ],
 "responses" : {
-  "default" : {
-"description" : "default response",
-"content" : {
-  "application/json" : {
-"schema" : {
-  "$ref" : "#/components/schemas/ServiceResult"
-}
-  }
-}
+  "200" : {
+"description" : "serviceResult object with the result"
   }
 },
 "deprecated" : true
@@ -1297,16 +1292,20 @@
 "/room/close/{id}" : {
   "get" : {
 "tags" : [ "RoomService" ],
+"description" : "Method to remotely close rooms. If a room is closed 
all users\n inside the room and all users that try to enter it will be 
redirected to\n the redirectURL that is defined in the ROOM-Object.",
 "operationId" : "close",
 "parameters" : [ {
   "name" : "sid",
   "in" : "query",
+  "description" : "The SID of the User. This SID must be marked as 
Loggedin",
+  "required" : true,
   "schema" : {
 "type" : "string"
   }
 }, {
   "name" : "id",
   "in" : "path",
+  "description" : "the room id",
   "required" : true,
   "schema" : {
 "type" : "integer",
@@ -1314,15 +1313,8 @@
   }
 } ],
 "responses" : {
-  "default" : {
-"description" : "default response",
-"content" : {
-  "application/json" : {
-"schema" : {
-  "$ref" : "#/components/schemas/ServiceResult"
-}
-  }
-}
+  "200" : {
+"description" : "1 in case of success, -2 otherwise"
   }
 }
   }
@@ -1330,16 +1322,20 @@
 "/room/count/{roomid}" : {
   "get" : {
 "tags" : [ "RoomService" ],
+

[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17409277#comment-17409277
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit ad654ee505174a5dccee27a8f37b9e541c57b4f0 in openmeetings's branch 
refs/heads/feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService 
from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=ad654ee ]

OPENMEETINGS-2420 Fix typo in generated json.


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] branch feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService updated (dcb1235 -> ad654ee)

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a change to branch 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


from dcb1235  Merge branch 'master' into 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService
 add ad654ee  OPENMEETINGS-2420 Fix typo in generated json.

No new revisions were added by this update.

Summary of changes:
 openmeetings-webservice/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17409275#comment-17409275
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 7db3f9a2584f947b86ef95c9eb9852f3ce3932af in openmeetings's branch 
refs/heads/feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService 
from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=7db3f9a ]

OPENMEETINGS-2420 Update Rest API docs for RoomService.


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17409276#comment-17409276
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit dcb1235895a71985f8f541a790011d096231d45e in openmeetings's branch 
refs/heads/feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService 
from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=dcb1235 ]

Merge branch 'master' into 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] 02/02: Merge branch 'master' into feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a commit to branch 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit dcb1235895a71985f8f541a790011d096231d45e
Merge: 7db3f9a 2f802e9
Author: Sebastian Wagner 
AuthorDate: Fri Sep 3 17:27:51 2021 +1200

Merge branch 'master' into 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService

 .../test/java/org/apache/openmeetings/web/TestCalendar.java|  2 +-
 .../org/apache/openmeetings/webservice/NetTestWebService.java  |  2 +-
 pom.xml| 10 --
 3 files changed, 10 insertions(+), 4 deletions(-)


[openmeetings] branch feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService created (now dcb1235)

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a change to branch 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


  at dcb1235  Merge branch 'master' into 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService

This branch includes the following new commits:

 new 7db3f9a  OPENMEETINGS-2420 Update Rest API docs for RoomService.
 new dcb1235  Merge branch 'master' into 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openmeetings] 01/02: OPENMEETINGS-2420 Update Rest API docs for RoomService.

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a commit to branch 
feature/OPENMEETINGS-2420-update-swagger-rest-api-docs-RoomService
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 7db3f9a2584f947b86ef95c9eb9852f3ce3932af
Author: Sebastian Wagner 
AuthorDate: Fri Sep 3 17:27:03 2021 +1200

OPENMEETINGS-2420 Update Rest API docs for RoomService.
---
 openmeetings-webservice/pom.xml|   6 +
 .../openmeetings/webservice/RoomWebService.java| 167 +
 2 files changed, 141 insertions(+), 32 deletions(-)

diff --git a/openmeetings-webservice/pom.xml b/openmeetings-webservice/pom.xml
index e4e8ed3..5649a7d 100644
--- a/openmeetings-webservice/pom.xml
+++ b/openmeetings-webservice/pom.xml
@@ -81,6 +81,12 @@
The 
Apache Software License, Version 2.0


+   
+   
+   Om 
Demo Server
+   
https://om.alteametasoft.com/openmeetings/services
+   
+   



diff --git 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
index 452eda5..47cbce1 100644
--- 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
+++ 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
@@ -64,7 +64,10 @@ import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
+import io.swagger.v3.oas.annotations.Parameter;
 import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.responses.ApiResponse;
 
 /**
  * RoomService contains methods to manipulate rooms and create invitation hash
@@ -110,8 +113,18 @@ public class RoomWebService extends BaseWebService {
@WebMethod
@GET
@Path("/public/{type}")
-   public List getPublic(@QueryParam("sid") @WebParam(name="sid") 
String sid
-   , @PathParam("type") @WebParam(name="type") String type
+   @Operation(
+   description = "Returns an Object of Type RoomsList which 
contains a list of\n"
+   + " ROOM-Objects. Every ROOM-Object contains a 
Roomtype and all informations\n"
+   + " about that ROOM. The List of 
current-users in the room is Null if you get\n"
+   + " them via SOAP. The Roomtype can be 
'conference', 'presentation' or 'interview'.",
+   responses = {
+   @ApiResponse(responseCode = "200", description 
= "list of public rooms")
+   }
+   )
+   public List getPublic(
+   @Parameter(required = true, description = "The SID of 
the User. This SID must be marked as Loggedin") @QueryParam("sid") 
@WebParam(name="sid") String sid
+   , @Parameter(required = true, description = "Type of 
public rooms need to be retrieved") @PathParam("type") @WebParam(name="type") 
String type
) throws ServiceException
{
Room.Type t = Strings.isEmpty(type) ? null : 
Room.Type.valueOf(type);
@@ -129,8 +142,15 @@ public class RoomWebService extends BaseWebService {
@WebMethod
@GET
@Path("/{id}")
-   public RoomDTO getRoomById(@QueryParam("sid") @WebParam(name="sid") 
String sid
-   , @PathParam("id") @WebParam(name="id") Long id
+   @Operation(
+   description = "Returns a conference room object",
+   responses = {
+   @ApiResponse(responseCode = "200", description 
= "room with the id given")
+   }
+   )
+   public RoomDTO getRoomById(
+   @Parameter(required = true, description = "The SID of 
the User. This SID must be marked as Loggedin") @QueryParam("sid") 
@WebParam(name="sid") String sid
+   , @Parameter(required = true, description = "the room 
id") @PathParam("id") @WebParam(name="id") Long id
) throws ServiceException
{
return performCall(sid, User.Right.SOAP, sd -> new 
RoomDTO(roomDao.get(id)));
@@ -178,11 +198,20 @@ public class RoomWebService 

[jira] [Resolved] (OPENMEETINGS-2652) Can´t send invitation from rooms or Calendar

2021-09-02 Thread Maxim Solodovnik (Jira)


 [ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-2652.

Resolution: Fixed

> Can´t send invitation from rooms or Calendar
> 
>
> Key: OPENMEETINGS-2652
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2652
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Calendar, Room
>Affects Versions: 7.0.0
> Environment: Server:  Ubuntu 18.04 - OM 700 #15
> Client:  OSx 11.5.2 - Firefox 91 - Safari 14.1.2
> Client:  Ubuntu 18.04 - Firefox 91
>Reporter: Alvaro
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: Calendar no show Attendees-1.png, Calendar without 
> vertical lines.png, Rooms no show Recipient-1.png, openmeetings.log
>
>
> # When try send an invitation from rooms and clic
> on Recipient box, not show any user (nothing happens).
> # When try send a meeting from Calendar and clic
> on Attendees box, not show any user (nothing happens).
> # Calendar page don´t show vertical lines.
> Attached captures and log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2652) Can´t send invitation from rooms or Calendar

2021-09-02 Thread Alvaro (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408861#comment-17408861
 ] 

Alvaro commented on OPENMEETINGS-2652:
--

...that is tested on OM 7.0.0 #24  :)

> Can´t send invitation from rooms or Calendar
> 
>
> Key: OPENMEETINGS-2652
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2652
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Calendar, Room
>Affects Versions: 7.0.0
> Environment: Server:  Ubuntu 18.04 - OM 700 #15
> Client:  OSx 11.5.2 - Firefox 91 - Safari 14.1.2
> Client:  Ubuntu 18.04 - Firefox 91
>Reporter: Alvaro
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: Calendar no show Attendees-1.png, Calendar without 
> vertical lines.png, Rooms no show Recipient-1.png, openmeetings.log
>
>
> # When try send an invitation from rooms and clic
> on Recipient box, not show any user (nothing happens).
> # When try send a meeting from Calendar and clic
> on Attendees box, not show any user (nothing happens).
> # Calendar page don´t show vertical lines.
> Attached captures and log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2652) Can´t send invitation from rooms or Calendar

2021-09-02 Thread Alvaro (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408858#comment-17408858
 ] 

Alvaro commented on OPENMEETINGS-2652:
--

...it is fixed all issues except vertical lines in Calendar page.
´Ve created a new jira.

Thanks!

> Can´t send invitation from rooms or Calendar
> 
>
> Key: OPENMEETINGS-2652
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2652
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Calendar, Room
>Affects Versions: 7.0.0
> Environment: Server:  Ubuntu 18.04 - OM 700 #15
> Client:  OSx 11.5.2 - Firefox 91 - Safari 14.1.2
> Client:  Ubuntu 18.04 - Firefox 91
>Reporter: Alvaro
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: Calendar no show Attendees-1.png, Calendar without 
> vertical lines.png, Rooms no show Recipient-1.png, openmeetings.log
>
>
> # When try send an invitation from rooms and clic
> on Recipient box, not show any user (nothing happens).
> # When try send a meeting from Calendar and clic
> on Attendees box, not show any user (nothing happens).
> # Calendar page don´t show vertical lines.
> Attached captures and log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OPENMEETINGS-2659) Can´t clean whiteboard

2021-09-02 Thread Alvaro (Jira)
Alvaro created OPENMEETINGS-2659:


 Summary: Can´t clean whiteboard 
 Key: OPENMEETINGS-2659
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2659
 Project: Openmeetings
  Issue Type: Test
  Components: WhiteBoard
Affects Versions: 7.0.0
 Environment: Server:  Ubuntu 18.04 - OM 7.0.0 #24

Client:  OSx 11.5.2 - FF 91 - Safari 14.1.2 - Chrome

Client:  Ubuntu 18.04 - Firefox 91
Reporter: Alvaro
Assignee: Maxim Solodovnik
 Attachments: openmeetings.log

# Calendar page not show vertical lines.

## In Conference room an user, administrator or not,
drag a file to whiteboard and after want clean it and
can do it. But if after clean it drag a new file to
whiteboard and try to clean it pushing:  

Clean whiteboard ==> Do you really want delete… ==> OK,
nothing happens.
Press Cancel button and the first time works right,
but the second and succesives times will not work.

Attached log.

--



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2652) Can´t send invitation from rooms or Calendar

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408733#comment-17408733
 ] 

ASF subversion and git services commented on OPENMEETINGS-2652:
---

Commit 2f802e9d7d1b0df69e79dacb2eb18958585b7465 in openmeetings's branch 
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=2f802e9 ]

[OPENMEETINGS-2652] test is fixed


> Can´t send invitation from rooms or Calendar
> 
>
> Key: OPENMEETINGS-2652
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2652
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Calendar, Room
>Affects Versions: 7.0.0
> Environment: Server:  Ubuntu 18.04 - OM 700 #15
> Client:  OSx 11.5.2 - Firefox 91 - Safari 14.1.2
> Client:  Ubuntu 18.04 - Firefox 91
>Reporter: Alvaro
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: Calendar no show Attendees-1.png, Calendar without 
> vertical lines.png, Rooms no show Recipient-1.png, openmeetings.log
>
>
> # When try send an invitation from rooms and clic
> on Recipient box, not show any user (nothing happens).
> # When try send a meeting from Calendar and clic
> on Attendees box, not show any user (nothing happens).
> # Calendar page don´t show vertical lines.
> Attached captures and log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408732#comment-17408732
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 0d082594b3e36437177306b6aff8d426697419e2 in openmeetings's branch 
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=0d08259 ]

[OPENMEETINGS-2420] whitespaces, dependency versions


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] 02/02: [OPENMEETINGS-2652] test is fixed

2021-09-02 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 2f802e9d7d1b0df69e79dacb2eb18958585b7465
Author: Maxim Solodovnik 
AuthorDate: Thu Sep 2 17:55:36 2021 +0700

[OPENMEETINGS-2652] test is fixed
---
 .../src/test/java/org/apache/openmeetings/web/TestCalendar.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/test/java/org/apache/openmeetings/web/TestCalendar.java 
b/openmeetings-web/src/test/java/org/apache/openmeetings/web/TestCalendar.java
index 80e4e33..4d14dfe 100644
--- 
a/openmeetings-web/src/test/java/org/apache/openmeetings/web/TestCalendar.java
+++ 
b/openmeetings-web/src/test/java/org/apache/openmeetings/web/TestCalendar.java
@@ -39,7 +39,7 @@ import com.googlecode.wicket.jquery.ui.calendar.CalendarView;
 import de.agilecoders.wicket.core.markup.html.bootstrap.navbar.Navbar;
 
 class TestCalendar extends AbstractWicketTester {
-   private static final String PATH_APPOINTMENT_DLG = 
String.format("%s:appointment", PATH_CHILD);
+   private static final String PATH_APPOINTMENT_DLG = 
String.format("%s:calendarAppointment", PATH_CHILD);
private static final String PATH_APPOINTMENT_DLG_FRM = 
String.format("%s:appForm", PATH_APPOINTMENT_DLG);
 
@Test


[openmeetings] branch master updated (6e202af -> 2f802e9)

2021-09-02 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


from 6e202af  Merge pull request #147 from 
apache/feature/OPENMEETINGS-2420-generate-swagger-improvements
 new 0d08259  [OPENMEETINGS-2420] whitespaces, dependency versions
 new 2f802e9  [OPENMEETINGS-2652] test is fixed

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../test/java/org/apache/openmeetings/web/TestCalendar.java|  2 +-
 .../org/apache/openmeetings/webservice/NetTestWebService.java  |  2 +-
 pom.xml| 10 --
 3 files changed, 10 insertions(+), 4 deletions(-)


[openmeetings] 01/02: [OPENMEETINGS-2420] whitespaces, dependency versions

2021-09-02 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 0d082594b3e36437177306b6aff8d426697419e2
Author: Maxim Solodovnik 
AuthorDate: Thu Sep 2 17:54:58 2021 +0700

[OPENMEETINGS-2420] whitespaces, dependency versions
---
 .../org/apache/openmeetings/webservice/NetTestWebService.java  |  2 +-
 pom.xml| 10 --
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/NetTestWebService.java
 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/NetTestWebService.java
index ba264b5..6e54572 100644
--- 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/NetTestWebService.java
+++ 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/NetTestWebService.java
@@ -44,7 +44,7 @@ import org.springframework.stereotype.Service;
 import io.swagger.v3.oas.annotations.tags.Tag;
 
 /**
- * 
+ *
  * The Service contains methods to trigger a network test
  *
  */
diff --git a/pom.xml b/pom.xml
index 485352d..f5306e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,7 @@
3.1

3.1.1

1.11.0
+   2.1.6

5.7.1
9.4.0
@@ -129,7 +130,7 @@
2.3.3

0.2.3-2

2.0.0.AM26
-   2.1.10
+   2.1.10

file:**/generated-sources/**, 
file:**/jquery-ui.css, file:**/cssemoticons.js, 
file:**/bootstrap-confirmation.js
jacoco
@@ -962,7 +963,7 @@

io.swagger.core.v3
swagger-annotations
-   ${swagger.core.v3.version}
+   ${swagger.version}

 

@@ -1601,6 +1602,11 @@

maven-source-plugin

${maven-source-plugin.version}

+   
+   
io.openapitools.swagger
+   
swagger-maven-plugin
+   
${swagger-plugin.version}
+   





[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408652#comment-17408652
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 17c1fa027ec8196c8a7dcf3af629cbe5e0674ec8 in openmeetings's branch 
refs/heads/master from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=17c1fa0 ]

OPENMEETINGS-2420 Update dependency to move to top level.


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408653#comment-17408653
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 6e202afe964a3f8095789e66b1941b3e27e216ff in openmeetings's branch 
refs/heads/master from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=6e202af ]

Merge pull request #147 from 
apache/feature/OPENMEETINGS-2420-generate-swagger-improvements

OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. 
Sync with website

> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408651#comment-17408651
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 9fcc79f356293b79d6437161666de55b27663716 in openmeetings's branch 
refs/heads/master from Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=9fcc79f ]

OPENMEETINGS-2420 Update documentation and tagging for documenting Rest API. 
Sync with website.


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] 01/01: Merge pull request #147 from apache/feature/OPENMEETINGS-2420-generate-swagger-improvements

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 6e202afe964a3f8095789e66b1941b3e27e216ff
Merge: a8e0027 17c1fa0
Author: Sebastian Wagner 
AuthorDate: Thu Sep 2 19:52:14 2021 +1200

Merge pull request #147 from 
apache/feature/OPENMEETINGS-2420-generate-swagger-improvements

OPENMEETINGS-2420 Update documentation and tagging for documenting Rest 
API. Sync with website

 openmeetings-webservice/pom.xml   | 4 
 .../org/apache/openmeetings/webservice/CalendarWebService.java| 3 +++
 .../java/org/apache/openmeetings/webservice/ErrorWebService.java  | 3 +++
 .../java/org/apache/openmeetings/webservice/FileWebService.java   | 4 
 .../java/org/apache/openmeetings/webservice/GroupWebService.java  | 4 
 .../java/org/apache/openmeetings/webservice/InfoWebService.java   | 3 +++
 .../org/apache/openmeetings/webservice/NetTestWebService.java | 8 
 .../org/apache/openmeetings/webservice/RecordingWebService.java   | 3 +++
 .../java/org/apache/openmeetings/webservice/RoomWebService.java   | 3 +++
 .../java/org/apache/openmeetings/webservice/UserWebService.java   | 4 
 .../java/org/apache/openmeetings/webservice/WbWebService.java | 3 +++
 pom.xml   | 6 ++
 12 files changed, 48 insertions(+)


[openmeetings] branch master updated (a8e0027 -> 6e202af)

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


from a8e0027  Merge pull request #146 from 
apache/feature/OPENMEETINGS-2420-generate-swagger-and-provide-to-users-using-swagger-ui
 add 9fcc79f  OPENMEETINGS-2420 Update documentation and tagging for 
documenting Rest API. Sync with website.
 add 17c1fa0  OPENMEETINGS-2420 Update dependency to move to top level.
 new 6e202af  Merge pull request #147 from 
apache/feature/OPENMEETINGS-2420-generate-swagger-improvements

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 openmeetings-webservice/pom.xml   | 4 
 .../org/apache/openmeetings/webservice/CalendarWebService.java| 3 +++
 .../java/org/apache/openmeetings/webservice/ErrorWebService.java  | 3 +++
 .../java/org/apache/openmeetings/webservice/FileWebService.java   | 4 
 .../java/org/apache/openmeetings/webservice/GroupWebService.java  | 4 
 .../java/org/apache/openmeetings/webservice/InfoWebService.java   | 3 +++
 .../org/apache/openmeetings/webservice/NetTestWebService.java | 8 
 .../org/apache/openmeetings/webservice/RecordingWebService.java   | 3 +++
 .../java/org/apache/openmeetings/webservice/RoomWebService.java   | 3 +++
 .../java/org/apache/openmeetings/webservice/UserWebService.java   | 4 
 .../java/org/apache/openmeetings/webservice/WbWebService.java | 3 +++
 pom.xml   | 6 ++
 12 files changed, 48 insertions(+)


[jira] [Commented] (OPENMEETINGS-2420) Discuss and publish API Docs as swagger - Generate swagger from code

2021-09-02 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17408647#comment-17408647
 ] 

ASF subversion and git services commented on OPENMEETINGS-2420:
---

Commit 17c1fa027ec8196c8a7dcf3af629cbe5e0674ec8 in openmeetings's branch 
refs/heads/feature/OPENMEETINGS-2420-generate-swagger-improvements from 
Sebastian Wagner
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=17c1fa0 ]

OPENMEETINGS-2420 Update dependency to move to top level.


> Discuss and publish API Docs as swagger - Generate swagger from code
> 
>
> Key: OPENMEETINGS-2420
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2420
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 5.0.0
>Reporter: Sebastian Wagner
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
>
> I would like to explore how to publish the API docs as swagger document.
> The JavaDocs are nice, but I think most of us are using swagger these days. 
> And you can actually generate swagger docs automatically published from the 
> code based on the annotations. 
> I would like to discuss and try that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] branch feature/OPENMEETINGS-2420-generate-swagger-improvements updated (9fcc79f -> 17c1fa0)

2021-09-02 Thread sebawagner
This is an automated email from the ASF dual-hosted git repository.

sebawagner pushed a change to branch 
feature/OPENMEETINGS-2420-generate-swagger-improvements
in repository https://gitbox.apache.org/repos/asf/openmeetings.git.


from 9fcc79f  OPENMEETINGS-2420 Update documentation and tagging for 
documenting Rest API. Sync with website.
 add 17c1fa0  OPENMEETINGS-2420 Update dependency to move to top level.

No new revisions were added by this update.

Summary of changes:
 openmeetings-webservice/pom.xml | 1 -
 .../java/org/apache/openmeetings/webservice/NetTestWebService.java  | 1 -
 pom.xml | 6 ++
 3 files changed, 6 insertions(+), 2 deletions(-)


[jira] [Created] (OPENMEETINGS-2658) Email sent to user created by admin - no links to application

2021-09-02 Thread Lee (Jira)
Lee created OPENMEETINGS-2658:
-

 Summary: Email sent to user created by admin - no links to 
application
 Key: OPENMEETINGS-2658
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2658
 Project: Openmeetings
  Issue Type: Improvement
  Components: Email
Affects Versions: 6.1.0
Reporter: Lee
Assignee: Maxim Solodovnik
 Attachments: OM_user_created_by_admin_email.png

Currently, the email sent to a user created by admin does not contain a link to 
the application, nor a way for the new user to login since they do not know the 
password.

A link to the application.base.url should be enough for the user to find were 
to log in, and then use the Forgotten password link to gain access with their 
own password.

 

Attached is the existing email content.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)