geosolutions-it / ogc-testbed

Management repository for OGC testbed and other initiatives
0 stars 0 forks source link

QoS Module code review #40

Closed fernandor777 closed 5 years ago

fernandor777 commented 5 years ago

QoS Module adds a section on WMS and WFS Admin pages, with metadata configuration.

Also creates rest endpoints at global level and workspace for both WMS and WFS:

QoS metadata can be configured at workspace level too.

QoS Module is located on community directory (name: qos)

Branch:

https://github.com/fernandor777/geoserver/tree/qos-getcap

aaime commented 5 years ago

Notes:

selezione_352

selezione_353

Had some difficulties with other bits of the UI as well, but nothing major.

I've also build the module dependencies and then the module itself, got two test failures (again, not a problem for a community module, tests are disabled anyways, it just needs to compile):

Failed tests:   
testQosDisabled(org.geoserver.qos.web.QosWfsPanelTest): expected:<false> but was:<true>
testQosDisabled(org.geoserver.qos.web.QosWmsPanelTest): expected:<false> but was:<true>
simboss commented 5 years ago

@aaime we put together the GUI together I asked him to avoid having multiple popups which was the direction he was taking. I agree the blocks are a little too much, we might want to revisit in the future.

@fernandor777 fix all the other things, especially the tests.

fernandor777 commented 5 years ago

Thanks for your review.

About Start and End time inputs, they require full time format+timezone as 21:00:00+03:00 to pass validation. Should I add a simple time converter from 12:00 to 12:00:00+00:00 formats since timezone is required?

aaime commented 5 years ago

In absence of documentation yes, an example is good. Also the error message should mention that the format is wrong, not state that the info is missing.