[jira] [Resolved] (GEODE-2154) swagger-ui.html in IE on windows returns 404
[ https://issues.apache.org/jira/browse/GEODE-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling resolved GEODE-2154. - Resolution: Not A Problem Marking this as Not A Problem because the documented URL works. > swagger-ui.html in IE on windows returns 404 > > > Key: GEODE-2154 > URL: https://issues.apache.org/jira/browse/GEODE-2154 > Project: Geode > Issue Type: Bug > Components: management >Reporter: Jinmei Liao >Assignee: Kevin Duling > Attachments: Screen Shot 2016-12-01 at 4.10.39 PM.png > > > In a windows machine, start a server using the following gfsh command: > start server --name=server1 --start-rest-api > --J=-Dgemfire.http-service-port=8080 > --J=-Dgemfire.http-service-bind-address=localhost > Going to IE and hit the following url: > http://localhost:8080/geode/v1/servers > It will return a json string containing the the server address > but if you hit this url: > http://localhost:8080/geode/swagger-ui.html > it will return a 404. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (GEODE-2154) swagger-ui.html in IE on windows returns 404
[ https://issues.apache.org/jira/browse/GEODE-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling reassigned GEODE-2154: --- Assignee: Kevin Duling > swagger-ui.html in IE on windows returns 404 > > > Key: GEODE-2154 > URL: https://issues.apache.org/jira/browse/GEODE-2154 > Project: Geode > Issue Type: Bug > Components: management >Reporter: Jinmei Liao >Assignee: Kevin Duling > Attachments: Screen Shot 2016-12-01 at 4.10.39 PM.png > > > In a windows machine, start a server using the following gfsh command: > start server --name=server1 --start-rest-api > --J=-Dgemfire.http-service-port=8080 > --J=-Dgemfire.http-service-bind-address=localhost > Going to IE and hit the following url: > http://localhost:8080/geode/v1/servers > It will return a json string containing the the server address > but if you hit this url: > http://localhost:8080/geode/swagger-ui.html > it will return a 404. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (GEODE-2154) swagger-ui.html in IE on windows returns 404
[ https://issues.apache.org/jira/browse/GEODE-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15716566#comment-15716566 ] Kevin Duling commented on GEODE-2154: - Ok, tried it out. Looks like it's a version issue as localhost:8080/geode/docs/index.html still works. That's the URL that should actually be documented, since I made the changes for swagger2 backwards-compatible. > swagger-ui.html in IE on windows returns 404 > > > Key: GEODE-2154 > URL: https://issues.apache.org/jira/browse/GEODE-2154 > Project: Geode > Issue Type: Bug > Components: management >Reporter: Jinmei Liao > Attachments: Screen Shot 2016-12-01 at 4.10.39 PM.png > > > In a windows machine, start a server using the following gfsh command: > start server --name=server1 --start-rest-api > --J=-Dgemfire.http-service-port=8080 > --J=-Dgemfire.http-service-bind-address=localhost > Going to IE and hit the following url: > http://localhost:8080/geode/v1/servers > It will return a json string containing the the server address > but if you hit this url: > http://localhost:8080/geode/swagger-ui.html > it will return a 404. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (GEODE-2169) Subclasses of OperationContext should also be deprecated
[ https://issues.apache.org/jira/browse/GEODE-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling updated GEODE-2169: Component/s: management > Subclasses of OperationContext should also be deprecated > > > Key: GEODE-2169 > URL: https://issues.apache.org/jira/browse/GEODE-2169 > Project: Geode > Issue Type: Task > Components: core, management >Reporter: Kevin Duling > Fix For: 1.1.0 > > > Because org.apache.geode.cache.operations.OperationContext is deprecated, the > subclasses should also be. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (GEODE-2154) swagger-ui.html in IE on windows returns 404
[ https://issues.apache.org/jira/browse/GEODE-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling updated GEODE-2154: Attachment: Screen Shot 2016-12-01 at 4.10.39 PM.png > swagger-ui.html in IE on windows returns 404 > > > Key: GEODE-2154 > URL: https://issues.apache.org/jira/browse/GEODE-2154 > Project: Geode > Issue Type: Bug > Components: management >Reporter: Jinmei Liao > Attachments: Screen Shot 2016-12-01 at 4.10.39 PM.png > > > In a windows machine, start a server using the following gfsh command: > start server --name=server1 --start-rest-api > --J=-Dgemfire.http-service-port=8080 > --J=-Dgemfire.http-service-bind-address=localhost > Going to IE and hit the following url: > http://localhost:8080/geode/v1/servers > It will return a json string containing the the server address > but if you hit this url: > http://localhost:8080/geode/swagger-ui.html > it will return a 404. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (GEODE-2154) swagger-ui.html in IE on windows returns 404
[ https://issues.apache.org/jira/browse/GEODE-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15713495#comment-15713495 ] Kevin Duling commented on GEODE-2154: - I just tried this and was unable to duplicate. Is there something I'm doing differently than you? Please see attached screenshot. > swagger-ui.html in IE on windows returns 404 > > > Key: GEODE-2154 > URL: https://issues.apache.org/jira/browse/GEODE-2154 > Project: Geode > Issue Type: Bug > Components: management >Reporter: Jinmei Liao > > In a windows machine, start a server using the following gfsh command: > start server --name=server1 --start-rest-api > --J=-Dgemfire.http-service-port=8080 > --J=-Dgemfire.http-service-bind-address=localhost > Going to IE and hit the following url: > http://localhost:8080/geode/v1/servers > It will return a json string containing the the server address > but if you hit this url: > http://localhost:8080/geode/swagger-ui.html > it will return a 404. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (GEODE-2143) JSON deserialization fails if a String contains an apostrophe
[ https://issues.apache.org/jira/browse/GEODE-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling updated GEODE-2143: Description: Testing revealed this causes an issue when a String value contains a single apostrophe in it. For example: {{Customer customer = new Customer(1L, "Galen", "O'Sullivan", "555-11-");}} If you create a region and put in a value which is an instance of org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up when attempting to display the value: {code} gfsh>query --query="select * from /customers" Result : true startCount : 0 endCount : 20 Rows : 1 Value --- Error getting bean properties Expected a ',' or '}' at 86 [character 87 line 1] {code} It would be good to determine why this occurs to prevent the same error from arising with user-provided classes. The error occurs in was: Testing revealed this causes an issue when a String value contains a single apostrophe in it. For example: {{Customer customer = new Customer(1L, "Galen", "O'Sullivan", "555-11-");}} If you create a region and put in a value which is an instance of org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up when attempting to display the value: {code} gfsh>query --query="select * from /customers" Result : true startCount : 0 endCount : 20 Rows : 1 Value --- Error getting bean properties Expected a ',' or '}' at 86 [character 87 line 1] {code} It would be good to determine why this occurs to prevent the same error from arising with user-provided classes. > JSON deserialization fails if a String contains an apostrophe > - > > Key: GEODE-2143 > URL: https://issues.apache.org/jira/browse/GEODE-2143 > Project: Geode > Issue Type: Bug > Components: gfsh >Reporter: Jared Stewart >Assignee: Kevin Duling > > Testing revealed this causes an issue when a String value contains a single > apostrophe in it. For example: {{Customer customer = new Customer(1L, > "Galen", "O'Sullivan", "555-11-");}} > If you create a region and put in a value which is an instance of > org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up > when attempting to display the value: > {code} > gfsh>query --query="select * from /customers" > Result : true > startCount : 0 > endCount : 20 > Rows : 1 > Value > --- > Error getting bean properties Expected a ',' or '}' at 86 [character 87 line > 1] > {code} > It would be good to determine why this occurs to prevent the same error from > arising with user-provided classes. > The error occurs in -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (GEODE-2143) JSON deserialization fails if a String contains an apostrophe
[ https://issues.apache.org/jira/browse/GEODE-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling updated GEODE-2143: Summary: JSON deserialization fails if a String contains an apostrophe (was: JSON deserialization doesn't work for our sample Customer object) > JSON deserialization fails if a String contains an apostrophe > - > > Key: GEODE-2143 > URL: https://issues.apache.org/jira/browse/GEODE-2143 > Project: Geode > Issue Type: Bug > Components: gfsh >Reporter: Jared Stewart >Assignee: Kevin Duling > > Testing revealed this causes an issue when a String value contains a single > apostrophe in it. For example: {{Customer customer = new Customer(1L, > "Galen", "O'Sullivan", "555-11-");}} > If you create a region and put in a value which is an instance of > org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up > when attempting to display the value: > {code} > gfsh>query --query="select * from /customers" > Result : true > startCount : 0 > endCount : 20 > Rows : 1 > Value > --- > Error getting bean properties Expected a ',' or '}' at 86 [character 87 line > 1] > {code} > It would be good to determine why this occurs to prevent the same error from > arising with user-provided classes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (GEODE-2143) JSON deserialization doesn't work for our sample Customer object
[ https://issues.apache.org/jira/browse/GEODE-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Duling updated GEODE-2143: Description: Testing revealed this causes an issue when a String value contains a single apostrophe in it. For example: {{Customer customer = new Customer(1L, "Galen", "O'Sullivan", "555-11-");}} If you create a region and put in a value which is an instance of org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up when attempting to display the value: {code} gfsh>query --query="select * from /customers" Result : true startCount : 0 endCount : 20 Rows : 1 Value --- Error getting bean properties Expected a ',' or '}' at 86 [character 87 line 1] {code} It would be good to determine why this occurs to prevent the same error from arising with user-provided classes. was: If you create a region and put in a value which is an instance of org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up when attempting to display the value: {code} gfsh>query --query="select * from /customers" Result : true startCount : 0 endCount : 20 Rows : 1 Value --- Error getting bean properties Expected a ',' or '}' at 86 [character 87 line 1] {code} It would be good to determine why this occurs to prevent the same error from arising with user-provided classes. > JSON deserialization doesn't work for our sample Customer object > > > Key: GEODE-2143 > URL: https://issues.apache.org/jira/browse/GEODE-2143 > Project: Geode > Issue Type: Bug > Components: gfsh >Reporter: Jared Stewart >Assignee: Kevin Duling > > Testing revealed this causes an issue when a String value contains a single > apostrophe in it. For example: {{Customer customer = new Customer(1L, > "Galen", "O'Sullivan", "555-11-");}} > If you create a region and put in a value which is an instance of > org.apache.geode.rest.internal.web.controllers.Customer, then gfsh blows up > when attempting to display the value: > {code} > gfsh>query --query="select * from /customers" > Result : true > startCount : 0 > endCount : 20 > Rows : 1 > Value > --- > Error getting bean properties Expected a ',' or '}' at 86 [character 87 line > 1] > {code} > It would be good to determine why this occurs to prevent the same error from > arising with user-provided classes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (GEODE-2131) PostProcessors should have access to roles
Kevin Duling created GEODE-2131: --- Summary: PostProcessors should have access to roles Key: GEODE-2131 URL: https://issues.apache.org/jira/browse/GEODE-2131 Project: Geode Issue Type: Improvement Components: security Reporter: Kevin Duling When implementing the RedactingPostProcessor, I realized that it was not possible to acquire the role of the user executing the commands. Because of this, the test had to be written to check the username, rather than the rights of the user. -- This message was sent by Atlassian JIRA (v6.3.4#6332)