Re: [Geoserver-devel] build.geoserver geoserver-main-app-schema-online job maintenance / discussion.

2024-07-09 Thread Niels Charlier via Geoserver-devel
Seems you are missing the postgis extension, but I have no idea why that 
is in the script, that is strange indeed.


On 09/07/2024 08:28, Jody Garnett wrote:

Niels,

How do you run the app-schema tests?

 1. I create a ~/.geoserver/postgis.properties with connection
parameters including a database name
 2. And then run with:
mvn clean install -Papp-schema-online-test


When I run I get errors such as:

[ERROR] 
testNoPrimaryKey(org.geoserver.test.onlineTest.WfsOnlinePostgisTest) 
 Time elapsed: 0.294 s  <<< ERROR!

org.postgresql.util.PSQLException:
ERROR: function public.ndims(public.geometry) does not exist
  Hint: No function matches the given name and argument types. You 
might need to add explicit type casts.

  Position: 355

Looking at the build server job configuration I am shocked to see this 
is defined as part of the script:



#missing functions required for refdataset sql but removed in
postgis 2.1
export PGPASSWORD=''
psql -h localhost -p 5432 -U geotools -d geotoolstest -c 'create
or replace function public.ndims(g geometry) returns smallint as
$$ begin return public.st_ndims(g); end; $$ language plpgsql
immutable strict;'
psql -h localhost -p 5432 -U geotools -d geotoolstest -c 'create
or replace function public.srid(g geometry) returns integer as $$
begin return public.st_srid(g); end; $$ language plpgsql immutable
strict;'


Surely that cannot be right?
Is defining ndims part of the app schema installation instructions? No...

I How do you run the tests locally...
--
Jody Garnett


On Jul 8, 2024 at 5:29:42 AM, Niels Charlier  wrote:


Hello Jody

I have always run those tests locally whenever making changes that 
affect app-schema, not sure about Jenkins issues.


Kind Regards

Niels

On 06/07/2024 00:43, Jody Garnett wrote:
I have a PR 
<https://dficcfc.r.af.d.sendibt2.com/tr/cl/QnmEf4CiLzefQ8tvswpygu_mKOoVQYE_ymKm8YxI8KlC5Oky3xgemTOMFlheDxw7yfA0Ckx8oGqw94a_hRDOlVGXZewXdciN7xvD7M_rEd1R1rtu2mMm59pwZkkH2ZiMCWaeHCpmMWjPZd9E9F6M7TJtVQYL6Juaazw0CeqmAs90WSKZg5UI6sm8-3kOEC137-01Uu5tc2aY7FtDR-RwG1pkloVK2u99LweEcTF6j2KySuBjL90_-4IjweVKflwwU6cfARFQDGeH5iSioGKRuHZ7ZlMdX-73ykakFUTCQcrnS-EW> 
that looks at some gaps in the GeoTools feature model around 
validation... and Niels made the perfectly sensible recommendation 
to run the app-schema online tests...


 1. Checking build.geoserver.org

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/XzwiyRYFMgufdjTffCOZKuLas1HzYo0A3G72jOEFBlOrZhk15PUdzFckDA1jFwcllUEiVQf6DKw68XxItKGLGa_2j5AP4TDPcUVDSLIaM6ZZkc1fnToljiZcp6hoYtejFQ9NY3IFWDnwTnMoyGKjIND376ahzpSRmwOuyi-qg9HKc_mfbNkdj2ZiWqCxPnIqI3RM8HSIx-C2D5RqmkXtDuQ-f-Ihutyv_OxLvVyT-j0MrOkLGFf2fr-6nKMioMiX750R24zo5Vw>
the geoserver-main-app-schema-online

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/Ds5yMP0W1nLQwCo3m3ZabKQg8Jh23U86KCnuN506HyWCU_4ODqDvVJrIJzYbBRDZwAuXUBwR71PGYTp23w6jz_JmJtiPcq0MQTZygJYByi5KCStdM_mNHPWewpnAKJmLclqereIIZ0vgfvcNEtpqj82LW2kzfLFIpFvLJSVpK3L8sKE6Kq9c2I80ouevPJIq7lfJfNVHLgfK9fgV766Z2zy1Ky67C9bcm__h3JLGg8QycLVrCSz9SHnqqmb7T3Xh0n3NLvQjE3kM-iKcCDi8clbWOmRL7HOz2o-uC2ugxZml7bxBSUnbVUPUnUJjRQFX_fjZEPrpBXq4DznMFs1KD7p71tgFScz9>
is disabled
 2. Looking at the configuration it was java 8 based, so this has
been disabled for some time
 3. The setup has a lot of messing around to get the ojdbc7.jar to
talk to oracle-db.dev.boundlessgeo.com

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/unOkFWXeyJmZIY8qRTRfEOWS7MGyOk4vkdzoJyUiwkcH9yRsDojjPS_a77MX248fX9iZJGLRLX_qf5Rhme4iUNeTWwPvePI2TTI46ny9WtEcprgjPVkdaKgW5yZV8sbuW4InphYTDd0l1E7xMMxaUvthsp69SyJB2DiWJ4IJiYU7u2Kgb2xPk_qYdiLx57HZKfzX2_SwJtpS5nD-ZmeJm7F5DF2VZKTj6qgTUd6HnHQnvGM9X1JvFm60YhkBoEIJfXLt7P-eHDHbvODtvxVsyQK_lQ>
... so quite a long time.


Do we have an active module maintainer (or experienced developer) 
for application schema?


Trying it out:

  * I do not think the steps to copy ojdbc7.jar are required any
more (since such a jar is now available via maven dependency)
  * Changing to Java 11 and commenting out the oracle.properties
test fixed and running the job shows

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/LfbWvC9tnFQ2Kw5ymOBeMXXeT8KmZn9PWK0NdXq52y5AYgfeX8mz06QT5ntFE-CKVt-ayEtPArTWSd2tixGSIEsOCw19g25HJNXHOpr7XEwluNq1_BUiIrzgr0flipi2EIBE8KbuuRpPJXKaGRA2Lc0Nq-UGcqd0p5tdbGWmOc5AA4-VnX7OxNt0O9ruU8yWc999jWsXXc3VeywtedDPUsdFmae6wzsRP-4lxATCFNfq7_TZn2NA9YJxiX_sa-razs2GEF-J8k9jk_XwnjqgwFLRgTL0v7uOSSiOdKI3ZO1kYTVxFfvfGfeD35FNb9SHic25FOFs2A6n63ff920JMw9Ed0YNZZmfuzP9lex9>
...


/[INFO] Application Schema Support .
SUCCESS [  4.694 s]/
/[INFO] Application Schema Module ..
SUCCESS [  9.101 s]/
/[INFO] Application Schema Integration Test 
FAILURE [01:28 min]/
/[INFO] Sample DataAccess Integration Test .
SUCCESS [  4.919 s]/
/[INFO] Application Schema Integration Online Test w

Re: [Geoserver-devel] build.geoserver geoserver-main-app-schema-online job maintenance / discussion.

2024-07-08 Thread Niels Charlier via Geoserver-devel

Hello Jody

I have always run those tests locally whenever making changes that 
affect app-schema, not sure about Jenkins issues.


Kind Regards

Niels

On 06/07/2024 00:43, Jody Garnett wrote:
I have a PR  that 
looks at some gaps in the GeoTools feature model around validation... 
and Niels made the perfectly sensible recommendation to run the 
app-schema online tests...


 1. Checking build.geoserver.org   the
geoserver-main-app-schema-online


is disabled
 2. Looking at the configuration it was java 8 based, so this has been
disabled for some time
 3. The setup has a lot of messing around to get the ojdbc7.jar to
talk to oracle-db.dev.boundlessgeo.com
 ... so quite a long time.


Do we have an active module maintainer (or experienced developer) for 
application schema?


Trying it out:

  * I do not think the steps to copy ojdbc7.jar are required any more
(since such a jar is now available via maven dependency)
  * Changing to Java 11 and commenting out the oracle.properties test
fixed and running the job shows


...


/[INFO] Application Schema Support .
SUCCESS [  4.694 s]/
/[INFO] Application Schema Module ..
SUCCESS [  9.101 s]/
/[INFO] Application Schema Integration Test 
FAILURE [01:28 min]/
/[INFO] Sample DataAccess Integration Test .
SUCCESS [  4.919 s]/
/[INFO] Application Schema Integration Online Test with Postgis
Database SUCCESS [01:14 min]/
/[INFO] Application Schema Solr Integration Test ...
SUCCESS [  2.659 s]/
/[INFO] Application Schema Indexes Integration Test 
SUCCESS [  1.319 s]/
/[INFO] Application Schema Geopackage Integration Test .
FAILURE [ 11.730 s]/

*
*
So what do you think? Does this test have value? For now I will enable 
it but not schedule it @daily (in case anyone else wants to look).


Thanks
--
Jody Garnett


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Hibernate version

2024-02-19 Thread Niels Charlier via Geoserver-devel
Hello,Currently, the managed version of Hibernate is 3.6.9. This version is rather ancient, from 2011.  It is used by one extension: geofence-server; and one community module: monitor-hibernate.Taskmanager, a community module that I maintain, uses a more recent version of hibernate: 5.3.20. This does not pose any issues in building and deploying as long as you do not combine it with either one of the two other modules. However, the plugin ZIP file is broken and this cannot be fixed because the 'release' module must choose one version for everything.  (This was reported by a user on jira: https://osgeo-org.atlassian.net/browse/GEOS-10690)Are there any plans to upgrade the hibernate version of the other modules? I don't think it even involves even any considerable coding work, although it may generate a lot of 'deprecated' warnings.  I noticed there has been talk about removing 'monitor-hibernate' altogether. Since the community dir has its own release module, I suppose it would be technically possible to change the version only there, but perhaps rather confusing.Kind RegardsNuiels

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Upcoming 2.25-RC Release candidate planning

2024-02-19 Thread Niels Charlier via Geoserver-devel

Hi Gabe,

I added more information in the pull request.

Kind Regards

Niels

On 16/02/2024 15:36, Gabriel Roldan wrote:

Hi,

I do want to get involved in the ResourceStore API discussion.

Unfortunately, I'll be on vacation next week, so if you don't mind I 
propose we leave it off from this release.


Meanwhile, I'd like to ask Niels to update the PR description with a 
(rather succinct) description of the issue and breakdown of the 
approach. That helps a lot in reviewing, and going through the very 
long discussion on the email list is draining.


TIA,
Gabe
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer*
*



On Fri, Feb 16, 2024 at 4:59 AM Jody Garnett  
wrote:


We are a couple weeks a way from the 2.25-RC and I am aware of a
number of outstanding pull-requests that are wishing review.

  * [GEOS-11284] Promote community module "datadir catalog loader"
to core 
  o Andrea is presently reviewing
  * [GEOS-11050] Refactor Resources and Paths API to support
alternative 
  o Jody (and possibly Gabe) to review
  * If there is anything else please speak up!


NOTICE: As per last meeting I volunteered to do this release,
checking my work calendar I may be doing this a few days early
(Feb 28-29).
--
Jody Garnett
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Upcoming 2.25-RC Release candidate planning

2024-02-17 Thread Niels Charlier via Geoserver-devel

Hello Jody,

Just to be clear, in my pull request I did take account of our 
discussion and your concerns, we had arrived at a vague outline for a 
compromise that I tried to respect as much as possible, filling in the gaps.


I will provide more information soon.

Kind Regards

Niels

On 16/02/2024 20:49, Jody Garnett wrote:
Thanks Gabe for being clear - we are operating with reduced resources 
these days and I need to ask for help where it can be effective.


Niels I have set aside time next week to fix the bug getting in your 
way (for sure); and go over the javadocs API changes to see if we can 
work out a compromise.

--
Jody Garnett


On Feb 16, 2024 at 6:49:35 AM, Niels Charlier via Geoserver-devel 
 wrote:


Hello Gabe,

Okay, I will do that.

I wish I had done it earlier actually, because it would have helped 
me remember the details which are already fading :)


Regards

Niels

On 16/02/2024 15:36, Gabriel Roldan wrote:

Hi,

I do want to get involved in the ResourceStore API discussion.

Unfortunately, I'll be on vacation next week, so if you don't mind I 
propose we leave it off from this release.


Meanwhile, I'd like to ask Niels to update the PR description with a 
(rather succinct) description of the issue and breakdown of the 
approach. That helps a lot in reviewing, and going through the very 
long discussion on the email list is draining.


TIA,
Gabe
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer*
*



On Fri, Feb 16, 2024 at 4:59 AM Jody Garnett 
 wrote:


We are a couple weeks a way from the 2.25-RC and I am aware of a
number of outstanding pull-requests that are wishing review.

  * [GEOS-11284] Promote community module "datadir catalog
loader" to core

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/uy2GjYiTnyfYzry_ryOcCtUfK1cFmz7nQcOz5pB4znyVuRZ8gKnn6WAccArwEtvngkFKPhDWQd9igi0SIm3Jo3_haZoSTyJHPrUUePjeAQIrHKF7F74Ghj63wnkddVLgvsXVS2uJKDfJgrNKPcje3HtClqHEuqR7vLIYEt28MF1r1NQPXn-YmBcKIY5CcOu9hB6n3zI_BaVcx3slejOQNhwypnOj5UmbLNFc2JaDR0yJiFvMbNTl7gnn1Vo_WU3993Q3G-Tjk8HP6G5ePQ76OI6kzJU_j9wqAtZ_yVwriyDMVj4gr_RYLHw6_xCTkQVmuDosYEY>
  o Andrea is presently reviewing
  * [GEOS-11050] Refactor Resources and Paths API to support
alternative

<https://dficcfc.r.af.d.sendibt2.com/tr/cl/li4NVJ7rI9pcvsHNOrTXSL4ky3IZENeOhT2vNHM8QeuzVPgGHzRCiudEL4DZyHs1Pn_9uk1D8RwumUGFgPaBufAnTkOEoHl9RQoQm-k1Uh4FgV9-llvZXa0KPVF3PH4MP7JuXUKfSvSlMZt0CsIAVKEaz74GXQo3bzdlHVOwb7tnaAhRstmYlEkay-tU-qjRx2W_-8M6rTYZh85EPiRdvZLASpXNmw6FKC6KeB8P4Zlo9n7-bwpE2Bk7M7SA8hcny5sTe7eZnwJIJsM70pcU3VY0C8FdOT3rwRxFC6kEXN7BsN6Bw5438jw_DOorn7Ol_lKdG9Y>
  o Jody (and possibly Gabe) to review
  * If there is anything else please speak up!


NOTICE: As per last meeting I volunteered to do this release,
checking my work calendar I may be doing this a few days early
(Feb 28-29).
--
Jody Garnett
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Upcoming 2.25-RC Release candidate planning

2024-02-16 Thread Niels Charlier via Geoserver-devel

Hello Gabe,

Okay, I will do that.

I wish I had done it earlier actually, because it would have helped me 
remember the details which are already fading :)


Regards

Niels

On 16/02/2024 15:36, Gabriel Roldan wrote:

Hi,

I do want to get involved in the ResourceStore API discussion.

Unfortunately, I'll be on vacation next week, so if you don't mind I 
propose we leave it off from this release.


Meanwhile, I'd like to ask Niels to update the PR description with a 
(rather succinct) description of the issue and breakdown of the 
approach. That helps a lot in reviewing, and going through the very 
long discussion on the email list is draining.


TIA,
Gabe
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer*
*



On Fri, Feb 16, 2024 at 4:59 AM Jody Garnett  
wrote:


We are a couple weeks a way from the 2.25-RC and I am aware of a
number of outstanding pull-requests that are wishing review.

  * [GEOS-11284] Promote community module "datadir catalog loader"
to core 
  o Andrea is presently reviewing
  * [GEOS-11050] Refactor Resources and Paths API to support
alternative 
  o Jody (and possibly Gabe) to review
  * If there is anything else please speak up!


NOTICE: As per last meeting I volunteered to do this release,
checking my work calendar I may be doing this a few days early
(Feb 28-29).
--
Jody Garnett
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Random failure in gs-metadata keeps on breaking builds...

2023-12-01 Thread Niels Charlier via Geoserver-devel

Hello Andrea,

You are right on both accounts; that stacktrace should not pollute the 
output.


The other error indeed... shouldn't happen. The spring test runner does 
not change the behavior of the order of before calls. I cannot find any 
information on this happening to other people, and the code of that that 
runner class suggests it should be the same. I am quite perplexed. I am 
looking for a work-around that should prevent this from ever happening.


Pull request is on its way.

Regards

Niels

On 27/11/2023 19:16, Andrea Aime wrote:

Hi all,
I was checking a random failure in gs-metadata module, that is 
breaking the builds on Github and the build server (there are others, 
this one is popping up frequently though).


The logs are ridden with 300+ instances of errors similar to this one:

Nov 27, 2023 6:22:16 PM 
org.geoserver.metadata.data.service.impl.ConfigurationServiceImpl 
readConfiguration
SEVERE: Cannot construct instance of 
`org.geoserver.metadata.data.dto.impl.MetadataConfigurationImpl` 
(although at least one Creator exists): no String-argument 
constructor/factory method to deserialize from String value 
('klopt-niets-van')
 at [Source: 
(org.geoserver.platform.resource.FileSystemResourceStore$FileSystemResource$1); 
line: 1, column: 1]
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot 
construct instance of 
`org.geoserver.metadata.data.dto.impl.MetadataConfigurationImpl` 
(although at least one Creator exists): no String-argument 
constructor/factory method to deserialize from String value 
('klopt-niets-van')
 at [Source: 
(org.geoserver.platform.resource.FileSystemResourceStore$FileSystemResource$1); 
line: 1, column: 1]
at 
com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63)
at 
com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1739)
at 
com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1364)
at 
com.fasterxml.jackson.databind.deser.std.StdDeserializer._deserializeFromString(StdDeserializer.java:311)
at 
com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1504)
at 
com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:197)
at 
com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)
at 
com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
at 
com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4825)
at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3809)
at 
org.geoserver.metadata.data.service.impl.ConfigurationServiceImpl.readConfiguration(ConfigurationServiceImpl.java:195)


A few things:

  * The exception is per se legit, one cannot load
a MetadataConfigurationImpl from a YAML file that contains only
the string 'klopt-niets-van')
  * The code is just logging the error... but making a lot of noise
about it, especially at the current SEVERE logging level. More so
considering that the code is blindly looping over files in a
directory and trying to deserialize 3 different types of clases in
turn, try the next if one fails

.
This needs to be fixed, we cannot have tests logging so loudly for
nothing (nor we should have runtime code doing so).
  * For all the noise it's making, it's not the actual cause of the
failure.

Niels could you please remove this wall of text from our build execution?

Now, going to the actual failure, it's just one:

[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time 
elapsed: 4.447 s <<< FAILURE! - in 
org.geoserver.metadata.web.TemplatePageTest [ERROR] 
testPageNewSave(org.geoserver.metadata.web.TemplatePageTest) Time 
elapsed: 0.043 s <<< ERROR! java.lang.NullPointerException

at 
org.geoserver.metadata.web.TemplatePageTest.before(TemplatePageTest.java:37)
At line 37 the only NPE I see happening 
, is having the tester field being null.
That should not be happening, because JUnit ensures that the @before 
methods of a parent class are run before the ones of the children, and 
we have this 
.


However... the tests are not using vanilla JUnit, but Spring own test 
runner 
, 
which runs the tests in a different way 


Re: [Geoserver-devel] reviews pull requests metadata and csw

2023-10-08 Thread Niels Charlier via Geoserver-devel

It is not that urgent, it can be backported.

Kind Regards

Niels

On 05/10/2023 17:49, Jody Garnett wrote:

Niels,

Are these changes intended for the 2.24 release? I do not personally 
use this extension but I can review if this is a change you are trying 
to get in as part of RC feedback.

--
Jody Garnett


On Oct 5, 2023 at 5:51:26 AM, Niels Charlier via Geoserver-devel 
 wrote:

Hello,

I have two pull requests for metadata and csw extensions:

https://github.com/geoserver/geoserver/pull/7072

https://github.com/geoserver/geoserver/pull/7073

Is anyone able/willing to review them?

@Andrea, you have already commented on both of them, and I addressed
your remarks. I absolutely do not wish to sound demanding or impatient,
but could you clarify if you will still approve them or if I should find
another reviewer? Either way I am grateful for any help.

Kind Regards

Niels

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] reviews pull requests metadata and csw

2023-10-05 Thread Niels Charlier via Geoserver-devel
Hello,I have two pull requests for metadata and csw extensions:https://github.com/geoserver/geoserver/pull/7072https://github.com/geoserver/geoserver/pull/7073Is anyone able/willing to review them?@Andrea, you have already commented on both of them, and I addressed your remarks. I absolutely do not wish to sound demanding or impatient, but could you clarify if you will still approve them or if I should find another reviewer? Either way I am grateful for any help.Kind RegardsNiels

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] Paths utility class

2023-09-13 Thread Niels Charlier via Geoserver-devel

Hello Jody,

We have a very different way of looking at things, but what matters most 
is to find a solution moving forward even if we cannot convince each 
other. So let's try to focus on what we each find most important and try 
to find a compromise that respects both sides.


The resource store is an abstract entity that is part of geoserver that 
makes no assumption on file system or OS, the syntax is the same 
regardless of OS, so to me resource paths are not file paths and vice 
versa, they live in separate worlds. What is most important to me here 
is that resource paths are OS independent.


As far as point (3) concerns, the javadoc at the moment is confused and 
confusing so that needs to be resolved one way or another. It starts 
with talking about resource paths, but then suddenly it starts talking 
about differences between operating systems. Resource paths should 
remain to be OS independent, so we need to be clear about this. My 
preference would be that resource paths and OS-dependent file paths are 
clearly separated from each other, and therefore these methods should 
not be part of the same utility class, but the bare minimum for me would 
be that the javadoc is at least clear about the distinction.


As far as point (1) concerns. The user has already been able to use 
"resource:" paths for many years, but it is in no way obligated to so 
so,  their experience will indeed not change at all. (Admittedly, the 
only application I could find though are image references in SLD files. 
) The javadoc from Resources.fromURL specifies: "File URL - will support 
relative file references - this is deprecated, use resource: instead". 
This was the original idea and the reasoning is 1) to make the 
distinction between OS dependent file paths and OS independent resource 
paths; 2) relative file paths violate the URL standard. So from my 
perspective, this would be the logical way forward but since we cannot 
agree on this I would suggest to not provide any warning and continue to 
allow both. On the same token, I do not consider resource paths with a 
leading slash to be 'relative', in fact to me they are absolute and make 
perfect sense and as long as they are part of a resource: URL or used 
directly with the resource store they cannot be misinterpreted, so I 
would prefer not to generate a warning for them.


So the way forward I suggest would be to have no warnings and make sure 
that the API functionality itself cannot be misinterpreted or misused, 
whichever way you want to look at it.


Concerning (4), there is indeed a page about the resources API. But for 
new developers, this could be interpreted as an API that is free to use 
or ignore. I mean to write some documentation with guidelines that all 
developers should know to keep geoserver generic with respect to usage 
of the data directory.


Kind Regards

Niels




On 13/09/2023 16:34, Jody Garnett wrote:
You are arriving with this right as we try and find volunteers to make 
the RC :)


Please make a PR immediately and we can try and get it in.

I am unclear about (1) - Can I confirm that users would not see 
resource: URLs, only developers? I do not think relative paths should 
produce a warning as they are the vast majority of cases - and the 
point of what we are trying to do?


The end user experience is what matters here and should not change. It 
is slightly better if the rest api changes as (I think it could 
produce warnings if absolute path is sent and ignored  - indeed it may 
already).


I strongly agree with (2). It can provide a warning for the leading 
slash please, and correct it.   The point is a path string should be 
consistent everywhere in the codebase.


I do not agree with (3) the point is to break resource stor me paths 
so that we have consistency in our code base internals.


(4) the page exists and can be clarified.

Niels I am not understanding why you wish paths to be different? Each 
opportunity to convert between paths produced problems in our codebase 
that we are seeking to resolve by being strict? What am I missing …


On Wed, Sep 13, 2023 at 5:30 AM Niels Charlier  wrote:

Hello Jody and Gabriel,

Sorry for my late response. I have a suggestion to resolve the
issue, please let me know what you think,

My suggestion is that I would make a pull request with the
following proposed changes, and you would review it.

1. The methods Resources.fromPath as well as Resources.fromURL
with a "file:" URL follow your guidelines: relative paths are
interpreted as resource store paths, absolute paths are
interpreted as file system paths. However, I suggest that a
relative "file:" URL produces a warning message that says that
relative "file:" URLs are deprecated and that one should use a
"resource:" URL instead.

2. The resource store implementation is separate from the two
methods as specifi

Re: [Geoserver-devel] Paths utility class

2023-09-13 Thread Niels Charlier via Geoserver-devel

Hello Jody and Gabriel,

Sorry for my late response. I have a suggestion to resolve the issue, 
please let me know what you think,


My suggestion is that I would make a pull request with the following 
proposed changes, and you would review it.


1. The methods Resources.fromPath as well as Resources.fromURL with a 
"file:" URL follow your guidelines: relative paths are interpreted as 
resource store paths, absolute paths are interpreted as file system 
paths. However, I suggest that a relative "file:" URL produces a warning 
message that says that relative "file:" URLs are deprecated and that one 
should use a "resource:" URL instead.


2. The resource store implementation is separate from the two methods as 
specified above, and only provides access to files that are either in 
the data directory (file system resource store) or part of an external 
emulation of a file/folder hierarchy (such as jdbc database for the jdbc 
resource store). It has its own "root", and therefore the 
ResourceStore.get(...) method returns the same result with or without 
leading slash. A unit tests should check that the store does not provide 
any access to absolute paths on the file system. Javadoc should explain 
that Resources.fromPath or Resources.fromURL should be used for access 
to paths and URLs in general, and that direct usage of the resource 
store is only for access to configuration files and directories with a 
hard coded location (relative to the 'data directory').


3. The Paths class javadoc is fixed or the class is refactored so that 
there is a clear distinction between resource store paths and file paths.


4. A page is added to the developer guide that specifies the above 
guidelines as well as general guidelines on how geoserver developers 
should deal with resources, URLs, files, etc. so that the generic nature 
of the resource store API is preserved in the future.


I look forward to your feedback.

Kind Regards

Niels

On 18/08/2023 17:35, Jody Garnett wrote:

Niels:

I checked if we were having a work party today, and put a little time 
into the activity.


And I finally have a useful answer for you: Why did Resource absolute 
path change from being relative to the data directory?


The answer is ... the concept of a Path was used all over our 
codebase, with different conversions happening, especially around 
absolute paths. This caused problems with a Java 11 change for windows 
which revealed how many different conventions we had in the codebase.


So something had to change - paths was made consistent - so if you 
stopped with in a debugger, at any point, and saw a "path" you could 
have confidence in what it means.


To that end a relative path (anywhere in the codebase) is now relative 
to the data directory location.


There is a little bit of code in the REST Resource API that is 
forgiving for external scripts that use an absolute path. But it is 
changed to be consistent (ie relative path) as soon as possible.


If you find any other special cases we can make note of them.
--
Jody Garnett
--
--
Jody Garnett___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11101) metadata: multiple tabs

2023-08-13 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 ) / New Feature ( 
https://osgeo-org.atlassian.net/browse/GEOS-11101?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 ) GEOS-11101 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11101?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 ) metadata: multiple tabs ( 
https://osgeo-org.atlassian.net/browse/GEOS-11101?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 )

Issue Type: New Feature Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 14/Aug/23 7:55 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Sometimes there are a lot of custom metadata fields, we’d like to split them in 
multiple tabs to navigate.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11101#add-comment?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11101#add-comment?atlOrigin=eyJpIjoiY2QwMjA0NTE2MmRmNDI2NGIzZGM4MDI1M2JkZTYyYWYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100234- 
sha1:39b0f46 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11096) csw: support multiple mappings

2023-08-06 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 ) / New Feature ( 
https://osgeo-org.atlassian.net/browse/GEOS-11096?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 ) GEOS-11096 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11096?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 ) csw: support multiple mappings ( 
https://osgeo-org.atlassian.net/browse/GEOS-11096?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 )

Issue Type: New Feature Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: CSW Created: 07/Aug/23 8:57 AM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

We want to support multiple mappings files for the same type/scheme (such as 
iso metadata)

One layer would then create multiple records, one for each mapping.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11096#add-comment?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11096#add-comment?atlOrigin=eyJpIjoiZThjOTYwNDJkZjkzNDlmZDg3MTU3ODdiM2EwYjkzOTkiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- 
sha1:06f5c37 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] ResourceStore API workparty

2023-08-04 Thread Niels Charlier via Geoserver-devel

Jody,

My apologies if I sound or have sounded agitated in this discussion. I 
do hope we find a solution.


Thanks for the analysis I believe we are now working on the same 
problem: clarifying api design
Yes, I share your goal but we don't seem to find a way to agree? I have 
done a proposal for a possible compromise, but afterwards I found 
another problem (the Paths class). If you read the entire javadoc at the 
top, you must agree something doesn't make sense there.


org.geosever.platform.resource.Files and 
org.geoserver.platform.resource.Paths are not strictly a ResourceStore 
utility class. These classes helped the GeoServer codebase adjust to 
having ResourceStore be such a strict API.


org.geoserver.platform.resource.Files is indeed about handling Files. 
That would have been the right place to put OS & file system related 
stuff. Not Paths, the original javadoc (everything apart from the 
sentence you added) clearly states that this is resourcestore path 
utility class, and that relative paths are not supported (by the 
resource store that is).


Your sentence about operating systems and absolute paths on the file 
system seems entirely out of place there.


Files and Paths utility classes work with absolute paths (because our 
code base does).
ResourceStore does not, and I believe we should take steps to remove 
the test case that assumes it is willing to.


I agree about removing the test case, but I feel you are still missing 
the point.


Relative/absolute have different meaning when you are talking about 
resource store versus file system, because they have a different root. 
As said, the resource store in fact *only* supports absolute paths, 
absolute for its own root that is. Windows paths have nothing to do with 
it. The resource store API should be considered as entirely separate 
from the file system, that is just one implementation.


Perhaps the confusion is over the "path" that is used to retrieve 
resources from the resource store versus the "path" that the file system 
resource store specifically uses to access the files behind the resources.


And take steps to provide a warning if an linux absolute path is used 
(and the ResourceStore will assume that such a path is intended to be 
relative to the data directory). I have found several cases where such 
paths were used (notably in the rest Resource Controller) which have 
been addressed.


But how so? The resource controller is for the resource store, it should 
not have access to the file system? That would be a security issue too.


I think what probably should have happened, is that was made sure the 
file system resource store specifically never uses absolute files, only 
files relative to the data directory (but again, just one implementation).


Warning instead of an exception is perhaps a good idea. But which 
classes / methods do you suggest would provide this warning?


Kind Regards

Niels






___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] ResourceStore API workparty

2023-08-03 Thread Niels Charlier via Geoserver-devel

Jody,

Note that the current javadoc oforg.geoserver.platform.resource.Files is 
highly problematic.


From the original javadoc we get:

"Utility class for handling Resource paths in a consistent fashion.

This utility class is primarily aimed at implementations of 
ResourceStore "


This utility class was indeed intended for resource paths and the 
resource store, not file paths and the file system.


"The base location is represented with "",  * relative paths are not 
supported.



The sentence 'relative paths are not supported' was meant with respect 
to the resource store. The meaning here is that all paths in the 
resource store are absolute, with respect to the _REsource Store root_, 
not the file system root!



And then comes the new sentence:


" Absolute paths are supported, with Linux systems using a leading 
{@code /}, and windows using* {@code L:}."


This sentence contradicts everything before it. If this is a 
resourcestore utility class,


why are we suddenly talking about absolute paths in the operating 
system? The resource store has nothing to do with this.


There never should have been anything inside this class

testing on operating system. There should never have been the method 
called "isAbsolute". This should have been put inside another class that 
is used for file paths.


This will incredibly confuse new developers. They will not at all 
understand the purpose of the


resource store as an abstraction that should not be assumed to be part 
of the file system.


Instead of clarifying things for developers, make sure they understand 
how to use it and not abuse


it, it seems we are giving up on its intended purpose completely and 
just making the confusion


worse by writing nonsensical javadoc about it. Unless this is rolled 
back, we may as well


delete the 'jdbcstore' module and give up entirely on the resource API.

If that is the chose direction, fine, it is not up to me, but then be 
clear about it.


Kind Regards

Niels




On 03/08/2023 08:46, Niels Charlier via Geoserver-devel wrote:


Jody,

Perhaps I can offer a suggestion that may be considered a reasonable 
compromise.


The "resource:" URLs are not used because they were never documented 
in user docs. (The javadoc however clearly states that it always was 
the intention to be used for access to the 'data directory' via URLs.) 
I can see that one of the issues you have been working to resolve is 
the usage of URLs without a prefix, which are just naked paths and 
where there is ambiguity in interpretation.


The resourcestore is low level API only accessible to developers, not 
users. Users will always access it via some layer in between, like 
rest or something that calls Resources.fromURL. When a developer call 
resourcestore.get he knows he is not necessarily using the file 
system, and the paths should not be considered file system paths. With 
Resources.fromURL this is not so clear.


My suggestion is that we bring back / leave the resource store API to 
how it was, being lenient on the leading slash because there is no 
possible confusion there, and it avoids a huge amount of work. We may 
however agree (and document this) that the Resources.fromURL, as well 
as REST or other services accessible to users use the following 
guidelines (and we document this for both developers as well as users):


- file: URLS will use the file system
- resource: URLs will use the resource store
- naked path without URL prefix: absolute paths are interpreted as 
file: URLs, relative paths are interpreted as resource: URLs.


This way the issue is addressed at the level where it actually occurs, 
and OS/filesystem stuff does not creep into the resource store API.


Kind Regards

Niels

On 03/08/2023 01:49, Jody Garnett wrote:

Niels:

Comments inline
--
Jody Garnett


On Aug 2, 2023 at 12:20:43 PM, Niels Charlier  wrote:


Hi Jody,

I do support checking everything is handled correctly.



Thanks Niels, sorry I am a bit frustrated these days so am probably 
not explaining clearly.


I just don't seem the point in breaking huge amounts of code for 
nothing. And that is what will happen if we start throwing 
exceptions in the resource store if the path starts with a "/". 
Which is actually normal, because the resource store has a root.



ResourceStore no longer uses `/` as a root.
The work done earlier this year removed the use leading |/|  from the 
codebase (including the REST API Controller).


Please: define "absolute path". Is this OS dependent? Should the 
behaviour of the resource store be OS dependent? What /exactly/


I put the definitions into the document I shared and the javadocs 
(not sure why I cannot find the javadocs online?).


When I say "path" I mean the strings used by the class 
Paths.isAbsolute(String)


  * 
https://github.com/geoserver/geoserver/blob/main/src/platform/src/ma

Re: [Geoserver-devel] ResourceStore API workparty

2023-08-02 Thread Niels Charlier via Geoserver-devel

Jody,

Perhaps I can offer a suggestion that may be considered a reasonable 
compromise.


The "resource:" URLs are not used because they were never documented in 
user docs. (The javadoc however clearly states that it always was the 
intention to be used for access to the 'data directory' via URLs.) I can 
see that one of the issues you have been working to resolve is the usage 
of URLs without a prefix, which are just naked paths and where there is 
ambiguity in interpretation.


The resourcestore is low level API only accessible to developers, not 
users. Users will always access it via some layer in between, like rest 
or something that calls Resources.fromURL. When a developer call 
resourcestore.get he knows he is not necessarily using the file system, 
and the paths should not be considered file system paths. With 
Resources.fromURL this is not so clear.


My suggestion is that we bring back / leave the resource store API to 
how it was, being lenient on the leading slash because there is no 
possible confusion there, and it avoids a huge amount of work. We may 
however agree (and document this) that the Resources.fromURL, as well as 
REST or other services accessible to users use the following guidelines 
(and we document this for both developers as well as users):


- file: URLS will use the file system
- resource: URLs will use the resource store
- naked path without URL prefix: absolute paths are interpreted as file: 
URLs, relative paths are interpreted as resource: URLs.


This way the issue is addressed at the level where it actually occurs, 
and OS/filesystem stuff does not creep into the resource store API.


Kind Regards

Niels

On 03/08/2023 01:49, Jody Garnett wrote:

Niels:

Comments inline
--
Jody Garnett


On Aug 2, 2023 at 12:20:43 PM, Niels Charlier  wrote:


Hi Jody,

I do support checking everything is handled correctly.



Thanks Niels, sorry I am a bit frustrated these days so am probably 
not explaining clearly.


I just don't seem the point in breaking huge amounts of code for 
nothing. And that is what will happen if we start throwing exceptions 
in the resource store if the path starts with a "/". Which is 
actually normal, because the resource store has a root.



ResourceStore no longer uses `/` as a root.
The work done earlier this year removed the use leading |/|  from the 
codebase (including the REST API Controller).


Please: define "absolute path". Is this OS dependent? Should the 
behaviour of the resource store be OS dependent? What /exactly/


I put the definitions into the document I shared and the javadocs (not 
sure why I cannot find the javadocs online?).


When I say "path" I mean the strings used by the class 
Paths.isAbsolute(String)


  * 
https://github.com/geoserver/geoserver/blob/main/src/platform/src/main/java/org/geoserver/platform/resource/Paths.java#L550
  * This has nothing to do with the ResourceStore API.


This is covered in the developers guide here: 
https://docs.geoserver.org/latest/en/developer/programming-guide/config/resource.html#paths


Paths are broken down into a sequence of names, as listed by 
|Paths.names(path)|:


 *

|Path.names("data/tasmania/roads.shp")| is represented as a list
of |data|, |tasmania|, |roads.shp|.

 *

On linux |Path.names("/src/gis/cadaster/district.geopkg")| starts
with a marker to indicate an absolute path, resulting in |/|,
|src|, |gis|, |cadaster|, |district.geopkg|.

 *

On windows |Path.names("D:/gis/cadaster/district.geopkg")| starts
with a marker to indicate an absolute path, resulting in |D:/|,
|gis|, |cadaster|, |district.geopkg|.

are you suggesting should be allowed or not allowed to access a 
resource from the resource store?


I am suggesting paths that return true for this method be not allowed 
to access resources from the resource store.


Yes, "paths" are used across the application. But "path" is a vague 
term, 'xpaths' are paths too, they have no relationship with file 
paths. Resource paths are no different, they live in their own world 
and are not part of the file system. The notion of a path being 
'absolute' or 'relative' has no meaning when you are talking about 
paths in general, this is file system terminology.


Earlier in this email thread I shared the developer guide 
documentation which was written to define what Paths mean for GeoServer.


When someone gets a resource directly from the resource store, they 
are using the resource store as a black box, and the "path" is always 
relative to the _root_ of the resource store.


Correct, relative paths are with respect to the resource store 
location. Actually when I did he QA I found that there was at one 
point a search path that could be scanned to allow "data directory" to 
be spread across several folders (terrifying).


Resource.fromURL 

Re: [Geoserver-devel] ResourceStore API workparty

2023-08-02 Thread Niels Charlier via Geoserver-devel

Hello Jody,

You write "I am suggesting paths that return true for this method be not 
allowed to access resources from the resource store. "


I think this is problematic: the method is OS dependent: a path with 
leading slash will return "false" on windows and "true" on linux. So 
your suggestion is that resource paths can start with a leading slash on 
windows, but not on linux. I don't think the syntax of the resource 
store should be OS dependent. Because the resource store is not part of 
the file system or the OS, it is an internal system of geoserver.


I think the recent changes are problematic: you added a test method to 
the resource theory test that can only work for a file system based 
resource store, and not for alternative implementations. It makes the 
existence of the resource store abstract API obsolete. There is a lot of 
confusion going on and creeping into the code base.


My position is that this should be pulled back. Removing all leading 
slashes from resource stores paths will require a huge amount of 
unnecessary work, and I still do not see a reason why this is necessary.


Regards

Niels


On 03/08/2023 01:49, Jody Garnett wrote:

Niels:

Comments inline
--
Jody Garnett


On Aug 2, 2023 at 12:20:43 PM, Niels Charlier  wrote:


Hi Jody,

I do support checking everything is handled correctly.



Thanks Niels, sorry I am a bit frustrated these days so am probably 
not explaining clearly.


I just don't seem the point in breaking huge amounts of code for 
nothing. And that is what will happen if we start throwing exceptions 
in the resource store if the path starts with a "/". Which is 
actually normal, because the resource store has a root.



ResourceStore no longer uses `/` as a root.
The work done earlier this year removed the use leading |/|  from the 
codebase (including the REST API Controller).


Please: define "absolute path". Is this OS dependent? Should the 
behaviour of the resource store be OS dependent? What /exactly/


I put the definitions into the document I shared and the javadocs (not 
sure why I cannot find the javadocs online?).


When I say "path" I mean the strings used by the class 
Paths.isAbsolute(String)


  * 
https://github.com/geoserver/geoserver/blob/main/src/platform/src/main/java/org/geoserver/platform/resource/Paths.java#L550
  * This has nothing to do with the ResourceStore API.


This is covered in the developers guide here: 
https://docs.geoserver.org/latest/en/developer/programming-guide/config/resource.html#paths


Paths are broken down into a sequence of names, as listed by 
|Paths.names(path)|:


 *

|Path.names("data/tasmania/roads.shp")| is represented as a list
of |data|, |tasmania|, |roads.shp|.

 *

On linux |Path.names("/src/gis/cadaster/district.geopkg")| starts
with a marker to indicate an absolute path, resulting in |/|,
|src|, |gis|, |cadaster|, |district.geopkg|.

 *

On windows |Path.names("D:/gis/cadaster/district.geopkg")| starts
with a marker to indicate an absolute path, resulting in |D:/|,
|gis|, |cadaster|, |district.geopkg|.

are you suggesting should be allowed or not allowed to access a 
resource from the resource store?


I am suggesting paths that return true for this method be not allowed 
to access resources from the resource store.


Yes, "paths" are used across the application. But "path" is a vague 
term, 'xpaths' are paths too, they have no relationship with file 
paths. Resource paths are no different, they live in their own world 
and are not part of the file system. The notion of a path being 
'absolute' or 'relative' has no meaning when you are talking about 
paths in general, this is file system terminology.


Earlier in this email thread I shared the developer guide 
documentation which was written to define what Paths mean for GeoServer.


When someone gets a resource directly from the resource store, they 
are using the resource store as a black box, and the "path" is always 
relative to the _root_ of the resource store.


Correct, relative paths are with respect to the resource store 
location. Actually when I did he QA I found that there was at one 
point a search path that could be scanned to allow "data directory" to 
be spread across several folders (terrifying).


Resource.fromURL is a different story, these are not hard-coded 
URL's, they are user provided, and then we allow both the file system 
as the resource store to be accessed, where file: is for the file 
system and resource: is for the resource store.


I have not seen users use "resource:", to my knowledge that was only 
used internally in the logic between in geoserver and geotools ( 
applied by a style visitor to help geotools resolve icons in the data 
directory.)


See the examples Resource.fromURL(base, url) 
<https:

Re: [Geoserver-devel] ResourceStore API workparty

2023-08-02 Thread Niels Charlier via Geoserver-devel

Hi Jody,

I do support checking everything is handled correctly.

I just don't seem the point in breaking huge amounts of code for 
nothing. And that is what will happen if we start throwing exceptions in 
the resource store if the path starts with a "/". Which is actually 
normal, because the resource store has a root.


Please: define "absolute path". Is this OS dependent? Should the 
behaviour of the resource store be OS dependent? What /exactly/ are you 
suggesting should be allowed or not allowed to access a resource from 
the resource store?


Yes, "paths" are used across the application. But "path" is a vague 
term, 'xpaths' are paths too, they have no relationship with file paths. 
Resource paths are no different, they live in their own world and are 
not part of the file system. The notion of a path being 'absolute' or 
'relative' has no meaning when you are talking about paths in general, 
this is file system terminology.


When someone gets a resource directly from the resource store, they are 
using the resource store as a black box, and the "path" is always 
relative to the _root_ of the resource store.


Resource.fromURL is a different story, these are not hard-coded URL's, 
they are user provided, and then we allow both the file system as the 
resource store to be accessed, where file: is for the file system and 
resource: is for the resource store.


I just haven't seen any valid argument why the original design is flawed.

Kind Regards

Niels

On 02/08/2023 16:40, Jody Garnett wrote:


Niels:

We may be on the same page, you indicate ResoueceStore should never 
use absolute paths for the file system.


That is the decision I wish to make, and then we should go do the work 
to enforce it.  How much work? I am not sure, hence the work party.


There is something subtle here though. You are focused on the 
ResourceStore API, and I am asking you to consider the application as 
a whole.


We do have paths in the application including absolute paths. The QA 
activity to check that these are handled correctly is the work.


Paths are not only for ResourceStore.

Jody


On Tue, Aug 1, 2023 at 11:55 PM Niels Charlier  wrote:

Hello Jody,

Unfortunately I am not really on board with your plan. I really
don't think we need to make a new branch and do a lot of work.
This seems like a lot of unnecessary work. I think the original
design is fine, and does not require breaking the code base. We
just need to go back to how things were and perhaps fix a few
cases where people have gone wrong since then.


 *

Gabe and Niels are having trouble with the API changes made
earlier this year

 o

The definition of path was inconsistent for windows
absolute paths

I disagree. The definition of 'path' for the resource store is not
in any way related to the OS, because the resource store lives in
a separate world from the file system. The resource store and the
file system have no joint concept of 'path'.

 *

Early resource store work was not strict about use of paths,
and when to use Resource and when to use File

I disagree. It was always very clear about this. There should
obviously never be hard coded absolute paths for the file system.
In general the code should basically always use resources. Only
where users can use URLs they have access to both the file system
and the resource store, this is always how it was intended to
work, as can be read from the javadoc.

 *

The email conversation is going in circles because something
has to break

 *

We have to accept that something that break

I disagree. I think nearly all of the code base is fine with how
it was designed to work.

Regards

Niels

On 01/08/2023 19:31, Jody Garnett wrote:

Niel, Gabe:

Our email thread on this topic has explored the topic by now, I
think action rather than more communication is needed next.

Can we setup a 1/2 day breakout work-party to get this activity
underway (prior to the Bolsena code sprint and the next release
cycle). Even a couple hours to get the topic started on a branch
would be great.

I am proposing two times below, and am willing to wake up early
to see this topic move along:

 1. August 8th

<https://www.timeanddate.com/worldclock/meetingdetails.html?year=2023&month=8&day=8&hour=13&min=0&sec=0&p1=256&p2=45&p3=48>
 15
CEST / 11 BRT / 6 PDT
 2. August 15th

<https://www.timeanddate.com/worldclock/meetingdetails.html?year=2023&month=8&day=15&hour=13&min=0&sec=0&p1=256&p2=45&p3=48>:
15 CEST / 11 BRT / 6 PDT


Is this a good idea :)
--
Jody Garnett


--
--
Jody Garnett___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] ResourceStore API workparty

2023-08-01 Thread Niels Charlier via Geoserver-devel

Hello Jody,

Unfortunately I am not really on board with your plan. I really don't 
think we need to make a new branch and do a lot of work. This seems like 
a lot of unnecessary work. I think the original design is fine, and does 
not require breaking the code base. We just need to go back to how 
things were and perhaps fix a few cases where people have gone wrong 
since then.



 *

   Gabe and Niels are having trouble with the API changes made earlier
   this year

 o

   The definition of path was inconsistent for windows absolute paths

I disagree. The definition of 'path' for the resource store is not in 
any way related to the OS, because the resource store lives in a 
separate world from the file system. The resource store and the file 
system have no joint concept of 'path'.


 *

   Early resource store work was not strict about use of paths, and
   when to use Resource and when to use File

I disagree. It was always very clear about this. There should obviously 
never be hard coded absolute paths for the file system. In general the 
code should basically always use resources. Only where users can use 
URLs they have access to both the file system and the resource store, 
this is always how it was intended to work, as can be read from the 
javadoc.


 *

   The email conversation is going in circles because something has to
   break

 *

   We have to accept that something that break

I disagree. I think nearly all of the code base is fine with how it was 
designed to work.


Regards

Niels

On 01/08/2023 19:31, Jody Garnett wrote:

Niel, Gabe:

Our email thread on this topic has explored the topic by now, I think 
action rather than more communication is needed next.


Can we setup a 1/2 day breakout work-party to get this activity 
underway (prior to the Bolsena code sprint and the next release 
cycle). Even a couple hours to get the topic started on a branch would 
be great.


I am proposing two times below, and am willing to wake up early to see 
this topic move along:


 1. August 8th


 15
CEST / 11 BRT / 6 PDT
 2. August 15th

:
15 CEST / 11 BRT / 6 PDT


Is this a good idea :)
--
Jody Garnett___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] changes to ResourceStore

2023-08-01 Thread Niels Charlier via Geoserver-devel

Hello Jody,

I feel you are not understanding me, it seems you are not really 
responding to any my points.


I disagree with your analysis. There is no need to break half to code 
base. In my opinion there is nothing wrong with the original idea and 
that is already how nearly all of the code base works. I think barely 
any work is necessary, if we stick with the original design. The 
original design is clear and makes a lot of sense.


What is your definition of an "absolute path"? Currently the method 
Paths.isAbsolute() is OS dependent. Should the syntax of the resource 
store paths be OS dependent, so that paths starting with a forward slash 
are allowed in windows but not in linux? That makes no sense to me, so 
please clarify.


I think there are two big confusions at the heart of this:

1) confusing paths with URLs. Only URLS support both the file system and 
the resource store at the same time. Apart from that the file system and 
the resource store live in separate worlds. So there is no joint concept 
of a "path". (they do not even necessarily have the same basis syntax: 
the resource store always uses forward slashes.) It is not true that we 
need to decide for a certain path whether it is for the file system or 
the resource store, based on it being relative or absolute. We only have 
to do this, and already do this, for URLs, using the the 'protocol' 
(resource: vs file:).


2) assuming that the resource store is part of the file system. As far 
the developer who uses the resource API is concerned, the resource store 
is not part of the file system. That is just one particular implementation.


The resource store literally has a "root". This root is commonly 
referred to as "/". It is very unnatural to start resource store paths 
immediately with a name, because the resource store is not relative to 
anything. It is its own thing and it has a root.


Regards

Niels



On 31/07/2023 16:12, Jody Garnett wrote:

Do I understand correctly,

You have made a long email about asking that an absolute path be 
treated as relative to data directory.


The problem we are faced with is that the code base has two 
inconsistent uses of absolute path.


No matter what decision made we are going to break half the code base.

With that in mind “causing problems all around” is expected.

I am also not sure if we are talking about the same thing exactly. If 
the documentation only paths (the Strings) are absolute.


When faced with a path we can clearly tell:
- relative: process as relative to the data directory use Resource API 
to access content. If needed resource.file() can be used to unpack 
File onto local file system.
- absolute: process as File. If needed for a test case or something 
there is a wrapper that can pretend a random File location is a resource.


Jody


On Mon, Jul 31, 2023 at 4:23 AM Niels Charlier  wrote:

Hello Jody,

I have been looking into this, but I do not think that throwing an
exception with absolute paths is a viable option. It is too
problematic for backwards compatibility. For one it seems to
completely break the "file chooser" in web-core, and it causes
problems all around.

The problem is the confusion of the term "absolute path" which can
mean two things: absolute for the file system or absolute for the
resource store's structure. The thing is, it has always been so
that the resource store "root" has been treated as a linux style
root: "/". It is normal to write ResourceStore.get("/a/b/c") or
Resources.fromURL("resource:/a/b/c"). It is even much more natural
than to write this as a relative path. That is because it actually
is not relative but absolute: absolute for the resource store,
separate from the file system.

Also, checking for absolute paths would mean very different
behaviour on windows than linux. On windows resource store style
"/a/b/c/" paths would not be recognised as absolute and thus
allowed, but they would be forbidden on linux. But the syntax of
resource store paths is always the same, and is not dependent on
the syntax of file system paths.

This is exactly what is so problematic with the
'theoryRootIsAbsoluteTest': it confirms whether a resource store
path is absolute for the operating system file system. But as I
said, the resource store path syntax does not depend on the
operating system! So this is essentially a test that forces the
resource store to be the file system, and not a custom implementation.

We need to get rid of this test and get back to the old test that
confirms that "/a/b/c" and "a/b/c" are one and the same thing,
since the resource store has no concept of either a "current
directory" or a file system root. It has its own root and it
always star

Re: [Geoserver-devel] changes to ResourceStore

2023-07-31 Thread Niels Charlier via Geoserver-devel

Hello Jody,

I have been looking into this, but I do not think that throwing an 
exception with absolute paths is a viable option. It is too problematic 
for backwards compatibility. For one it seems to completely break the 
"file chooser" in web-core, and it causes problems all around.


The problem is the confusion of the term "absolute path" which can mean 
two things: absolute for the file system or absolute for the resource 
store's structure. The thing is, it has always been so that the resource 
store "root" has been treated as a linux style root: "/". It is normal 
to write ResourceStore.get("/a/b/c") or 
Resources.fromURL("resource:/a/b/c"). It is even much more natural than 
to write this as a relative path. That is because it actually is not 
relative but absolute: absolute for the resource store, separate from 
the file system.


Also, checking for absolute paths would mean very different behaviour on 
windows than linux. On windows resource store style "/a/b/c/" paths 
would not be recognised as absolute and thus allowed, but they would be 
forbidden on linux. But the syntax of resource store paths is always the 
same, and is not dependent on the syntax of file system paths.


This is exactly what is so problematic with the 
'theoryRootIsAbsoluteTest': it confirms whether a resource store path is 
absolute for the operating system file system. But as I said, the 
resource store path syntax does not depend on the operating system! So 
this is essentially a test that forces the resource store to be the file 
system, and not a custom implementation.


We need to get rid of this test and get back to the old test that 
confirms that "/a/b/c" and "a/b/c" are one and the same thing, since the 
resource store has no concept of either a "current directory" or a file 
system root. It has its own root and it always starts from there, for 
any path submitted to it. This is very clear and lenient at the same time.


Kind Regards

Niels

On 21/07/2023 16:06, Jody Garnett wrote:
I think we make the change, so resource store fails with absolute 
path, and learn what other areas of the code assume resource store can 
access any location on disk.


Then we will know how widespread this problems is.

I am happy to split up the work, and we can add to the documentation a 
very clear sentence about resource store not supporting absolute paths.


Jody

On Fri, Jul 21, 2023 at 4:01 AM Niels Charlier  wrote:

Hey Jody,

How do we proceed practically?

I am happy to make a PR to fix resource store and make the agreed
upon core changes.

Will you change the docs or would you like this to be part of my work?

Kind Regards

Niels

On 13/07/2023 16:19, Jody Garnett wrote:

I already tried to catch a lot of those when adjusting for the
windows absolute paths.

We could add some logic and provide a warning if any absolute
paths get through? And the call Resources.fromURL(base, url) …

Still we may be getting into a technical detail here.  What needs
to be changed or clarified; then we can adjust the code to march.
On Thu, Jul 13, 2023 at 1:42 AM Niels Charlier 
wrote:

In theory I agree but there is always a risk to changing
lenient behavior to throwing exceptions, if there is code or
production configs that have relied on paths starting with
'/' just passing as relative...

On 11/07/2023 22:27, Jody Garnett wrote:

Thanks:

Reading the docs, it is /okay/ but not /great/.

I think we we made it so the ResourceStore implementations
fail when provided an absolute path it would be best; and
remove the test case that is causing problem.

That way only Resources.fromURL(base, url) would support
    "absolute" paths and life would be more clear?
--
Jody Garnett


On Jul 9, 2023 at 10:53:22 PM, Niels Charlier
 wrote:


Hello Jody,

My comment about deprecating the file() was in response to
what Gabriel said about that.

Resource: urls are indeed for instance supported by SLD, if
you want to link to a resource inside your data directory /
resource store. But I think they can be used about anywhere
where file: or other URLs are supported. As the javadoc for
Resources.fromURL says: relative file: URLs are deprecated,
use resource: instead. I don't know why they were never
documented.

Kind Regards

Niels

On 07/07/2023 16:48, Jody Garnett wrote:

Niels,

I do not understand the comment about deprecating the
file() method? I agree with everything you said about how
it is used and useful.

I am not sure when resource URLs were added, I thought
they were only adde

[Geoserver-devel] [JIRA] (GEOS-11086) Taskmanager: database access improvements

2023-07-31 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-11086?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 ) GEOS-11086 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11086?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 ) Taskmanager: database access improvements ( 
https://osgeo-org.atlassian.net/browse/GEOS-11086?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 31/Jul/23 10:46 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Support publishing layers to external geoserver with keycloak authentication.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11086#add-comment?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11086#add-comment?atlOrigin=eyJpIjoiOWUyODVkOWEyMzVlNDMzNmFlZDcyNjViNmI1YzBlODQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- 
sha1:da16c62 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11082) Taskmanager: support for keycloak

2023-07-24 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-11082?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 ) GEOS-11082 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11082?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 ) Taskmanager: support for keycloak ( 
https://osgeo-org.atlassian.net/browse/GEOS-11082?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 24/Jul/23 2:37 PM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Support publishing layers to external geoserver with keycloak authentication.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11082#add-comment?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11082#add-comment?atlOrigin=eyJpIjoiZjU4ZGUzZjAwZTU3NGY1MzgyYmZmYjk1OWU1MGIwMDEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100232- 
sha1:a133497 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] changes to ResourceStore

2023-07-21 Thread Niels Charlier via Geoserver-devel

Hey Jody,

How do we proceed practically?

I am happy to make a PR to fix resource store and make the agreed upon 
core changes.


Will you change the docs or would you like this to be part of my work?

Kind Regards

Niels

On 13/07/2023 16:19, Jody Garnett wrote:
I already tried to catch a lot of those when adjusting for the windows 
absolute paths.


We could add some logic and provide a warning if any absolute paths 
get through? And the call Resources.fromURL(base, url) …


Still we may be getting into a technical detail here.  What needs to 
be changed or clarified; then we can adjust the code to march.

On Thu, Jul 13, 2023 at 1:42 AM Niels Charlier  wrote:

In theory I agree but there is always a risk to changing lenient
behavior to throwing exceptions, if there is code or production
configs that have relied on paths starting with '/' just passing
as relative...

On 11/07/2023 22:27, Jody Garnett wrote:

Thanks:

Reading the docs, it is /okay/ but not /great/.

I think we we made it so the ResourceStore implementations fail
when provided an absolute path it would be best; and remove the
test case that is causing problem.

That way only Resources.fromURL(base, url) would support
"absolute" paths and life would be more clear?
--
Jody Garnett


On Jul 9, 2023 at 10:53:22 PM, Niels Charlier 
wrote:


Hello Jody,

My comment about deprecating the file() was in response to what
Gabriel said about that.

Resource: urls are indeed for instance supported by SLD, if you
want to link to a resource inside your data directory / resource
store. But I think they can be used about anywhere where file:
or other URLs are supported. As the javadoc for
Resources.fromURL says: relative file: URLs are deprecated, use
resource: instead. I don't know why they were never documented.

Kind Regards

Niels

On 07/07/2023 16:48, Jody Garnett wrote:

Niels,

I do not understand the comment about deprecating the file()
method? I agree with everything you said about how it is used
and useful.

I am not sure when resource URLs were added, I thought they
were only added to pass information over to geotools side of
things for SLD validation and did not expect to see them used
directly in any user configuration.  I guess we could talk
resource: URL here in the developers docs explicitly. Do we
know who wrote that (I hope it was not me).

Still let's take this discussion and update the docs and API.
--
Jody Garnett


On Jul 5, 2023 at 11:48:50 PM, Niels Charlier 
wrote:


Hello Gabriel and Jody,

I agree with most of what Gabriel says, it is mainly the same
point as mine except that I think it is unrealistic to
deprecate the file() method. First of all we would need to to
move the resource API to geotools because SLD files are stored
in the resource store, but there are still tertiary tools that
require files like template and image processors. The idea is
that the file created on disk is only a cache for these
tertiary tools and manipulating it will have no effect.

Jody, most of the docs seem fine, except that the second blue
box explanation for 'path' is confusing paths with URLs:
'file:/' URLs are not part of the resourcestore and resource
rest API, and the other problems is that docs are missing any
mention of the "resource:" URLs.  We must first of all
distinguish between (1) resourcestore API and (2)
Resources.fromURL method, I think there might be some
confusion there. Then the distinction between file: and
resource: urls need to be in the docs.

The (1) Resourcestore does not deal with URLs or absolute
paths, only relative paths. Internally, geoserver modules load
their configuration files in the resource store directly from
this API.

The (2) Resources.fromURL deals with URLS and can handle both
absolute file paths and resources from the resourcestore using
the 'resource:' protocol prefix. This is for external use: the
purpose is so that people can refer to both files on disk and
resources in the resource store wherever they can specify a
URL, for instance inside style files or in the parameters of a
data store. File: URLs is for the entire file system, not the
data directory and get 'converted' to a resource using the
Files.asResource wrapping method. Resource: URLs refer to
anything in the data directory or alternative resource store.

As legacy from pre-resourcestore times, geoserver supports
(supported?) 'file:' URLs relative to the data directory (this
is a little bit 'dodgy' since 'file:' urls are standardized
and do not paths without leading slash -
https://en.wikipedia.org/wiki/File_URI

[Geoserver-devel] [JIRA] (GEOS-11078) DefaultCatalogFacade.list throws NPE when trying to sort on path with maps

2023-07-18 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11078?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 ) GEOS-11078 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11078?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 ) DefaultCatalogFacade.list throws NPE when trying to sort on path with maps ( 
https://osgeo-org.atlassian.net/browse/GEOS-11078?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 18/Jul/23 10:27 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

* The DefaultCatalogFacade.canSort method throws an NPE instead of returning 
false for unsupported paths as one would expect (line 1117 does not check for 
null), this is a bug.
* When specifying a path that uses maps instead of beans, this is not 
supported, but elsewhere in geoserver this is supported. It would only be a 
small effort to add support (this is an improvement).
* The lack of support causes a bug in csw-core when trying to sort on values in 
maps (such as when one is using the metadata module), This does work with 
jdbcconfig.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11078#add-comment?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11078#add-comment?atlOrigin=eyJpIjoiZGU2NDA5OGRhMzdhNDRiM2ExZWUwMDYxZDhjY2ZkOTEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100232- 
sha1:4a3b42c )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] changes to ResourceStore

2023-07-13 Thread Niels Charlier via Geoserver-devel
In theory I agree but there is always a risk to changing lenient 
behavior to throwing exceptions, if there is code or production configs 
that have relied on paths starting with '/' just passing as relative...


On 11/07/2023 22:27, Jody Garnett wrote:

Thanks:

Reading the docs, it is /okay/ but not /great/.

I think we we made it so the ResourceStore implementations fail when 
provided an absolute path it would be best; and remove the test case 
that is causing problem.


That way only Resources.fromURL(base, url) would support "absolute" 
paths and life would be more clear?

--
Jody Garnett


On Jul 9, 2023 at 10:53:22 PM, Niels Charlier  wrote:


Hello Jody,

My comment about deprecating the file() was in response to what 
Gabriel said about that.


Resource: urls are indeed for instance supported by SLD, if you want 
to link to a resource inside your data directory / resource store. 
But I think they can be used about anywhere where file: or other URLs 
are supported. As the javadoc for Resources.fromURL says: relative 
file: URLs are deprecated, use resource: instead. I don't know why 
they were never documented.


Kind Regards

Niels

On 07/07/2023 16:48, Jody Garnett wrote:

Niels,

I do not understand the comment about deprecating the file() method? 
I agree with everything you said about how it is used and useful.


I am not sure when resource URLs were added, I thought they were 
only added to pass information over to geotools side of things for 
SLD validation and did not expect to see them used directly in any 
user configuration.  I guess we could talk resource: URL here in the 
developers docs explicitly. Do we know who wrote that (I hope it was 
not me).


Still let's take this discussion and update the docs and API.
--
Jody Garnett


On Jul 5, 2023 at 11:48:50 PM, Niels Charlier  wrote:


Hello Gabriel and Jody,

I agree with most of what Gabriel says, it is mainly the same point 
as mine except that I think it is unrealistic to deprecate the 
file() method. First of all we would need to to move the resource 
API to geotools because SLD files are stored in the resource store, 
but there are still tertiary tools that require files like template 
and image processors. The idea is that the file created on disk is 
only a cache for these tertiary tools and manipulating it will have 
no effect.


Jody, most of the docs seem fine, except that the second blue box 
explanation for 'path' is confusing paths with URLs: 'file:/' URLs 
are not part of the resourcestore and resource rest API, and the 
other problems is that docs are missing any mention of the 
"resource:" URLs.  We must first of all distinguish between (1) 
resourcestore API and (2) Resources.fromURL method, I think there 
might be some confusion there. Then the distinction between file: 
and resource: urls need to be in the docs.


The (1) Resourcestore does not deal with URLs or absolute paths, 
only relative paths. Internally, geoserver modules load their 
configuration files in the resource store directly from this API.


The (2) Resources.fromURL deals with URLS and can handle both 
absolute file paths and resources from the resourcestore using the 
'resource:' protocol prefix. This is for external use: the purpose 
is so that people can refer to both files on disk and resources in 
the resource store wherever they can specify a URL, for instance 
inside style files or in the parameters of a data store. File: URLs 
is for the entire file system, not the data directory and get 
'converted' to a resource using the Files.asResource wrapping 
method. Resource: URLs refer to anything in the data directory or 
alternative resource store.


As legacy from pre-resourcestore times, geoserver supports 
(supported?) 'file:' URLs relative to the data directory (this is a 
little bit 'dodgy' since 'file:' urls are standardized and do not 
paths without leading slash - 
https://en.wikipedia.org/wiki/File_URI_scheme ). Note that the 
Resources.fromURL javadoc says this is deprecated and should be 
replaced with resource: URLs.


Kind Regards

Niels

On 05/07/2023 15:06, Jody Garnett wrote:
Hey folks, I was tired and not in position to act clearly when 
these gaps were noticed last year.


We can tighten up the api definition, at least with the changes 
made we can now notice when an absolute path was used.


I never quite managed to communicate the separation between using 
a file URL and File access (when DataStores wish to access local 
files) as distinct from use of a resource for managing 
configuration files.


 I suspect you both (Niels and Gabe) have met this distinction 
first hand - but it is hard to explain the value.


Documentation is as added here:
https://docs.geoserver.org/latest/en/developer/programming-guide/config/resource.html

This could your review and input.

Jody

On Wed, Jul 5, 2023 at 2:34 PM Gabriel Rolda

[Geoserver-devel] [JIRA] (GEOS-11073) csw: add "url.base" property

2023-07-13 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-11073?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 ) GEOS-11073 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11073?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 ) csw: add "url.base" property ( 
https://osgeo-org.atlassian.net/browse/GEOS-11073?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: CSW Created: 13/Jul/23 10:38 AM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

There are ‘url.wms', ‘url.wfs’ etc properties that can be used inside de csw 
mapping file. We’d like just the geoserver base url so there is freedom to link 
to workspace service for instance

( 
https://osgeo-org.atlassian.net/browse/GEOS-11073#add-comment?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11073#add-comment?atlOrigin=eyJpIjoiZGE3MjRmM2Y3ZmQ0NDJmZWIyNTYxNjc3OTFmNDYxNmEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100231- 
sha1:2991753 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] changes to ResourceStore

2023-07-09 Thread Niels Charlier via Geoserver-devel

Hello Jody,

My comment about deprecating the file() was in response to what Gabriel 
said about that.


Resource: urls are indeed for instance supported by SLD, if you want to 
link to a resource inside your data directory / resource store. But I 
think they can be used about anywhere where file: or other URLs are 
supported. As the javadoc for Resources.fromURL says: relative file: 
URLs are deprecated, use resource: instead. I don't know why they were 
never documented.


Kind Regards

Niels

On 07/07/2023 16:48, Jody Garnett wrote:

Niels,

I do not understand the comment about deprecating the file() method? I 
agree with everything you said about how it is used and useful.


I am not sure when resource URLs were added, I thought they were only 
added to pass information over to geotools side of things for SLD 
validation and did not expect to see them used directly in any user 
configuration.  I guess we could talk resource: URL here in the 
developers docs explicitly. Do we know who wrote that (I hope it was 
not me).


Still let's take this discussion and update the docs and API.
--
Jody Garnett


On Jul 5, 2023 at 11:48:50 PM, Niels Charlier  wrote:


Hello Gabriel and Jody,

I agree with most of what Gabriel says, it is mainly the same point 
as mine except that I think it is unrealistic to deprecate the file() 
method. First of all we would need to to move the resource API to 
geotools because SLD files are stored in the resource store, but 
there are still tertiary tools that require files like template and 
image processors. The idea is that the file created on disk is only a 
cache for these tertiary tools and manipulating it will have no effect.


Jody, most of the docs seem fine, except that the second blue box 
explanation for 'path' is confusing paths with URLs: 'file:/' URLs 
are not part of the resourcestore and resource rest API, and the 
other problems is that docs are missing any mention of the 
"resource:" URLs.  We must first of all distinguish between (1) 
resourcestore API and (2) Resources.fromURL method, I think there 
might be some confusion there. Then the distinction between file: and 
resource: urls need to be in the docs.


The (1) Resourcestore does not deal with URLs or absolute paths, only 
relative paths. Internally, geoserver modules load their 
configuration files in the resource store directly from this API.


The (2) Resources.fromURL deals with URLS and can handle both 
absolute file paths and resources from the resourcestore using the 
'resource:' protocol prefix. This is for external use: the purpose is 
so that people can refer to both files on disk and resources in the 
resource store wherever they can specify a URL, for instance inside 
style files or in the parameters of a data store. File: URLs is for 
the entire file system, not the data directory and get 'converted' to 
a resource using the Files.asResource wrapping method. Resource: URLs 
refer to anything in the data directory or alternative resource store.


As legacy from pre-resourcestore times, geoserver supports 
(supported?) 'file:' URLs relative to the data directory (this is a 
little bit 'dodgy' since 'file:' urls are standardized and do not 
paths without leading slash - 
https://en.wikipedia.org/wiki/File_URI_scheme ). Note that the 
Resources.fromURL javadoc says this is deprecated and should be 
replaced with resource: URLs.


Kind Regards

Niels

On 05/07/2023 15:06, Jody Garnett wrote:
Hey folks, I was tired and not in position to act clearly when these 
gaps were noticed last year.


We can tighten up the api definition, at least with the changes made 
we can now notice when an absolute path was used.


I never quite managed to communicate the separation between using a 
file URL and File access (when DataStores wish to access local 
files) as distinct from use of a resource for managing configuration 
files.


 I suspect you both (Niels and Gabe) have met this distinction first 
hand - but it is hard to explain the value.


Documentation is as added here:
https://docs.geoserver.org/latest/en/developer/programming-guide/config/resource.html

This could your review and input.

Jody

On Wed, Jul 5, 2023 at 2:34 PM Gabriel Roldan 
 wrote:


If "the codebase had drifted away from the intended use over
time" I think it's even more important to stick to the contract
and not the other way around.
As far as I can see, there are two abstractions, ResourceStore
and Resource, the former clearly says
"This abstraction assumes a unix like file system, all paths are
relative and use forward slash  {@code /} as the separator",
the latter "Resource used for configuration storage.".
Only by adhering to this contract, we could provide alternative
implementations.
So if the changes were made to accommodate "common usage" on the
 

Re: [Geoserver-devel] changes to ResourceStore

2023-07-05 Thread Niels Charlier via Geoserver-devel
le():java.io.File should be
deprecated and eventually removed. Resource is for config contents and
has Resource.in():InputStream and Resource.out():OutputStream.

It is hard enough already to adhere to lax interface contracts
(catalog's default workspace hello) as to keep on making it more
and more difficult.

So what do we do? can we get to an agreement that the contract in
the interfaces is mandatory and work from there?

cheers,
On Tue, 4 Jul 2023 at 17:49, Niels Charlier via Geoserver-devel
 wrote:

Hello Jody,

Yes, I admit it's my own fault for missing this discussion at
the time.

I think it would be a shame to let the codebase further drift
away from the intended use of the resource store. We have done
the work to make the entirety of geoserver generic with
respect to the implementation of the data directory and it is
only a minimal effort to keep it this way. Even though jdbc
store is still a community module and the Redis based
geoserver project has been discontinued, it has been proven
that alternative implementations for the data directory work
and the jdbc store module is actually being used in production
successfully.

Now, interestingly, I have discovered that there are
contradictions in how it works / is documented now.

- I discovered that while 'theoryRootIsAbsolute' test is
successful, it is actually very misleading. At least on linux,
paths starting with '/' *still create a file relative to the
data directory*!. The only difference is the string returned
by the path() method. So while the path might seem absolute,
the file you are accessing is not. So the path() method is
misleading and in reality the leading slash is still being
ignored (again, at least on linux).

- Note that the javadoc of ResourceStore still says:

This abstraction assumes a unix like file system, *all paths
are relative*

There it says it: all paths are relative for the
resourcestore. Absolute paths have no meaning or function when
it comes to the resource store.

- I think this contradiction could be resolved in two possible
ways:

1) the test 'theoryIsRootSlashIsIgnored' should come back
instead of 'theoryRootIsAbsolute'. The root slash is ignored
and removed from the path.

2) The resource store throws an exception when you ask for an
absolute path.

Either way, all absolute paths should be handled _outside of_
the ResourceStore, for instance by calling Files.asResource().
So problems with absolute paths in the rest service should be
resolved in the rest service, or some other layer that is used
by the rest service.

Kind Regards
Niels

On 04/07/2023 21:59, Jody Garnett wrote:

Hello Niels,

The PRs for this activity contain extensive discussion.

The fundamental issue was the handling of absolute paths
which was done differently by different sections of code.
Specifically we found that the REST API endpoint was allowing
paths *//data* and */data *to both reference content in the
data directory, rather than treating the first one as an
absolute path. In response we tightened up the javadocs and
added test cases including the one you mentioned.

I agree that this goes against the goal of resource store,
but the codebase had drifted away from the intended use over
time.

Now that you are present in the discussion it would be a good
opportunity to discuss this with the parties involved.
--
Jody Garnett


On Jul 3, 2023 at 2:50:02 PM, Niels Charlier
 wrote:


Hello Jody and others,

I am having trouble understanding the changes that were made
about 6 months ago to the ResourceStore's expected behaviour.

In particular, in the class
'org.geoserver.platform.resource.ResourceTheoryTest', the
unit test 'theoryRootSlashIsIgnored' was replaced by
'theoryRootIsAbsolute'. I cannot make sense out of this
theory test at all.


 This seems to be entirely contradictory to the whole reason
that the ResourceStore API was created, that is to make an
abstraction of the /Data Directory/, so that it can be
replaced by something else (such as jdbc store or other
implementations that have been made). There was already
support for absolute file paths in all circumstances by
using "file:" URLs. This will bypass the resource store and
call Files.asResource instead. But resource: URLs are for
   

Re: [Geoserver-devel] changes to ResourceStore

2023-07-04 Thread Niels Charlier via Geoserver-devel

Hello Jody,

Yes, I admit it's my own fault for missing this discussion at the time.

I think it would be a shame to let the codebase further drift away from 
the intended use of the resource store. We have done the work to make 
the entirety of geoserver generic with respect to the implementation of 
the data directory and it is only a minimal effort to keep it this way. 
Even though jdbc store is still a community module and the Redis based 
geoserver project has been discontinued, it has been proven that 
alternative implementations for the data directory work and the jdbc 
store module is  actually being used in production successfully.


Now, interestingly, I have discovered that there are contradictions in 
how it works / is documented now.


- I discovered that while 'theoryRootIsAbsolute' test is successful, it 
is actually very misleading. At least on linux, paths starting with '/' 
*still create a file relative to the data directory*!. The only 
difference is the string returned by the path() method. So while the 
path might seem absolute, the file you are accessing is not. So the 
path() method is misleading and in reality the leading slash is still 
being ignored (again, at least on linux).


- Note that the javadoc of ResourceStore still says:

This abstraction assumes a unix like file system, *all paths are relative*

There it says it: all paths are relative for the resourcestore. Absolute 
paths have no meaning or function when it comes to the resource store.


- I think this contradiction could be resolved in two possible ways:

1) the test 'theoryIsRootSlashIsIgnored' should come back instead of 
'theoryRootIsAbsolute'. The root slash is ignored and removed from the path.


2) The resource store throws an exception when you ask for an absolute path.

Either way, all absolute paths should be handled _outside of_ the 
ResourceStore, for instance by calling Files.asResource(). So problems 
with absolute paths in the rest service should be resolved in the rest 
service, or some other layer that is used by the rest service.


Kind Regards
Niels

On 04/07/2023 21:59, Jody Garnett wrote:

Hello Niels,

The PRs for this activity contain extensive discussion.

The fundamental issue was the handling of absolute paths which was 
done differently by different sections of code. Specifically we found 
that the REST API endpoint was allowing paths *//data* and */data *to 
both reference content in the data directory, rather than treating the 
first one as an absolute path. In response we tightened up the 
javadocs and added test cases including the one you mentioned.


I agree that this goes against the goal of resource store, but the 
codebase had drifted away from the intended use over time.


Now that you are present in the discussion it would be a good 
opportunity to discuss this with the parties involved.

--
Jody Garnett


On Jul 3, 2023 at 2:50:02 PM, Niels Charlier  wrote:


Hello Jody and others,

I am having trouble understanding the changes that were made about 6 
months ago to the ResourceStore's expected behaviour.


In particular, in the class 
'org.geoserver.platform.resource.ResourceTheoryTest', the unit test 
'theoryRootSlashIsIgnored' was replaced by 'theoryRootIsAbsolute'. I 
cannot make sense out of this theory test at all.



 This seems to be entirely contradictory to the whole reason that the 
ResourceStore API was created, that is to make an abstraction of the 
/Data Directory/, so that it can be replaced by something else (such 
as jdbc store or other implementations that have been made). There 
was already support for absolute file paths in all circumstances by 
using "file:" URLs. This will bypass the resource store and call 
Files.asResource instead. But resource: URLs are for the data 
directory or alternative resource store only. How does it make sense 
to get absolute paths from the resource store?



In order to make jdbc-config pass the tests, I will have to turn off 
this particular method. But why should the test even be there if the 
file resource store is the only one that could ever support it? 
Programmers and users will rely on this behaviour and support for all 
alternative implementations of ResourceStore will be broken. In this 
case we may as well do away with the API and just use the file system 
directly again.



Kind Regards

Niels
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] changes to ResourceStore

2023-07-03 Thread Niels Charlier via Geoserver-devel

Hello Jody and others,

I am having trouble understanding the changes that were made about 6 
months ago to the ResourceStore's expected behaviour.


In particular, in the class 
'org.geoserver.platform.resource.ResourceTheoryTest', the unit test 
'theoryRootSlashIsIgnored' was replaced by 'theoryRootIsAbsolute'. I 
cannot make sense out of this theory test at all.



 This seems to be entirely contradictory to the whole reason that the 
ResourceStore API was created, that is to make an abstraction of the 
/Data Directory/, so that it can be replaced by something else (such as 
jdbc store or other implementations that have been made). There was 
already support for absolute file paths in all circumstances by using 
"file:" URLs. This will bypass the resource store and call 
Files.asResource instead. But resource: URLs are for the data directory 
or alternative resource store only. How does it make sense to get 
absolute paths from the resource store?



In order to make jdbc-config pass the tests, I will have to turn off 
this particular method. But why should the test even be there if the 
file resource store is the only one that could ever support it? 
Programmers and users will rely on this behaviour and support for all 
alternative implementations of ResourceStore will be broken. In this 
case we may as well do away with the API and just use the file system 
directly again.



Kind Regards

Niels
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11050) jdbc-store broken by changes to Paths.names

2023-07-03 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11050?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 ) GEOS-11050 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11050?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 ) jdbc-store broken by changes to Paths.names ( 
https://osgeo-org.atlassian.net/browse/GEOS-11050?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: JDBCStore Created: 03/Jul/23 1:37 PM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-11050#add-comment?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11050#add-comment?atlOrigin=eyJpIjoiMzUwY2JlYzcxYzQwNGUxMWIxMTJiYWUxMmY3ZmIwYzciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100228- 
sha1:e911e2c )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] gs-metadata breaking build

2023-06-29 Thread Niels Charlier via Geoserver-devel

It should normally be fixed now if the build is re-run.

On 29/06/2023 14:44, Jody Garnett wrote:
A number of PRs are "blocked" by gs-metadata failing on GitHub actions 
environment.


As this is a recent difficulty is it possible to revert changes to 
restore build stability? Or turn off tests temporarily ...


As this is being disruptive I would like to ask if we can fix this 
(ahead of code sprint on saturday).

--
Jody Garnett


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] GeoTools / GeoServer PMC meeting - 2023-06-20

2023-06-27 Thread Niels Charlier via Geoserver-devel
I struggle with reproduction locally. It has happened a few times, but 
more often it does not, in fact I haven't been able to reproduce it in a 
while. This way I cannot find out what is causing it or confirm a fix. I 
had the idea of just creating a dummy PR, purely to test the build with 
certain changes.


Regards

Niels

On 22/06/2023 19:27, Andrea Aime wrote:
On the github actions (Ubuntu something)= it's failing with the 
following (mind, only 2 cores, starts from the root of the checkout):


mvn -B -U -T3 -fae -Dspotless.apply.skip=true -Prelease -f src/pom.xml clean 
install
Locally (Linux Mint, 8 cores) it's failing using:

 mvn clean install -T6 -nsu -fae -Prelease

Both result in this:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test 
(default-test) on project gs-metadata: There are test failures.



On Thu, Jun 22, 2023 at 5:18 PM Niels Charlier via Geoserver-devel 
 wrote:


Andrea,

Any tips on how to reproduce the failure locally ?

I have not been able to do that. I tried -T6 and java 11.

Regards

Niels

On 20/06/2023 19:16, Torben Barsballe wrote:



  Attending

 *

Torben Barsballe

 *

Andrea Aime

 *

Kevin Smith

 *

Jukka Rahkonen


  Actions from prior meetings:

 *

Jody: FOSS4G - Ask user-list for examples (of OpenGIS migrations)


  Agenda

 *

Removing ASCII grid output format from WCS

 *

Raster Attribute Table support

 *

GeoTools Docserver migration (finally?)

 *

Not so random build failure on main


  Actions

 *


Removing ASCII grid output format from WCS

Main issue, not streaming, and large. No interested party in
implementing it either.

GML grid is instead streaming.


Jukka asking internally. Survey among internal users, used for
small areas, to extract height from DEM for example, and using
old software that only takes in ASCII grid.

Still quite common to use with ESRI servers.


Jukka: it may go, but not immediately.


Raster Attribute Table support

RAT is normally bound .aux.xml, but also dbf.

Generated by GDAL

Supported by QGIS, but also by ESRI products

<https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/raster-dataset-attribute-tables-pro-.htm>

ERDAS tutorial video:

https://supportsi.hexagon.com/help/s/article/Working-with-Raster-Attributes-in-ERDAS-IMAGINE?language=en_US

<https://supportsi.hexagon.com/help/s/article/Working-with-Raster-Attributes-in-ERDAS-IMAGINE?language=en_US>


Q: General extensibility question - If in core, can we attach
other sources, e.g. GeoTiff header metadata

A: Probably. Leaning towards community anyways, so could just add
in parallel instead


See mail for details


GeoTools Docserver migration (finally?)


See https://github.com/geotools/geotools/pull/3995
<https://github.com/geotools/geotools/pull/3995>

We’ve been doing a bunch of infrastructure migration across
GeoTools, GeoWebCache, and GeoServer.

While GeoTools was already on OSGeo infrastructure, OSGeo has
requested to migrate this over to the same instance as all the
new infrastructure.


There’s finally some time to work on this; Possibly being worked
on the week after FOSS4G.

Anything that could be conflicting with this work? Please speak
up or just watch this unfold.


Action: Torben to send notification of GeoTools Docserver
migration to the list


Not so random build failure on main

Build failure in gs-metadata, but happens only in parallel
builds, very often, but not all the time. In contact with Niels
about it. If not solved, we’ll have to revert the last changes to
gs-metadata to see if that fixes the issue.



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



--

Regards,

Andrea Aime

==GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for 
more information.==Ing. Andrea Aime @geowolfTechnical Lead


GeoSolutions Groupphone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>

http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>

---


Con riferimento alla normativa sul trattamento dei dati personali 
(Reg. UE 2016/679 - Regolamento generale sull

Re: [Geoserver-devel] GeoTools / GeoServer PMC meeting - 2023-06-20

2023-06-22 Thread Niels Charlier via Geoserver-devel

Andrea,

Any tips on how to reproduce the failure locally ?

I have not been able to do that. I tried -T6 and java 11.

Regards

Niels

On 20/06/2023 19:16, Torben Barsballe wrote:



  Attending

 *

Torben Barsballe

 *

Andrea Aime

 *

Kevin Smith

 *

Jukka Rahkonen


  Actions from prior meetings:

 *

Jody: FOSS4G - Ask user-list for examples (of OpenGIS migrations)


  Agenda

 *

Removing ASCII grid output format from WCS

 *

Raster Attribute Table support

 *

GeoTools Docserver migration (finally?)

 *

Not so random build failure on main


  Actions

 *


Removing ASCII grid output format from WCS

Main issue, not streaming, and large. No interested party in 
implementing it either.


GML grid is instead streaming.


Jukka asking internally. Survey among internal users, used for small 
areas, to extract height from DEM for example, and using old software 
that only takes in ASCII grid.


Still quite common to use with ESRI servers.


Jukka: it may go, but not immediately.


Raster Attribute Table support

RAT is normally bound .aux.xml, but also dbf.

Generated by GDAL

Supported by QGIS, but also by ESRI products 



ERDAS tutorial video: 
https://supportsi.hexagon.com/help/s/article/Working-with-Raster-Attributes-in-ERDAS-IMAGINE?language=en_US 




Q: General extensibility question - If in core, can we attach other 
sources, e.g. GeoTiff header metadata


A: Probably. Leaning towards community anyways, so could just add in 
parallel instead



See mail for details


GeoTools Docserver migration (finally?)


See https://github.com/geotools/geotools/pull/3995 



We’ve been doing a bunch of infrastructure migration across GeoTools, 
GeoWebCache, and GeoServer.


While GeoTools was already on OSGeo infrastructure, OSGeo has 
requested to migrate this over to the same instance as all the new 
infrastructure.



There’s finally some time to work on this; Possibly being worked on 
the week after FOSS4G.


Anything that could be conflicting with this work? Please speak up or 
just watch this unfold.



Action: Torben to send notification of GeoTools Docserver migration to 
the list



Not so random build failure on main

Build failure in gs-metadata, but happens only in parallel builds, 
very often, but not all the time. In contact with Niels about it. If 
not solved, we’ll have to revert the last changes to gs-metadata to 
see if that fixes the issue.




___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11024) metadata: add datetime field type to feature catalog

2023-06-12 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11024?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 ) GEOS-11024 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11024?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 ) metadata: add datetime field type to feature catalog ( 
https://osgeo-org.atlassian.net/browse/GEOS-11024?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 12/Jun/23 11:59 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

In recent versions of geoserver, if you include metadata extension but you 
don’t have a metadata.properties file then geoserver doesn’t start up.

( 
https://osgeo-org.atlassian.net/browse/GEOS-11024#add-comment?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11024#add-comment?atlOrigin=eyJpIjoiZTRmNDRjMzNmNWJhNDg1NDkwYjg1YmI5NGUxZjRhYTciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- 
sha1:956085d )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-11022) Taskmanager: isolated workspace support

2023-06-09 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 ) / Task ( 
https://osgeo-org.atlassian.net/browse/GEOS-11022?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 ) GEOS-11022 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11022?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 ) Taskmanager: isolated workspace support ( 
https://osgeo-org.atlassian.net/browse/GEOS-11022?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 )

Issue Type: Task Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 09/Jun/23 9:16 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-11022#add-comment?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11022#add-comment?atlOrigin=eyJpIjoiYTZmNzRkZGZhMzY5NDc2OGI1MDUzNTQ4MTcxMTZjMzgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- 
sha1:62413c2 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10979) metadata: crashes on missing properties file

2023-05-15 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10979?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 ) GEOS-10979 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10979?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 ) metadata: crashes on missing properties file ( 
https://osgeo-org.atlassian.net/browse/GEOS-10979?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 15/May/23 10:50 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

In recent versions of geoserver, if you include metadata extension but you 
don’t have a metadata.properties file then geoserver doesn’t start up.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10979#add-comment?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10979#add-comment?atlOrigin=eyJpIjoiODkxMGU4N2IyNGE3NGFkMThkMzI2YWNhOWI0YTU1NWYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- 
sha1:a5851ae )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10968) Taskmanager: fix java 11 failure

2023-05-08 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 ) / Task ( 
https://osgeo-org.atlassian.net/browse/GEOS-10968?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 ) GEOS-10968 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10968?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 ) Taskmanager: fix java 11 failure ( 
https://osgeo-org.atlassian.net/browse/GEOS-10968?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 )

Issue Type: Task Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 08/May/23 12:11 PM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10968#add-comment?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10968#add-comment?atlOrigin=eyJpIjoiYzdmMDQ0MjY2Mjk1NDA1NjljZjc5NzE1NWY1YzE0ZTkiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- 
sha1:5ff5564 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10932) csw-iso: should only add 'xsi:nil = false' attribute

2023-04-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10932?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 ) GEOS-10932 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10932?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 ) csw-iso: should only add 'xsi:nil = false' attribute ( 
https://osgeo-org.atlassian.net/browse/GEOS-10932?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 10/Apr/23 10:50 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

With nillable properties, CSW-ISO always adds a ‘xsi:nil' attribute to the tag, 
but it should only do this when it is actually null (xsi:nil=true) and never 
xsi:nil=false. This seems to not pass some validators.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10932#add-comment?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10932#add-comment?atlOrigin=eyJpIjoiYTMyMDQ3NDY2YmIzNGM2Y2IwMzJiMThkYTkxNmM4NjkiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- 
sha1:57945e1 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10931) Taskmanager: db access improvements

2023-04-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 ) / Task ( 
https://osgeo-org.atlassian.net/browse/GEOS-10931?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 ) GEOS-10931 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10931?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 ) Taskmanager: db access improvements ( 
https://osgeo-org.atlassian.net/browse/GEOS-10931?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 )

Issue Type: Task Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 10/Apr/23 10:46 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10931#add-comment?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10931#add-comment?atlOrigin=eyJpIjoiNTVmM2QwMjM2MDZhNGY4YTgzMzI4MDJhZGU3M2ViMmYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- 
sha1:57945e1 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10930) taskmanager: isolated workspace support

2023-04-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10930?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 ) GEOS-10930 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10930?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 ) taskmanager: isolated workspace support ( 
https://osgeo-org.atlassian.net/browse/GEOS-10930?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Components: Community modules Created: 
10/Apr/23 10:42 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10930#add-comment?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10930#add-comment?atlOrigin=eyJpIjoiOGU3MzMwOGFjOGIxNDQ5OTg2MWY1NGM1YWM0MmMwMDMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- 
sha1:57945e1 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10929) isolated workspace may cause broken links between catalog objects

2023-04-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10929?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 ) GEOS-10929 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10929?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 ) isolated workspace may cause broken links between catalog objects ( 
https://osgeo-org.atlassian.net/browse/GEOS-10929?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Main Created: 10/Apr/23 10:35 AM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

The ResolvingProxy object uses the ‘raw’ catalog so it bypasses all security, 
but the raw catalog does not bypass the isolated workspace catalog facade. As a 
consequence, if the proxy is resolved as part of a request, it resolves to null 
when it shouldn’t (for instance, the store of a resource is set to null). This 
object with broken link is then cached and causes geoserver to be broken.

Normally this doesn’t happen, because the isolated facade checks for the 
existence of a request in the thread and normally the resolving happens outside 
of a request (when loading geoserver). However, we have a health check that 
repetitively does GetCapabilities requests and this is causing the problem. In 
theory it could happen to anyone (the health check may be considered a stress 
test)

( 
https://osgeo-org.atlassian.net/browse/GEOS-10929#add-comment?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10929#add-comment?atlOrigin=eyJpIjoiODRhNThhMjZjYTE0NGNkMDgwNGY1NjViMGI2MTUzMDciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- 
sha1:57945e1 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10859) OGC API: swagger-api upgrade for security vulnerability

2023-02-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 ) / Task ( 
https://osgeo-org.atlassian.net/browse/GEOS-10859?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 ) GEOS-10859 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10859?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 ) OGC API: swagger-api upgrade for security vulnerability ( 
https://osgeo-org.atlassian.net/browse/GEOS-10859?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 )

Issue Type: Task Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 10/Feb/23 11:51 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

https://portswigger.net/daily-swig/widespread-swagger-ui-library-vulnerability-leads-to-dom-xss-attacks
 ( 
https://portswigger.net/daily-swig/widespread-swagger-ui-library-vulnerability-leads-to-dom-xss-attacks
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10859#add-comment?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10859#add-comment?atlOrigin=eyJpIjoiNDE4YmQzNTdhNTkyNDJlMGIxNGFlMzk4Mzc5OWYwZGUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100215- 
sha1:a0f3b6a )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10858) jdbc-config turns off isolated workspace support

2023-02-10 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10858?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 ) GEOS-10858 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10858?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 ) jdbc-config turns off isolated workspace support ( 
https://osgeo-org.atlassian.net/browse/GEOS-10858?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 10/Feb/23 10:13 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Currently, the default catalog wraps a ‘IsolatedWorkspaceCatalogFacade’ around 
the default catalog facade to support isolated workspaces. But it only does so 
in the constructor. The ‘setCatalogFacade’ will overwrite it, which is 
currently used by jdbcconfig.

The problem could be resolved at the jdbcconfig side, however I see several 
arguments to move the addition of the wrapper from the constructor to the 
setter method:

* currently, jdbcconfig is the only module in the official code base (including 
community modules) that replaces the catalog facade.
* even if people use the API in other projects, I can see no situation where 
one would want to turn off the isolated workspace facade. It is a wrapper that 
adds core functionality but doesn’t depend in any way on any particular 
implementation of the catalog facade, it is compatible with any other custom 
catalog facade.

Alternatively, an alternative setter method could be added to the API so people 
can still overwrite the isolated workspace facade if they wanted to (but I 
cannot see any reason why)

( 
https://osgeo-org.atlassian.net/browse/GEOS-10858#add-comment?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10858#add-comment?atlOrigin=eyJpIjoiN2FkNTA2MGJkZTQxNGVjYjgzYzU4Y2JiYzM2MTgwYWQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100215- 
sha1:a0f3b6a )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10843) keycloak: improve support logging out

2023-01-27 Thread Niels Charlier (JIRA) via Geoserver-devel
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10843?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 ) GEOS-10843 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10843?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 ) keycloak: improve support logging out ( 
https://osgeo-org.atlassian.net/browse/GEOS-10843?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Security Created: 27/Jan/23 2:31 PM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Some keycloak server seem to require that you pass on the id token upon logging 
out. Furthermore, when getting the token, a ‘scope=openid’ needs to be 
specified.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10843#add-comment?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10843#add-comment?atlOrigin=eyJpIjoiOTllYjIyZmVmYmM1NGYxMDg5YWU4ODA0NTRkNzYzZmIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- 
sha1:c40e72a )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10802) CLONE - OGC API: queryables page crashed on complex features

2022-12-19 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10802?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 ) GEOS-10802 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10802?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 ) CLONE - OGC API: queryables page crashed on complex features ( 
https://osgeo-org.atlassian.net/browse/GEOS-10802?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 19/Dec/22 10:07 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

This makes that special characters, which are encoded in UTF-8 are displayed 
incorrectly in browsers.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10802#add-comment?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10802#add-comment?atlOrigin=eyJpIjoiMTFhNDExYmYwNmU4NDJhOGEzN2IyMmZkODc2OWJjZTUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:9b20a48 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10801) Taskmanager start-up keeps a very long transaction - causing time-out

2022-12-19 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10801?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 ) GEOS-10801 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10801?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 ) Taskmanager start-up keeps a very long transaction - causing time-out ( 
https://osgeo-org.atlassian.net/browse/GEOS-10801?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 19/Dec/22 9:50 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

When removing a configuration with clean-up, taskmanager should only remove the 
layer of the configuration and not the entire datastore with all of its layers.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10801#add-comment?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10801#add-comment?atlOrigin=eyJpIjoiYWM5NzlhYzUwZjQ3NDFlZjlhZDdkYmE2ZjIzZTRmYWUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:9b20a48 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10800) Taskmanager should sync all metadata when remotely publish a layer.

2022-12-19 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10800?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 ) GEOS-10800 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10800?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 ) Taskmanager should sync all metadata when remotely publish a layer. ( 
https://osgeo-org.atlassian.net/browse/GEOS-10800?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 19/Dec/22 9:47 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

When removing a configuration with clean-up, taskmanager should only remove the 
layer of the configuration and not the entire datastore with all of its layers.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10800#add-comment?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10800#add-comment?atlOrigin=eyJpIjoiN2YyMThkZDBlYjljNGY4OThkNzZmY2EwNTEwOTA3YjIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:9b20a48 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10799) Taskmanager: clean-up of configuration removes datastore which still contains layers

2022-12-19 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10799?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 ) GEOS-10799 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10799?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 ) Taskmanager: clean-up of configuration removes datastore which still 
contains layers ( 
https://osgeo-org.atlassian.net/browse/GEOS-10799?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Community modules Created: 19/Dec/22 9:43 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10799#add-comment?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10799#add-comment?atlOrigin=eyJpIjoiMGYyZGZhOTBjOTdhNDk1Y2EyNDcxYzk3ODY0NjEwNDQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:9b20a48 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10795) csw-iso: support custom queryable mappings + bounding box

2022-12-15 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10795?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 ) GEOS-10795 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10795?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 ) csw-iso: support custom queryable mappings + bounding box ( 
https://osgeo-org.atlassian.net/browse/GEOS-10795?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: CSW Created: 15/Dec/22 8:35 PM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Currently, the bounding box mapping, as well as the queryable → xpath mappings 
are hard coded as per the OGC specs for the iso metadata profile CSW.

There is a different use case where the metadata records are ‘service’ 
metadata, then the bounding box is stored in 
gmd:identificationInfo/srv:SV_ServiceIdentification/srv:extent/gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox

This improvement will allow both the queryable as well as the output mapping 
for bounding box to be configured.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10795#add-comment?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10795#add-comment?atlOrigin=eyJpIjoiMTIyYzFhNzVkNDE0NDY5NGE1ZTczY2RmMWNlOTU2ZjMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100212- 
sha1:e2fc486 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10726) OGC API: html pages missing content type/encodign header

2022-10-27 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10726?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 ) GEOS-10726 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10726?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 ) OGC API: html pages missing content type/encodign header ( 
https://osgeo-org.atlassian.net/browse/GEOS-10726?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 27/Oct/22 8:50 PM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

This makes that special characters, which are encoded in UTF-8 are displayed 
incorrectly in browsers.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10726#add-comment?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10726#add-comment?atlOrigin=eyJpIjoiMjkxYzM3MDM4YzRkNDExYmIwMmVhYzQ1NDlkZTUxZDIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- 
sha1:d23b292 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10719) app-schema GetFeature numberMatched breaks with views/tables without PK (test)

2022-10-22 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10719?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 ) GEOS-10719 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10719?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 ) app-schema GetFeature numberMatched breaks with views/tables without PK 
(test) ( 
https://osgeo-org.atlassian.net/browse/GEOS-10719?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 23/Oct/22 7:30 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

test for https://osgeo-org.atlassian.net/browse/GEOT-7248 ( 
https://osgeo-org.atlassian.net/browse/GEOT-7248 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10719#add-comment?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10719#add-comment?atlOrigin=eyJpIjoiOTRmYWYzZTg3N2Q5NDRhOGJlNGI2NDE1ZmQ2YjBkMzciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- 
sha1:392b984 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10654) app-schema GetFeature numberMatched fails with ID filter (test)

2022-09-16 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10654?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 ) GEOS-10654 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10654?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 ) app-schema GetFeature numberMatched fails with ID filter (test) ( 
https://osgeo-org.atlassian.net/browse/GEOS-10654?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 16/Sep/22 9:34 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10654#add-comment?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10654#add-comment?atlOrigin=eyJpIjoiNGNiMDcxMTMzZTNjNDdjNDliMDExMjcxNjBhMzY2YTIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- 
sha1:30c )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] app-schema numberMatched regression

2022-09-14 Thread Niels Charlier via Geoserver-devel

Hello Marco,

Thanks for clearing this up. I have made a PR 
https://github.com/geotools/geotools/pull/4016


Cheers

Niels

On 13/09/2022 08:10, Marco Volpini wrote:

Dear Niels,
thanks for your point. I think that the block can indeed be removed. I 
don't remember why I've added that but I did some tests and saw that 
actually the if statement will evaluate always to false on a property 
name since the namespace support  is null in the 
AttributeExpressionImpl object at that point. Moreover the 
JoiningJdbcFeatureSource does checks on its own to determine if the 
filter is over nested attributes or not.


Regards,

Marco Volpini

==GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for 
more information.==Marco Volpini


Software EngineerGeoSolutions Groupphone: +39 0584 962313

fax:     +39 0584 1660272


https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>

http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>

---


Con riferimento alla normativa sul trattamento dei dati personali 
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati 
“GDPR”), si precisa che ogni circostanza inerente alla presente email 
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui 
conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a 
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato 
se potesse darmene notizia.This email is intended only for the person 
or entity to which it is addressed and may contain information that is 
privileged, confidential or otherwise protected from disclosure. We 
remind that - as provided by European Regulation 2016/679 “GDPR” - 
copying, dissemination or use of this e-mail or the information herein 
by anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail.





width= 
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> 
	Privo di virus.www.avg.com 
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> 




On Mon, Sep 12, 2022 at 10:19 AM Niels Charlier  wrote:

Hello everyone,

I found a bug in app-schema that was recently introduced by
https://osgeo-org.atlassian.net/browse/GEOT-7214, a patch by Marco
Volpini, but I am a bit confused about the changes and would like to
know to what extent they are intentional. Bug logged at:
https://osgeo-org.atlassian.net/browse/GEOT-7214

The problem is situated here:

https://github.com/geotools/geotools/blob/main/modules/extension/app-schema/app-schema/src/main/java/org/geotools/data/complex/AppSchemaDataAccess.java#L311

It seems that the true block of the if statement does not unroll the
filter. But I am not sure if that could ever make sense or if this
was
somehow intentional. The changes are only tested by an online
integration test on the geoserver side
(GetFeatureNumberMatchedGMLTest).
The only test method that actually goes inside the true block of
the if
statement is a test without a filter, so this is actually not
being tested.

The problem occurs with an id filter rather than a property name
filter.
In this case the check does return true and since the filter is not
unrolled it cannot work. What should actually happen here?
Shouldn't I
simply remove this if-statement and always unroll the filter?

Kind Regards

Niels
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] app-schema numberMatched regression

2022-09-12 Thread Niels Charlier via Geoserver-devel

Hello everyone,

I found a bug in app-schema that was recently introduced by 
https://osgeo-org.atlassian.net/browse/GEOT-7214, a patch by Marco 
Volpini, but I am a bit confused about the changes and would like to 
know to what extent they are intentional. Bug logged at: 
https://osgeo-org.atlassian.net/browse/GEOT-7214


The problem is situated here: 
https://github.com/geotools/geotools/blob/main/modules/extension/app-schema/app-schema/src/main/java/org/geotools/data/complex/AppSchemaDataAccess.java#L311


It seems that the true block of the if statement does not unroll the 
filter. But I am not sure if that could ever make sense or if this was 
somehow intentional. The changes are only tested by an online 
integration test on the geoserver side (GetFeatureNumberMatchedGMLTest). 
The only test method that actually goes inside the true block of the if 
statement is a test without a filter, so this is actually not being tested.


The problem occurs with an id filter rather than a property name filter. 
In this case the check does return true and since the filter is not 
unrolled it cannot work. What should actually happen here? Shouldn't I 
simply remove this if-statement and always unroll the filter?


Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10524) CLONE - promote gs-metadata to extension (GSIP 212))

2022-06-02 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10524?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 ) GEOS-10524 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10524?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 ) CLONE - promote gs-metadata to extension (GSIP 212)) ( 
https://osgeo-org.atlassian.net/browse/GEOS-10524?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 02/Jun/22 11:05 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Proposal: https://github.com/geoserver/geoserver/wiki/GSIP-211

The CSW-ISO module provides support for ISO MEtadata Profile in the geoserver 
CSW extension. It was split off as a community module from the general CSW 
extension as to keep the implementation for the ISO metadata profile separate 
from the csw core functionality and the more basic DC metadata profile. At that 
time CSW-ISO profile implementation was still rather experimental and needed 
quite a bit of work to make it ready for production. In the meantime, CSW-ISO 
is in production with several users. It serves as one the essential modules 
(together with gs-metadata) to effectively use geoserver as the main storer and 
deliverer of CSW metadata that complies with the INSPIRE specifications. Part 
of the usual workflow is to transfer the metadata periodically from geoserver 
to a geonetwork server, allowing to use geonetwork as public service but keep 
the metadata close to the data. This works well.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10524#add-comment?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10524#add-comment?atlOrigin=eyJpIjoiZmE0NzgzZTlkZWM4NDc2Njk0ZWZiMDUzYWI0YzE5OGEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100199- 
sha1:0fcc664 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-05-16 Thread Niels Charlier via Geoserver-devel

Hello Jody,

Timothy and I worked on this project together for the same organisation 
(DOV); I believe they are the only ones who own the copyrights on the code.


The problem has been completely resolved now; DOV has signed and 
submitted the CLA for the modules that were contributed to geoserver.


Kind Regards

Niels

On 11/05/2022 01:44, Jody Garnett wrote:
Niels the trouble is one of the contributors does not have a CLA on 
file with OSGeo. We need to look up this individuals name so we can 
stop being vague on this topic.


@author Timothy De Bock - timothy.debock.git...@gmail.com

So if you want you can update the headers to say (based on Timothy's 
linked in profile):


  * (c) OSGeo and others

  * (c) OSGeo and Geo Solutions; or
  * (c) OSGeo and  Department of RWO; or
  * (c) OSGeo and  Department of DOV


Thank you for your patience on this topic; I want to be clear as 
others trying to figure this out the future can learn from this common 
example.


So two options:
a) the code was written by you (does not seem correct), and you have 
signed an OSGeo CLA (true), we bring it is as an extension like normal
b) the code was written by you and Timothy (or his employer, or on 
behalf of a customer), we update the header to say "(c) OSGeo and 
others" and include a LICENSE.md and NOTICE.md file in the extension 
folder


Aside I think you intended to link to 
https://github.com/geoserver/geoserver/wiki/GSIP-212 and 
https://github.com/geoserver/geoserver/wiki/GSIP-211

--
Jody Garnett


On May 10, 2022 at 11:56:28 AM, Niels Charlier  wrote:



On 10/05/2022 11:24, Andrea Aime wrote:
"found code" is for code that is license compatible, but for which 
we have no CLA on record, meaning we cannot mix it with other code 
that might
be donated back to GeoTools or otherwise relicensed at a later 
stage. So the module needs to be labelled and isolated.


Read carefully the "motivation" for the GSIP, and the proposal 
section as well: 
https://github.com/geoserver/geoserver/wiki/GSIP-186#motivation



So how would I in this particular case deal with these stipulations:

- "The licence is compatible with the GeoServer licence, and clearly 
identified both in the source code, in the documentation of the 
module, and in the module release zip package":


So can this just be geoserver license? There is no other license 
involved.


- The headers from the original files are maintained, and not updated 
to indicate (c) OSGeo Foundation.


But the headers already indicate this... Because the code was 
explicitly allowed to be donated to geoserver, I added the geoserver 
headers. There was never any other release of the code than this one.


Regards

Niels
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-05-10 Thread Niels Charlier via Geoserver-devel


On 10/05/2022 11:24, Andrea Aime wrote:
"found code" is for code that is license compatible, but for which we 
have no CLA on record, meaning we cannot mix it with other code that 
might
be donated back to GeoTools or otherwise relicensed at a later stage. 
So the module needs to be labelled and isolated.


Read carefully the "motivation" for the GSIP, and the proposal section 
as well: https://github.com/geoserver/geoserver/wiki/GSIP-186#motivation



So how would I in this particular case deal with these stipulations:

- "The licence is compatible with the GeoServer licence, and clearly 
identified both in the source code, in the documentation of the module, 
and in the module release zip package":


So can this just be geoserver license? There is no other license involved.

- The headers from the original files are maintained, and not updated to 
indicate (c) OSGeo Foundation.


But the headers already indicate this... Because the code was explicitly 
allowed to be donated to geoserver, I added the geoserver headers. There 
was never any other release of the code than this one.


Regards

Niels
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-05-10 Thread Niels Charlier via Geoserver-devel

Hello Andrea,

Indeed, he contributed as part of the same project. I don't know if he 
signed, I could check but I understand we need to get the organization 
to sign anyway, does it then still matter if they do?


About the "found code". I'm not sure if/how it applies, it is not that 
the code was released under a different license, it does not have any 
other headers then the osgeo ones. What would we need to do if we used 
that option?


Kind Regards

Niels

On 09/05/2022 12:00, Andrea Aime wrote:

Hi Niels,
there is a fair number of classes in the metadata module reporting 
another author as well:


src/main/java/org/geoserver/metadata/data/dto/AttributeConfiguration.java: 
* @author Timothy De Bock - timothy.debock.git...@gmail.com


We don't know how he is. Did he sign a CLA? Did the organization 
employing him?
If not, we can still proceed using the GSIP for "found code" I cited 
previously:

https://github.com/geoserver/geoserver/wiki/GSIP-186

Cheers
Andrea



On Tue, Apr 26, 2022 at 7:49 AM Niels Charlier  wrote:

Hi Jody, it was written by me who signed the CLA.

Kind Regards

Niels

On 25/04/2022 18:27, Jody Garnett wrote:

If the customer is willing to sign the code contribution thing,
which provides a section b to list the software being contributed
to osgeo that is the most clear thing.

This code was always developed in the shared repo by folks that
have signed the CLA? Or is their code that was copied on written
by others …

    On Sun, Apr 24, 2022 at 9:09 PM Niels Charlier 
wrote:

Hi,

The code is not released under a different license. I
contributed it under the CLA, which I signed. The question is
only if it is necessary for the organization who paid for the
work to sign the (corporate) CLA too. I thought Jody
suggested this was not strictly necessary if I got the
permission to contribute, perhaps he can clarify?

The issue is simply a matter of red tape, about who
should/can actually sign it; not an unwillingness to
contribute under the geoserver license.

Kind Regards

Niels

On 24/04/2022 10:25, Andrea Aime wrote:

Ah, I just remembered this one:

https://github.com/geoserver/geoserver/wiki/GSIP-186

This proposal allows to contribute without CLA, even at the
extension level (so far I believe we have only one at the
community module level, GSR).
Check out the restrictions for this kind of module.

Cheers
Andrea


    On Sun, Apr 24, 2022 at 10:08 AM Niels Charlier
 wrote:

I understood from Jody that nothing per se had to happen
("you should be good"). perhaps I misunderstood?

Kind Regards

Niels

On 24/04/2022 09:56, Andrea Aime wrote:

That said... while Jody did not vote, his CLA feedback
is valid. We can't have the metadata module if the CLA bit
has not been addressed. This is a blocker.

Cheers
Andrea

On Sun, Apr 24, 2022 at 9:55 AM Andrea Aime
 wrote:

Hi Niels,
let's see what the rules say:


https://docs.geoserver.org/latest/en/developer/policies/gsip.html#voting-on-a-gsip

In particular:

Voting remains open for ten days or until all
PSC members have cast their vote.
* At the end of ten days time any remaining
votes are assumed to be +0.

A GSIP is accepted if it receives:
* at least 30% “+1” votes, and
* no “-1” votes (or all feedback from any “-1”
votes has been addressed and any “-1” voters
have changed their votes)

Considering Jukka's last vote (still to be recorded
in the GSIPs) I believe both proposals have passed.

Cheers
Andrea

    On Sat, Apr 23, 2022 at 3:02 PM Niels Charlier via
Geoserver-devel
 wrote:

Thank you, Jukka!


Can I assume then that the absent votes are +0
and that both proposals are accepted?

Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

        -Jukka Rahkonen-

*Lähettäjä:* Niels Charlier via
Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett
 

Re: [Geoserver-devel] Geoserver 2.21-RC ready, available for testing, release notes for review

2022-05-08 Thread Niels Charlier via Geoserver-devel

Hi Thanks Jody,

But we're still blocked with the metadata module, they both need to be 
promoted so I might as well wait for the next version.


Kind Regards

Niels

On 08/05/2022 07:44, Jody Garnett wrote:
The GeoServer 2.21-RC release candidate is ready and available for 
download here 
https://sourceforge.net/projects/geoserver/files/GeoServer/2.21-RC/


I have done some pre-flight tests in tomcat, etc...

The release announcement is drafted and available as a PR here: 
https://github.com/geoserver/geoserver.github.io/pull/124


In writing the website layout for release_221.html I noted that the 
list of extensions 
 available 
for download does not quite match recent proposals 
:


  * The GSIP-210 Promote kml-ppio to extension
 proposal
has PR https://github.com/geoserver/geoserver/pull/5771 merged,
and ticket GEOS-10443
 closed, but
the fix version shows as 2.20.5, and I do not see any evidence of
the result being available as an extension for download. The
proposal indicates wps-kml-ppio should be created but that is not
available, checking the PR it looks like this is folded into the
ext-wps-plugin.zip...
Updated the wiki page and jira ticket, no change to downloads
required.
  * This GSIP-211 Promote css-iso to extension
 remains
open, I thought there was an active PR for this somewhere?
Niels if you wish to have this ready for the 2.21.0 release I will
help you make an additional RC2 this week

--
Jody Garnett


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-29 Thread Niels Charlier via Geoserver-devel

Hi,

For a community module promotion there is a step:

"Updating the website template to make the extension available."

Is this meant to add a link on this page:

https://geoserver.org/release/2.20.4/

And where does one modify this page?

Kind Regards

Niels

On 25/04/2022 18:27, Jody Garnett wrote:
If the customer is willing to sign the code contribution thing, which 
provides a section b to list the software being contributed to osgeo 
that is the most clear thing.


This code was always developed in the shared repo by folks that have 
signed the CLA? Or is their code that was copied on written by others …


On Sun, Apr 24, 2022 at 9:09 PM Niels Charlier  wrote:

Hi,

The code is not released under a different license. I contributed
it under the CLA, which I signed. The question is only if it is
necessary for the organization who paid for the work to sign the
(corporate) CLA too. I thought Jody suggested this was not
strictly necessary if I got the permission to contribute, perhaps
he can clarify?

The issue is simply a matter of red tape, about who should/can
actually sign it; not an unwillingness to contribute under the
geoserver license.

Kind Regards

Niels

On 24/04/2022 10:25, Andrea Aime wrote:

Ah, I just remembered this one:

https://github.com/geoserver/geoserver/wiki/GSIP-186

This proposal allows to contribute without CLA, even at the
extension level (so far I believe we have only one at the
community module level, GSR).
Check out the restrictions for this kind of module.

Cheers
Andrea


On Sun, Apr 24, 2022 at 10:08 AM Niels Charlier 
wrote:

I understood from Jody that nothing per se had to happen
("you should be good"). perhaps I misunderstood?

Kind Regards

Niels

On 24/04/2022 09:56, Andrea Aime wrote:

That said... while Jody did not vote, his CLA feedback is
valid. We can't have the metadata module if the CLA bit
has not been addressed. This is a blocker.

Cheers
Andrea

On Sun, Apr 24, 2022 at 9:55 AM Andrea Aime
 wrote:

Hi Niels,
let's see what the rules say:


https://docs.geoserver.org/latest/en/developer/policies/gsip.html#voting-on-a-gsip

In particular:

Voting remains open for ten days or until all PSC
members have cast their vote.
* At the end of ten days time any remaining votes
are assumed to be +0.

A GSIP is accepted if it receives:
* at least 30% “+1” votes, and
* no “-1” votes (or all feedback from any “-1” votes
has been addressed and any “-1” voters have changed
their votes)

Considering Jukka's last vote (still to be recorded in
the GSIPs) I believe both proposals have passed.

Cheers
Andrea

    On Sat, Apr 23, 2022 at 3:02 PM Niels Charlier via
Geoserver-devel 
wrote:

Thank you, Jukka!


Can I assume then that the absent votes are +0 and
that both proposals are accepted?

Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

-Jukka Rahkonen-

*Lähettäjä:* Niels Charlier via Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett

<mailto:jody.garn...@gmail.com>
*Kopio:* Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Aihe:* Re: [Geoserver-devel] proposals: promote
metadata and csw-iso to extensions

Hello everyone,

So if I get it right GSIP-311 has sufficient votes
(three +1, no -1), but GSIP-312 doesn't (no -1, but
only two +1). Does anyone else still want to add a
vote?

Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question;
if you did the work on behalf of a particular
government department and had their
permission/authority to donate to OSGeo then
you should be good. If you are really
interested in being careful you could ask the
manager (whoever paid you or authorized the
work) to sign a "Corporate con

Re: [Geoserver-devel] Problems building GeoServer documentation

2022-04-27 Thread Niels Charlier via Geoserver-devel
Ah! Thanks. The pip instructions for windows (although I use linux) 
fixed the problem. Sphinx outdated or missing modules?


Kind Regards

Niels

On 27/04/2022 11:27, Andrea Aime wrote:

Hi Niels,
they were linked from Jody's first message in this thread. Here it is:
https://github.com/GeoCat/geocat-themes/blob/master/README.md

Cheers
Andrea

On Wed, Apr 27, 2022 at 7:42 AM Niels Charlier  wrote:

Hi Jody,

I get the error after cleaning, I also get it without any changes
(on an updated and untouched main branch).

Note that the error is:

 [exec] Theme error:
 [exec] An error happened in rendering the page background.
 [exec] Reason: UndefinedError("'root_doc' is undefined")

Exactly the same as what Andrea had. I was hoping he could clarify
how he resolved it? (Not sure where to find the 'GeoCat docs' for
this issue)

Kind Regards

Niels

On 27/04/2022 02:28, Jody Garnett wrote:

Try a clean first, and review your change for any toctree
directive changes. As indicated this is sometimes an issue with
parent / child relationships.

Jody

    On Tue, Apr 26, 2022 at 12:27 AM Niels Charlier via
Geoserver-devel  wrote:

Hello Ian,

Yes, I get the same error from sphinx as Andrea did  back then.

Kind Regards

Niels

On 26/04/2022 12:18, Ian Turton wrote:

I just go to docs/en and do mvn install - do you have sphinx
installed?

Ian

    On Tue, 26 Apr 2022 at 11:11, Niels Charlier via
Geoserver-devel  wrote:

Andrea,

I keep having this issue. What do you mean exactly with
the instructions on the GeoCat site? I cannot resolve it.

Kind Regards

Niels

On 13/10/2021 09:42, Andrea Aime wrote:

Hi Jody,
I just followed the instructions on the GeoCat site and
then, it built.
No changes in the docs.

However, it was building just fine until some time ago
(weeks?) so some recent change must have broken
a previously working setup, and now requires a more
recent sphinx version, it seems.

Cheers
Andrea


On Tue, Oct 12, 2021 at 7:20 PM Jody Garnett
 wrote:

Oh I know this one, it often annoys me when doing
theme development it usually has to do with parent
/ child table of contents relationships being
messed up somehow. Sometimes if you are just doing
incremental builds locally you can introduce a
problem of this nature...

Let me check out main and build all the docs.
--
Jody Garnett


On Tue, 12 Oct 2021 at 01:42, Andrea Aime
 wrote:

Something has changed recently that broke the
build for me too:

sphinx:
     [echo] Running sphinx-build -D
release=2.21-SNAPSHOT -W -b html -d
"/home/aaime/devel/git-gs/doc/en/target/docguide/doctrees"
.
"/home/aaime/devel/git-gs/doc/en/target/docguide/html"
     [exec]

/usr/local/lib/python2.7/dist-packages/sphinx/util/nodes.py:94:
FutureWarning:
     [exec]    The iterable returned by
Node.traverse()
     [exec]    will become an iterator instead
of a list in Docutils > 0.16.
     [exec]   for classifier in
reversed(node.parent.traverse(nodes.classifier)):

     [exec] Theme error:
     [exec] An error happened in rendering the
page background.
     [exec] Reason: UndefinedError("'root_doc'
is undefined",)

Did not touch the system installation, has
built the docs fine till some time ago Some
recent change in the sphinx setup has made the
instructions "outdated".
Tried the instructions from the GeoCat docs,
they worked.

Cheers
Andrea


On Sat, Oct 9, 2021 at 5:48 PM Jody Garnett
 wrote:

Peter,

A number of osgeo projects use this python
/ sphinx stack for documentation
management. For geoserver we use python 3
(which defaults to utc-8) rather than
python 2 which has been 

Re: [Geoserver-devel] Problems building GeoServer documentation

2022-04-26 Thread Niels Charlier via Geoserver-devel

Hi Jody,

I get the error after cleaning, I also get it without any changes (on an 
updated and untouched main branch).


Note that the error is:

 [exec] Theme error:
 [exec] An error happened in rendering the page background.
 [exec] Reason: UndefinedError("'root_doc' is undefined")

Exactly the same as what Andrea had. I was hoping he could clarify how 
he resolved it? (Not sure where to find the 'GeoCat docs' for this issue)


Kind Regards

Niels

On 27/04/2022 02:28, Jody Garnett wrote:
Try a clean first, and review your change for any toctree directive 
changes. As indicated this is sometimes an issue with parent / child 
relationships.


Jody

On Tue, Apr 26, 2022 at 12:27 AM Niels Charlier via Geoserver-devel 
 wrote:


Hello Ian,

Yes, I get the same error from sphinx as Andrea did back then.

Kind Regards

Niels

On 26/04/2022 12:18, Ian Turton wrote:

I just go to docs/en and do mvn install - do you have sphinx
installed?

Ian

On Tue, 26 Apr 2022 at 11:11, Niels Charlier via Geoserver-devel
 wrote:

Andrea,

I keep having this issue. What do you mean exactly with the
instructions on the GeoCat site? I cannot resolve it.

Kind Regards

Niels

On 13/10/2021 09:42, Andrea Aime wrote:

Hi Jody,
I just followed the instructions on the GeoCat site and
then, it built.
No changes in the docs.

However, it was building just fine until some time ago
(weeks?) so some recent change must have broken
a previously working setup, and now requires a more recent
sphinx version, it seems.

Cheers
Andrea


On Tue, Oct 12, 2021 at 7:20 PM Jody Garnett
 wrote:

Oh I know this one, it often annoys me when doing theme
development it usually has to do with parent / child
table of contents relationships being messed up somehow.
Sometimes if you are just doing incremental builds
locally you can introduce a problem of this nature...

Let me check out main and build all the docs.
--
Jody Garnett


On Tue, 12 Oct 2021 at 01:42, Andrea Aime
 wrote:

Something has changed recently that broke the build
for me too:

sphinx:
     [echo] Running sphinx-build -D
release=2.21-SNAPSHOT -W -b html -d
"/home/aaime/devel/git-gs/doc/en/target/docguide/doctrees"
. "/home/aaime/devel/git-gs/doc/en/target/docguide/html"
     [exec]
/usr/local/lib/python2.7/dist-packages/sphinx/util/nodes.py:94:
FutureWarning:
     [exec]    The iterable returned by Node.traverse()
     [exec]    will become an iterator instead of a
list in Docutils > 0.16.
     [exec]   for classifier in
reversed(node.parent.traverse(nodes.classifier)):

     [exec] Theme error:
     [exec] An error happened in rendering the page
background.
     [exec] Reason: UndefinedError("'root_doc' is
undefined",)

Did not touch the system installation, has built the
docs fine till some time ago Some recent change
in the sphinx setup has made the instructions
"outdated".
Tried the instructions from the GeoCat docs, they
worked.

Cheers
Andrea


On Sat, Oct 9, 2021 at 5:48 PM Jody Garnett
 wrote:

Peter,

A number of osgeo projects use this python /
sphinx stack for documentation management.  For
geoserver we use python 3 (which defaults to
utc-8) rather than python 2 which has been
discontinued.

The instructions (
https://docs.geoserver.org/latest/en/docguide/install.html
) appear a little of out of date. Here are some
I have written more recently

(https://github.com/GeoCat/geocat-themes/blob/master/README.md).

Jody

On Wed, Oct 6, 2021 at 11:15 AM Peter Smythe
 wrote:

Hi all

I am able to successfully build the main
branch of GeoServer src with Maven.  That is
not a problem.

However, I am struggling to build the
documentation, both on Windows and Ubuntu. 

Re: [Geoserver-devel] Problems building GeoServer documentation

2022-04-26 Thread Niels Charlier via Geoserver-devel

Hello Ian,

Yes, I get the same error from sphinx as Andrea did  back then.

Kind Regards

Niels

On 26/04/2022 12:18, Ian Turton wrote:

I just go to docs/en and do mvn install - do you have sphinx installed?

Ian

On Tue, 26 Apr 2022 at 11:11, Niels Charlier via Geoserver-devel 
 wrote:


Andrea,

I keep having this issue. What do you mean exactly with the
instructions on the GeoCat site? I cannot resolve it.

Kind Regards

Niels

On 13/10/2021 09:42, Andrea Aime wrote:

Hi Jody,
I just followed the instructions on the GeoCat site and then, it
built.
No changes in the docs.

However, it was building just fine until some time ago (weeks?)
so some recent change must have broken
a previously working setup, and now requires a more recent sphinx
version, it seems.

Cheers
Andrea


On Tue, Oct 12, 2021 at 7:20 PM Jody Garnett
 wrote:

Oh I know this one, it often annoys me when doing theme
development it usually has to do with parent / child table of
contents relationships being messed up somehow. Sometimes if
you are just doing incremental builds locally you can
introduce a problem of this nature...

Let me check out main and build all the docs.
--
Jody Garnett


On Tue, 12 Oct 2021 at 01:42, Andrea Aime
 wrote:

Something has changed recently that broke the build for
me too:

sphinx:
     [echo] Running sphinx-build -D release=2.21-SNAPSHOT
-W -b html -d
"/home/aaime/devel/git-gs/doc/en/target/docguide/doctrees"
. "/home/aaime/devel/git-gs/doc/en/target/docguide/html"
     [exec]
/usr/local/lib/python2.7/dist-packages/sphinx/util/nodes.py:94:
FutureWarning:
     [exec]    The iterable returned by Node.traverse()
     [exec]    will become an iterator instead of a list
in Docutils > 0.16.
     [exec]   for classifier in
reversed(node.parent.traverse(nodes.classifier)):

     [exec] Theme error:
     [exec] An error happened in rendering the page
background.
     [exec] Reason: UndefinedError("'root_doc' is
undefined",)

Did not touch the system installation, has built the docs
fine till some time ago Some recent change in the
sphinx setup has made the instructions "outdated".
Tried the instructions from the GeoCat docs, they worked.

Cheers
Andrea


On Sat, Oct 9, 2021 at 5:48 PM Jody Garnett
 wrote:

Peter,

A number of osgeo projects use this python / sphinx
stack for documentation management.  For geoserver we
use python 3 (which defaults to utc-8) rather than
python 2 which has been discontinued.

The instructions (
https://docs.geoserver.org/latest/en/docguide/install.html
) appear a little of out of date. Here are some I
have written more recently
(https://github.com/GeoCat/geocat-themes/blob/master/README.md).

Jody

On Wed, Oct 6, 2021 at 11:15 AM Peter Smythe
 wrote:

Hi all

I am able to successfully build the main branch
of GeoServer src with Maven.  That is not a problem.

However, I am struggling to build the
documentation, both on Windows and Ubuntu.  These
are the steps I have followed:

cd doc/en
mvn clean install -e -X alternatively   mvn
compile -Puser -e -X

The problem appears to be with sphinx-build, from
the logs:

sphinx:
     [echo] Running sphinx-build -D
release=2.21-SNAPSHOT -W -b html -d
"/home/peters/geoserver-source/doc/e
n/target/docguide/doctrees" .
"/home/peters/geoserver-source/doc/en/target/docguide/html"

     [exec] Theme error:
     [exec] An error happened in rendering the
page background.
     [exec] Reason:
*TypeError('quote_from_bytes() expected bytes')*
[INFO]


[INFO] BUILD FAILURE
[INFO]


 

Re: [Geoserver-devel] Problems building GeoServer documentation

2022-04-26 Thread Niels Charlier via Geoserver-devel

Andrea,

I keep having this issue. What do you mean exactly with the instructions 
on the GeoCat site? I cannot resolve it.


Kind Regards

Niels

On 13/10/2021 09:42, Andrea Aime wrote:

Hi Jody,
I just followed the instructions on the GeoCat site and then, it built.
No changes in the docs.

However, it was building just fine until some time ago (weeks?) so 
some recent change must have broken
a previously working setup, and now requires a more recent sphinx 
version, it seems.


Cheers
Andrea


On Tue, Oct 12, 2021 at 7:20 PM Jody Garnett  
wrote:


Oh I know this one, it often annoys me when doing theme
development it usually has to do with parent / child table of
contents relationships being messed up somehow. Sometimes if you
are just doing incremental builds locally you can introduce a
problem of this nature...

Let me check out main and build all the docs.
--
Jody Garnett


On Tue, 12 Oct 2021 at 01:42, Andrea Aime
 wrote:

Something has changed recently that broke the build for me too:

sphinx:
     [echo] Running sphinx-build -D release=2.21-SNAPSHOT -W
-b html -d
"/home/aaime/devel/git-gs/doc/en/target/docguide/doctrees" .
"/home/aaime/devel/git-gs/doc/en/target/docguide/html"
     [exec]
/usr/local/lib/python2.7/dist-packages/sphinx/util/nodes.py:94:
FutureWarning:
     [exec]    The iterable returned by Node.traverse()
     [exec]    will become an iterator instead of a list in
Docutils > 0.16.
     [exec]   for classifier in
reversed(node.parent.traverse(nodes.classifier)):

     [exec] Theme error:
     [exec] An error happened in rendering the page background.
     [exec] Reason: UndefinedError("'root_doc' is undefined",)

Did not touch the system installation, has built the docs fine
till some time ago Some recent change in the sphinx setup
has made the instructions "outdated".
Tried the instructions from the GeoCat docs, they worked.

Cheers
Andrea


On Sat, Oct 9, 2021 at 5:48 PM Jody Garnett
 wrote:

Peter,

A number of osgeo projects use this python / sphinx stack
for documentation management. For geoserver we use python
3 (which defaults to utc-8) rather than python 2 which has
been discontinued.

The instructions (
https://docs.geoserver.org/latest/en/docguide/install.html
) appear a little of out of date. Here are some I have
written more recently
(https://github.com/GeoCat/geocat-themes/blob/master/README.md).

Jody

On Wed, Oct 6, 2021 at 11:15 AM Peter Smythe
 wrote:

Hi all

I am able to successfully build the main branch of
GeoServer src with Maven.  That is not a problem.

However, I am struggling to build the documentation,
both on Windows and Ubuntu. These are the steps I have
followed:

cd doc/en
mvn clean install -e -X alternatively   mvn compile
-Puser -e -X

The problem appears to be with sphinx-build, from the
logs:

sphinx:
     [echo] Running sphinx-build -D
release=2.21-SNAPSHOT -W -b html -d
"/home/peters/geoserver-source/doc/e          
n/target/docguide/doctrees" .
"/home/peters/geoserver-source/doc/en/target/docguide/html"

     [exec] Theme error:
     [exec] An error happened in rendering the page
background.
     [exec] Reason: *TypeError('quote_from_bytes()
expected bytes')*
[INFO]


[INFO] BUILD FAILURE
[INFO]


[INFO] Total time:  16.325 s

These are the versions.

python -V
Python 2.7.18
sphinx-build --version
sphinx-build 3.5.2

If the problem is with python2, I have tried to
alias python=python3
python -V
Python 3.8.10
and that also does not help.

Attached is the full output from maven, if that helps.

Can anyone guide me on what the problem might be, please?

Thanks

Peter
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lis

[Geoserver-devel] [JIRA] (GEOS-10472) promote gs-csw-iso to extension (GSIP 211)

2022-04-26 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10472?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 ) GEOS-10472 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10472?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 ) promote gs-csw-iso to extension (GSIP 211) ( 
https://osgeo-org.atlassian.net/browse/GEOS-10472?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 26/Apr/22 9:10 AM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

https://github.com/geoserver/geoserver/wiki/GSIP-211

( 
https://osgeo-org.atlassian.net/browse/GEOS-10472#add-comment?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10472#add-comment?atlOrigin=eyJpIjoiZjA0MjZkMDc2N2UzNGE3ZjlhYmI0ZDc2YjBjZWZjMGEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198- 
sha1:e4e2d96 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-25 Thread Niels Charlier via Geoserver-devel

Hi Jody, it was written by me who signed the CLA.

Kind Regards

Niels

On 25/04/2022 18:27, Jody Garnett wrote:
If the customer is willing to sign the code contribution thing, which 
provides a section b to list the software being contributed to osgeo 
that is the most clear thing.


This code was always developed in the shared repo by folks that have 
signed the CLA? Or is their code that was copied on written by others …


On Sun, Apr 24, 2022 at 9:09 PM Niels Charlier  wrote:

Hi,

The code is not released under a different license. I contributed
it under the CLA, which I signed. The question is only if it is
necessary for the organization who paid for the work to sign the
(corporate) CLA too. I thought Jody suggested this was not
strictly necessary if I got the permission to contribute, perhaps
he can clarify?

The issue is simply a matter of red tape, about who should/can
actually sign it; not an unwillingness to contribute under the
geoserver license.

Kind Regards

Niels

On 24/04/2022 10:25, Andrea Aime wrote:

Ah, I just remembered this one:

https://github.com/geoserver/geoserver/wiki/GSIP-186

This proposal allows to contribute without CLA, even at the
extension level (so far I believe we have only one at the
community module level, GSR).
Check out the restrictions for this kind of module.

Cheers
Andrea


On Sun, Apr 24, 2022 at 10:08 AM Niels Charlier 
wrote:

I understood from Jody that nothing per se had to happen
("you should be good"). perhaps I misunderstood?

Kind Regards

Niels

On 24/04/2022 09:56, Andrea Aime wrote:

That said... while Jody did not vote, his CLA feedback is
valid. We can't have the metadata module if the CLA bit
has not been addressed. This is a blocker.

Cheers
Andrea

On Sun, Apr 24, 2022 at 9:55 AM Andrea Aime
 wrote:

Hi Niels,
let's see what the rules say:


https://docs.geoserver.org/latest/en/developer/policies/gsip.html#voting-on-a-gsip

In particular:

Voting remains open for ten days or until all PSC
members have cast their vote.
* At the end of ten days time any remaining votes
are assumed to be +0.

A GSIP is accepted if it receives:
* at least 30% “+1” votes, and
* no “-1” votes (or all feedback from any “-1” votes
has been addressed and any “-1” voters have changed
their votes)

Considering Jukka's last vote (still to be recorded in
the GSIPs) I believe both proposals have passed.

Cheers
Andrea

On Sat, Apr 23, 2022 at 3:02 PM Niels Charlier via
Geoserver-devel 
wrote:

Thank you, Jukka!


Can I assume then that the absent votes are +0 and
that both proposals are accepted?

Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

-Jukka Rahkonen-

    *Lähettäjä:* Niels Charlier via Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett

<mailto:jody.garn...@gmail.com>
*Kopio:* Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Aihe:* Re: [Geoserver-devel] proposals: promote
metadata and csw-iso to extensions

Hello everyone,

So if I get it right GSIP-311 has sufficient votes
(three +1, no -1), but GSIP-312 doesn't (no -1, but
only two +1). Does anyone else still want to add a
vote?

Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question;
if you did the work on behalf of a particular
government department and had their
permission/authority to donate to OSGeo then
you should be good. If you are really
interested in being careful you could ask the
manager (whoever paid you or authorized the
work) to sign a "Corporate contributor license

<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>",
and name the body of the work (metadata and
 

Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-25 Thread Niels Charlier via Geoserver-devel

Hi,

The code is not released under a different license. I contributed it 
under the CLA, which I signed. The question is only if it is necessary 
for the organization who paid for the work to sign the (corporate) CLA 
too. I thought Jody suggested this was not strictly necessary if I got 
the permission to contribute, perhaps he can clarify?


The issue is simply a matter of red tape, about who should/can actually 
sign it; not an unwillingness to contribute under the geoserver license.


Kind Regards

Niels

On 24/04/2022 10:25, Andrea Aime wrote:

Ah, I just remembered this one:

https://github.com/geoserver/geoserver/wiki/GSIP-186

This proposal allows to contribute without CLA, even at the 
extension level (so far I believe we have only one at the community 
module level, GSR).

Check out the restrictions for this kind of module.

Cheers
Andrea


On Sun, Apr 24, 2022 at 10:08 AM Niels Charlier  wrote:

I understood from Jody that nothing per se had to happen ("you
should be good"). perhaps I misunderstood?

Kind Regards

Niels

On 24/04/2022 09:56, Andrea Aime wrote:

That said... while Jody did not vote, his CLA feedback is valid.
We can't have the metadata module if the CLA bit
has not been addressed. This is a blocker.

Cheers
Andrea

On Sun, Apr 24, 2022 at 9:55 AM Andrea Aime
 wrote:

Hi Niels,
let's see what the rules say:


https://docs.geoserver.org/latest/en/developer/policies/gsip.html#voting-on-a-gsip

In particular:

Voting remains open for ten days or until all PSC members
have cast their vote.
* At the end of ten days time any remaining votes are
assumed to be +0.

A GSIP is accepted if it receives:
* at least 30% “+1” votes, and
* no “-1” votes (or all feedback from any “-1” votes has
been addressed and any “-1” voters have changed their votes)

Considering Jukka's last vote (still to be recorded in the
GSIPs) I believe both proposals have passed.

Cheers
Andrea

On Sat, Apr 23, 2022 at 3:02 PM Niels Charlier via
Geoserver-devel  wrote:

Thank you, Jukka!


Can I assume then that the absent votes are +0 and that
both proposals are accepted?

Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

-Jukka Rahkonen-

    *Lähettäjä:* Niels Charlier via Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett 
<mailto:jody.garn...@gmail.com>
*Kopio:* Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Aihe:* Re: [Geoserver-devel] proposals: promote
metadata and csw-iso to extensions

Hello everyone,

So if I get it right GSIP-311 has sufficient votes
(three +1, no -1), but GSIP-312 doesn't (no -1, but only
two +1). Does anyone else still want to add a vote?

Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question; if you
did the work on behalf of a particular government
department and had their permission/authority to
donate to OSGeo then you should be good. If you are
really interested in being careful you could ask the
manager (whoever paid you or authorized the work) to
sign a "Corporate contributor license

<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>",
and name the body of the work (metadata and csw-iso)
as the contributed work in "Schedule B" at the
bottom of the document.

Although it says "corporate" it is really:

​"You" (or "Your") shall mean the copyright
owner or legal entity authorized by the
copyright owner that is making this Agreement
with the Foundation. "You" (or "Your") shall
mean the copyright owner or legal entity
authorized by the copyright owner that is making
this Agreement with the Foundation.

So a government should be able to sign it.

--

Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via
Geoserver-devel
 wrote:

  

Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-24 Thread Niels Charlier via Geoserver-devel
I understood from Jody that nothing per se had to happen ("you should be 
good"). perhaps I misunderstood?


Kind Regards

Niels

On 24/04/2022 09:56, Andrea Aime wrote:
That said... while Jody did not vote, his CLA feedback is valid. We 
can't have the metadata module if the CLA bit

has not been addressed. This is a blocker.

Cheers
Andrea

On Sun, Apr 24, 2022 at 9:55 AM Andrea Aime 
 wrote:


Hi Niels,
let's see what the rules say:


https://docs.geoserver.org/latest/en/developer/policies/gsip.html#voting-on-a-gsip

In particular:

Voting remains open for ten days or until all PSC members have
cast their vote.
* At the end of ten days time any remaining votes are assumed
to be +0.

A GSIP is accepted if it receives:
* at least 30% “+1” votes, and
* no “-1” votes (or all feedback from any “-1” votes has been
addressed and any “-1” voters have changed their votes)

Considering Jukka's last vote (still to be recorded in the GSIPs)
I believe both proposals have passed.

Cheers
Andrea

On Sat, Apr 23, 2022 at 3:02 PM Niels Charlier via Geoserver-devel
 wrote:

Thank you, Jukka!


Can I assume then that the absent votes are +0 and that both
proposals are accepted?

Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

-Jukka Rahkonen-

    *Lähettäjä:* Niels Charlier via Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett 
<mailto:jody.garn...@gmail.com>
*Kopio:* Geoserver-devel

<mailto:geoserver-devel@lists.sourceforge.net>
*Aihe:* Re: [Geoserver-devel] proposals: promote metadata and
csw-iso to extensions

Hello everyone,

So if I get it right GSIP-311 has sufficient votes (three +1,
no -1), but GSIP-312 doesn't (no -1, but only two +1). Does
anyone else still want to add a vote?

Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question; if you did
the work on behalf of a particular government department
and had their permission/authority to donate to OSGeo
then you should be good. If you are really interested in
being careful you could ask the manager (whoever paid you
or authorized the work) to sign a "Corporate contributor
license

<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>",
and name the body of the work (metadata and csw-iso) as
the contributed work in "Schedule B" at the bottom of the
document.

Although it says "corporate" it is really:

​"You" (or "Your") shall mean the copyright owner or
legal entity authorized by the copyright owner that
is making this Agreement with the Foundation. "You"
(or "Your") shall mean the copyright owner or legal
entity authorized by the copyright owner that is
making this Agreement with the Foundation.

So a government should be able to sign it.

--

Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via
Geoserver-devel 
wrote:

Hello,

I have written up two proposals to promote community
modules "metadata"
and "csw-iso" to extensions.

https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all
okay. Please discuss.

One question about copyrights though: the metadata
module was mostly
written by me (who signed CLA) as part of a contract
particular
government department. I believe they technically
have copyrights, and
agreed to open source it. What would be required
though? Should they
sign CLA for businesses?

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


___
Geoserver-devel mailing list

Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-23 Thread Niels Charlier via Geoserver-devel

Thank you, Jukka!


Can I assume then that the absent votes are +0 and that both proposals 
are accepted?


Kind Regards

Niels

On 21/04/2022 12:39, Rahkonen Jukka (MML) wrote:


+1 for both GSIP-311 and GSIP-312.

-Jukka Rahkonen-

*Lähettäjä:* Niels Charlier via Geoserver-devel 


*Lähetetty:* torstai 21. huhtikuuta 2022 12.01
*Vastaanottaja:* Jody Garnett 
*Kopio:* Geoserver-devel 
*Aihe:* Re: [Geoserver-devel] proposals: promote metadata and csw-iso 
to extensions


Hello everyone,

So if I get it right GSIP-311 has sufficient votes (three +1, no -1), 
but GSIP-312 doesn't (no -1, but only two +1). Does anyone else still 
want to add a vote?


Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question; if you did the work
on behalf of a particular government department and had their
permission/authority to donate to OSGeo then you should be good.
If you are really interested in being careful you could ask the
manager (whoever paid you or authorized the work) to sign a
"Corporate contributor license
<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>",
and name the body of the work (metadata and csw-iso) as the
contributed work in "Schedule B" at the bottom of the document.

Although it says "corporate" it is really:

​"You" (or "Your") shall mean the copyright owner or legal
entity authorized by the copyright owner that is making this
Agreement with the Foundation. "You" (or "Your") shall mean
the copyright owner or legal entity authorized by the
copyright owner that is making this Agreement with the
Foundation.

So a government should be able to sign it.

--

Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via Geoserver-devel
 wrote:

Hello,

I have written up two proposals to promote community modules
"metadata"
and "csw-iso" to extensions.

https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all okay.
Please discuss.

One question about copyrights though: the metadata module was
mostly
written by me (who signed CLA) as part of a contract particular
government department. I believe they technically have
copyrights, and
agreed to open source it. What would be required though?
Should they
sign CLA for businesses?

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-21 Thread Niels Charlier via Geoserver-devel

Hello everyone,

So if I get it right GSIP-311 has sufficient votes (three +1, no -1), 
but GSIP-312 doesn't (no -1, but only two +1). Does anyone else still 
want to add a vote?


Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question; if you did the work on 
behalf of a particular government department and had their 
permission/authority to donate to OSGeo then you should be good. If 
you are really interested in being careful you could ask the manager 
(whoever paid you or authorized the work) to sign a "Corporate 
contributor license 
<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>", 
and name the body of the work (metadata and csw-iso) as the 
contributed work in "Schedule B" at the bottom of the document.


Although it says "corporate" it is really:

​"You" (or "Your") shall mean the copyright owner or legal entity 
authorized by the copyright owner that is making this Agreement with 
the Foundation. "You" (or "Your") shall mean the copyright owner or 
legal entity authorized by the copyright owner that is making this 
Agreement with the Foundation.


So a government should be able to sign it.
--
Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via Geoserver-devel 
 wrote:

Hello,

I have written up two proposals to promote community modules "metadata"
and "csw-iso" to extensions.

https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all okay. Please discuss.

One question about copyrights though: the metadata module was mostly
written by me (who signed CLA) as part of a contract particular
government department. I believe they technically have copyrights, and
agreed to open source it. What would be required though? Should they
sign CLA for businesses?

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-11 Thread Niels Charlier via Geoserver-devel

Hello Mats,

That is because geoserver by default doesn't have any metadata fields 
for storing dates of creation and modification.


This is where the metadata module comes in handy. There you can add 
unlimited amount of date fields to your layer and configure them with 
UI. It also provides support for timestamping the metadata changes 
automatically. The documentation for metadata module is here: 
https://docs.geoserver.org/stable/en/user/community/metadata/index.html


This might also be very useful to you: 
https://docs.geoserver.org/latest/en/user/tutorials/metadata/index.html
We put all our configuration files on there to share, so people can 
immediately find examples that work.


Kind Regards

Niels


On 11/04/2022 12:36, Mats Elfström wrote:

Hi Niels! Aim high, hit low.
There seems to be no disagreement on your original proposal, and I 
also believe that the bug here lies in the documentation. And trust 
me, I'd be happy to contribute a working setup if I could manage to 
put one together.
My goal is to publish geodata on Geoserver and add a little more 
metadata to the CSW than the simple WMS provides when harvested to 
Geonetwork. And I think CSW-ISO would do the trick. But this line in 
the mapping file stops the harvester:

$dateStamp.Date= if_then_else ( isNull("metadata.date") , 'Unknown', 
"metadata.date")
Since I cannot figure out how to populate metadata.date the returned 
date will be 'Unknown' which Geonetwork refuses to accept.
The Creation date would do fine, but I would like to add a Revision 
date as well since the underlying PostGIS data will change.
I have asked for help on several mailing lists to no avail. If these 
parameters are documented, please link me to that. I should not be 
that hard to figure out.


Regards, Mats.E

Den mån 11 apr. 2022 kl 09:43 skrev Niels Charlier via Ge
Coserver-devel :

Hello Mats and Richard,

Thank you for your feedback. I hear two signals from you:

(1) there is demand for the functionality of these modules;
(2) they are currently too hard to deploy and configure, or in other
words there is demand for better support.

Considering these points I think it would be good to get more
discussion/questions on here and jira issue tracking going on for
these
modules. I am absolutely willing to respond to your
questions/problems,
if I have missed anything that was sent to this ML I do apologize. I
also hope that with the promotion of the modules we will make
progress
in this department.

I can assure that the modules do work and have been put to use by
different people. If there are issues with initial deployment,
they are
probably easy to solve if reported (I often work directly from custom
builds, so that is why I might not be aware). But the modules
should not
be merged; they each have use cases separate from each other and
serve
different purposes. Perhaps their build could be combined into a
single
zip file, but I doubt that would be such a time saver.

I do agree that the configuration is really a very big bottleneck,
and
that is harder to solve:

- for CSW, the so-called "mapping file" is an absolute disaster for
ISO/inspire. The system was created (by me, I admit) as it was an
easy,
quick and convenient way to set-up very basic, simple metadata in
Dublin
Core. But for ISO/inspire the mapping file becomes a monster that is
extremely hard to set up and maintain. I believe CSW needs a new
configuration system, using templates that are more intuitive and
maintainable. So if anyone would fund me writing that, I would
give much
applause.

- for the metadata module, I am quite happy with the configuration
system. Yes, it is also quite complicated, but that complication is a
necessary consequence of the advanced customization that is
possible. So
it might be necessary for a new user to familiarize themselves
with the
module and all its possibilities. If people can't figure it out, I
would
say it must be a problem of documentation, so perhaps feedback and
issue
reporting could help to improve that.

Kind Regards

Niels


On 09/04/2022 11:55, Richard Duivenvoorde wrote:
> Hi List,
>
> My 1c: fully agree with Mats, being somebody getting cold when
hearing
> 'metadata' and 'csw' in one sentence, I was still eager to try
to test
> this in geoserver, hoping I could make this work as csw in QGIS...
>
> But I failed miserably too (even asked mr Geonetwork for help),
> because of our inexperience with all the metadata lingua (profiles,
> mappings to fields, several xml files to edit etc etc) and just the
> inability to add some custom fields.
>
> I hope this proposal woul

Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-11 Thread Niels Charlier via Geoserver-devel

Hello Mats and Richard,

Thank you for your feedback. I hear two signals from you:

(1) there is demand for the functionality of these modules;
(2) they are currently too hard to deploy and configure, or in other 
words there is demand for better support.


Considering these points I think it would be good to get more 
discussion/questions on here and jira issue tracking going on for these 
modules. I am absolutely willing to respond to your questions/problems, 
if I have missed anything that was sent to this ML I do apologize. I 
also hope that with the promotion of the modules we will make progress 
in this department.


I can assure that the modules do work and have been put to use by 
different people. If there are issues with initial deployment, they are 
probably easy to solve if reported (I often work directly from custom 
builds, so that is why I might not be aware). But the modules should not 
be merged; they each have use cases separate from each other and serve 
different purposes. Perhaps their build could be combined into a single 
zip file, but I doubt that would be such a time saver.


I do agree that the configuration is really a very big bottleneck, and 
that is harder to solve:


- for CSW, the so-called "mapping file" is an absolute disaster for 
ISO/inspire. The system was created (by me, I admit) as it was an easy, 
quick and convenient way to set-up very basic, simple metadata in Dublin 
Core. But for ISO/inspire the mapping file becomes a monster that is 
extremely hard to set up and maintain. I believe CSW needs a new 
configuration system, using templates that are more intuitive and 
maintainable. So if anyone would fund me writing that, I would give much 
applause.


- for the metadata module, I am quite happy with the configuration 
system. Yes, it is also quite complicated, but that complication is a 
necessary consequence of the advanced customization that is possible. So 
it might be necessary for a new user to familiarize themselves with the 
module and all its possibilities. If people can't figure it out, I would 
say it must be a problem of documentation, so perhaps feedback and issue 
reporting could help to improve that.


Kind Regards

Niels


On 09/04/2022 11:55, Richard Duivenvoorde wrote:

Hi List,

My 1c: fully agree with Mats, being somebody getting cold when hearing 
'metadata' and 'csw' in one sentence, I was still eager to try to test 
this in geoserver, hoping I could make this work as csw in QGIS...


But I failed miserably too (even asked mr Geonetwork for help), 
because of our inexperience with all the metadata lingua (profiles, 
mappings to fields, several xml files to edit etc etc) and just the 
inability to add some custom fields.


I hope this proposal would make this a little easier :-)

Regards,

Richard

On 4/9/22 11:10, Mats Elfström wrote:

Hi! My 2c on this proposal.
I have been struggling trying to make use of Geoserver as a metadata 
repository and source for published geodata. With no success. Even a 
vanilla installation, using unaltered sample configuration files, 
fails to generate any output that Geonetwork harvester will accept.
The geoserver subsystem for metadata involves 4 extensions, two of 
which are community and two are supported extensions. Promoting the 
two community modules is a good start. Maybe this will ensure that 
these four modules will work together as expected.
But I would like to propose an even bolder approach. To me, CSW, 
Metadata and ISO-INSPIRE are parts of a whole and would perhaps be 
easier to install, configure and maintain if combined into a single 
extension? If I may be so bold? And even further, made part of 
Geoserver core.
Metadata is the most important single factor for the availability and 
useability of geodata, and Geoserver is an important player in this 
field. Given that PostGIS lacks a built-in metadata function, 
Geoserver could fill that void, even if only for published data.
Some have suggested that the lack of interest in the csw-metadata 
parts of Geoserver is due to the fact that very few use it. But is 
that because it is not needed, or because it is too hard to set up 
and configure?

Best regards, Mats.E

Den fre 8 apr. 2022 kl 14:28 skrev Niels Charlier via Geoserver-devel 
<mailto:geoserver-devel@lists.sourceforge.net>>:


    Hi Simone,

    Thanks for your vote. Yes I am available for all questions 
regarding the modules and general maintenance as required or 
requested by the PSC .


    Kind Regards

    Niels

    On 06/04/2022 15:49, Simone Giannecchini wrote:

    Hi Niels,
    I'd say +1 as we use at least CSW quite a lot ourselves.

    I am assuming you are also stepping up to supporting people's 
questions on the ML and keeping the modules following the general 
GeoServer development.


    Regards,
    Simone Giannecchini
    ==
    Professional Support for GeoNode, GeoServer and MapStore from 
the experts!
    Visit htt

Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-08 Thread Niels Charlier via Geoserver-devel

Hi Simone,

Thanks for your vote. Yes I am available for all questions regarding the 
modules and general maintenance as required or requested by the PSC .


Kind Regards

Niels

On 06/04/2022 15:49, Simone Giannecchini wrote:

Hi Niels,
I'd say +1 as we use at least CSW quite a lot ourselves.

I am assuming you are also stepping up to supporting people's 
questions on the ML and keeping the modules following the general 
GeoServer development.


Regards,
Simone Giannecchini
==
Professional Support for GeoNode, GeoServer and MapStore from the experts!
Visit http://bit.ly/gs-services for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director GeoSolutions Italy
President GeoSolutions USA

phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928
US: +1 (845) 547-7905

http://www.geosolutionsgroup.com
http://twitter.com/geosolutions_it

---
This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential 
or otherwise protected from disclosure. We remind that - as provided 
by European Regulation 2016/679 “GDPR” - copying, dissemination or use 
of this e-mail or the information herein by anyone other than the 
intended recipient is prohibited. If you have received this email by 
mistake, please notify us immediately by telephone or e-mail.



On Tue, Apr 5, 2022 at 5:43 AM Jody Garnett  
wrote:


Hey Niels!

Not quite sure I understand the CLA question; if you did the work
on behalf of a particular government department and had their
permission/authority to donate to OSGeo then you should be good.
If you are really interested in being careful you could ask the
manager (whoever paid you or authorized the work) to sign a
"Corporate contributor license
<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>",
and name the body of the work (metadata and csw-iso) as the
contributed work in "Schedule B" at the bottom of the document.

Although it says "corporate" it is really:


​"You" (or "Your") shall mean the copyright owner or legal entity
authorized by the copyright owner that is making this Agreement
with the Foundation. "You" (or "Your") shall mean the copyright
owner or legal entity authorized by the copyright owner that is
making this Agreement with the Foundation.


So a government should be able to sign it.
--
Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via Geoserver-devel
 wrote:

Hello,

I have written up two proposals to promote community modules
"metadata"
and "csw-iso" to extensions.

https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all okay. Please
discuss.

One question about copyrights though: the metadata module was mostly
written by me (who signed CLA) as part of a contract particular
government department. I believe they technically have
copyrights, and
agreed to open source it. What would be required though? Should they
sign CLA for businesses?

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-08 Thread Niels Charlier via Geoserver-devel

Hi Jody,

You answered the question. Good to hear that you see no problem. They 
are willing to sign, but they just can't figure out who specifically 
should sign it, lol.


Kind Regards

Niels

On 05/04/2022 05:42, Jody Garnett wrote:

Hey Niels!

Not quite sure I understand the CLA question; if you did the work on 
behalf of a particular government department and had their 
permission/authority to donate to OSGeo then you should be good. If 
you are really interested in being careful you could ask the manager 
(whoever paid you or authorized the work) to sign a "Corporate 
contributor license 
<https://www.osgeo.org/wp-content/uploads/corporate_contributor.pdf>", 
and name the body of the work (metadata and csw-iso) as the 
contributed work in "Schedule B" at the bottom of the document.


Although it says "corporate" it is really:

​"You" (or "Your") shall mean the copyright owner or legal entity 
authorized by the copyright owner that is making this Agreement with 
the Foundation. "You" (or "Your") shall mean the copyright owner or 
legal entity authorized by the copyright owner that is making this 
Agreement with the Foundation.


So a government should be able to sign it.
--
Jody Garnett


On Apr 4, 2022 at 4:49:08 AM, Niels Charlier via Geoserver-devel 
 wrote:

Hello,

I have written up two proposals to promote community modules "metadata"
and "csw-iso" to extensions.

https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all okay. Please discuss.

One question about copyrights though: the metadata module was mostly
written by me (who signed CLA) as part of a contract particular
government department. I believe they technically have copyrights, and
agreed to open source it. What would be required though? Should they
sign CLA for businesses?

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] proposals: promote metadata and csw-iso to extensions

2022-04-04 Thread Niels Charlier via Geoserver-devel

Hello,

I have written up two proposals to promote community modules "metadata" 
and "csw-iso" to extensions.


https://github.com/geoserver/geoserver/wiki/GSIP-311

https://github.com/geoserver/geoserver/wiki/GSIP-312

I believe stability, test coverage, users, are all okay. Please discuss.

One question about copyrights though: the metadata module was mostly 
written by me (who signed CLA) as part of a contract particular 
government department. I believe they technically have copyrights, and 
agreed to open source it. What would be required though? Should they 
sign CLA for businesses?


Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10447) support Metadata for Services (SRV) in csw-iso

2022-04-04 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10447?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 ) GEOS-10447 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10447?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 ) support Metadata for Services (SRV) in csw-iso ( 
https://osgeo-org.atlassian.net/browse/GEOS-10447?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: CSW Created: 04/Apr/22 9:50 AM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

There is currently no support for Metadata for Services (SRV) namespace and 
schemas in csw-iso

( 
https://osgeo-org.atlassian.net/browse/GEOS-10447#add-comment?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10447#add-comment?atlOrigin=eyJpIjoiYTM4YTk5ZGFkYjU3NDYwNDlkYWUzYTY0MjAzYTc5NDEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100197- 
sha1:2d13dc2 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10403) new coverage via REST overwrites SRS and SRS handling with native srs.

2022-03-01 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10403?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 ) GEOS-10403 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10403?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 ) new coverage via REST overwrites SRS and SRS handling with native srs. ( 
https://osgeo-org.atlassian.net/browse/GEOS-10403?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Main, REST Created: 01/Mar/22 12:00 PM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

When a coverage is created via REST with (declared) SRS and SRS handling 
explicitly specified in xml body, this gets overwritten by the native SRS by 
the “initCoverage” method in catalogbuilder.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10403#add-comment?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10403#add-comment?atlOrigin=eyJpIjoiNzY2MzBlNjBmZTk1NDgzNjg4YTMxODJlZTMxY2VjYTIiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100192- 
sha1:31e1add )
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10390) Concurrency issues with SecuredResourceNameChangeListener when renaming layers simultaneously

2022-02-16 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10390?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 ) GEOS-10390 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10390?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 ) Concurrency issues with SecuredResourceNameChangeListener when renaming 
layers simultaneously ( 
https://osgeo-org.atlassian.net/browse/GEOS-10390?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 16/Feb/22 10:06 AM Environment:

Admittedly somewhat of an obscure problem. We have a set-up where layers are 
nightly being republished automatically (using task-manager). This involves 
renaming resources, in which also security rules need to be updated. However, 
since SecuredResourceNameChangeListener is not thread-safe, it regularly 
happens that some security rules are not updating because of several tasks 
happening simultaneously.

Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10390#add-comment?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10390#add-comment?atlOrigin=eyJpIjoiZjM5MTE4NWFiMGQ2NGVmZTg1ODdkOTg5YjYyY2JlZDciLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100191- 
sha1:831671b )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] srv-namespace missing in CSW-service

2022-01-05 Thread Niels Charlier via Geoserver-devel

Dear Mats and Heiko,

Andrea is mostly right; however one correction: I do not mind at all 
giving free email support for problems with installation and 
configuration of the community modules (not for actual dev/depl work of 
course). However, it is true that it is often necessary to ping me 
specifically, unfortunately.


I can assure you that the modules do work, since they are in use by 
several government departments (not all of them deployed by me). It is 
definitely possible the documentation needs improvement, so it would be 
great to hear the issues that others are having with it.


It would actually be in the interest of the current users if the modules 
were used by more users, and they are very aware of that.


Kind Regards

Niels

On 05/01/2022 19:40, Andrea Aime wrote:
On Wed, Jan 5, 2022 at 12:56 PM Mats Elfström 
mailto:mats.elfst...@giskraft.se>> wrote:


Hi Friedrich!
I am afraid that the whole geoserver csw and metadata subsystems
seem broken (CSW-plugin, the CSW-ISO-plugin, meta-data plugin and
the INSPIRE plugin).


The part that is supported is the CSW core with Dublin Core records 
only. The others are marked as unsupported for a reason :-)


Since it is a mix of supported and unsupported plugins, no one
seems able to even identify what needs to be done.


This is incorrect. There are plenty of people that could, but it would 
require significant effort, more than can be spent answering a mail.
The ISO plugin was written by Niels Charlier on behalf of Boundless. 
Boundless is no more, Niels showed no desire to get
involved with user support on the free channels... As a result, nobody 
can give you the "5 minutes answer", the only type of

answer that you'll get on this list, or on stack overflow.

There are other options, but they involve spending money:

  * Contact Niels and get a contract to solve your particular problem.
  * Contact any commercial support provider
<http://geoserver.org/support/> involving a core developer. These
people can use part of the contract to get up to speed with the
module, and provide a fix. This would come with a significant
by-product, core developers _are_ answering on this list...
meaning you'll open the path for simple free answers in the
future. It does not have to be you, but there needs to be a seed
customer that triggers this process.

I have been struggling with this since summer, and I can tell you
this: Following the installation and configuring advice in the
manual does not work. Perhaps this is the error, and the plugins
actually do work. One cannot tell.
Another advice I got is that no one uses these extensions, which
may be why no one cares to fix them.


As far as I know, there is just one user (and guess who's providing 
support and development to them?).

Same happens for the meta-data module.

Cheers
Andrea
==

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for 
more information.==Ing. Andrea Aime @geowolfTechnical Lead


GeoSolutions Groupphone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  333 8128928


https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>

http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>

---


Con riferimento alla normativa sul trattamento dei dati personali 
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati 
“GDPR”), si precisa che ogni circostanza inerente alla presente email 
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui 
conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a 
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato 
se potesse darmene notizia.This email is intended only for the person 
or entity to which it is addressed and may contain information that is 
privileged, confidential or otherwise protected from disclosure. We 
remind that - as provided by European Regulation 2016/679 “GDPR” - 
copying, dissemination or use of this e-mail or the information herein 
by anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] srv-namespace missing in CSW-service

2022-01-05 Thread Niels Charlier via Geoserver-devel

Hello Heiko,

I believe the namespaces for CSW-ISO are hard coded in 
org.geoserver.csw.records.iso.MetaDataDescriptor, though I cannot 
guarantee that adding it there is all that is needed to resolve your 
issue. Perhaps it would be interesting making this a configurable thing.


Kind Regards

Niels

On 05/01/2022 12:13, Friedrich, Heiko wrote:


Hello everybody,

I tried wo write that problem to the issue-board ( 
https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues 
 
) but I can’t login although I have an account. So I trie it here, 
maybe somebody can help.


We are using the geoserver CSW-plugin, the CSW-ISO-plugin and the 
meta-data plugin. In one of these plugins the namespaces for the 
CSW-service is set. I don’t know in which of these.


Unfortunately the srv-namespace is missing ( 
xmlns:srv=http://www.isotc211.org/2005/srv 
 ). (In CSW-services from other 
mapservers the srv-namespace is available, e.g.: 
https://geoportal-hamburg.de/metaver_de/csw?service=CSW&request=GetRecordById&version=2.0.2&outputschema=http:%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementsetname=full&id=9784D2A9-AEEA-46DF-9FAD-2FA14BFCA00D 
 
)


Before we updated to geoserver version 2.20.1 there was also the 
gml-namespace missing, but know it works… J


Maybe somebody can tell me in which of the plugins the namespace is 
set, if I can configure it somewhere of if it is a bug and it has to 
be fixed?


Kind regards!

Heiko Friedrich

PS:

If it helps, the x-path confiugred in the MD_Metadata.properties 
should look like this:


identificationInfo.SV_ServiceIdentification.serviceType.LocalName.@codeSpace= 
identificationInfo.SV_ServiceIdentification.serviceTypeVersion.CharacterString= 
identificationInfo.SV_ServiceIdentification.couplingType.SV_CouplingType@codeList= 
identificationInfo.SV_ServiceIdentification.containsOperations.SV_OperationMetadata.operationName.CharacterString= 
identificationInfo.SV_ServiceIdentification.operatesOn.@href=



Diese E-Mail enthaelt vertrauliche und⁄oder rechtlich geschuetzte 
Informationen.Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser Mail oder von Teilen dieser Mail 
ist nicht gestattet.
Wir haben alle verkehrsueblichen Massnahmen unternommen, um das Risiko 
der Verbreitung virenbefallener E-Mail zu minimieren, dennoch raten 
wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhaenge an dieser 
Nachricht durchzufuehren. Wir schliessen die Haftung fuer jeglichen 
Verlust oder Schaeden durch virenbefallene E-Mail aus.

*Stadt Norderstedt*
*Die Oberbuergermeisterin***

http://www.norderstedt.de 




___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] [Geotools-devel] reprojections and multiple geometries

2021-10-17 Thread Niels Charlier via Geoserver-devel

Hello everyone,

Thanks for your comments. I suggest then that I implement the behaviour 
as it was suggested in the example of WFS 2.0 specs, since this is also 
the least invasive for the geotools/geoserver code, and there don't 
appear to be any particular objections against it. I suggest also 
however, that I add a boolean parameter to the method in the CRS utility 
class "allowDifferentDimension" so that the method is generic enough for 
other purposes and its behaviour with regards to dimensional differences 
is clear.


Is this a solution that makes sense ?

Kind Regards

Niels

On 1/10/2021 09:43, Andrea Aime wrote:
On Mon, Oct 11, 2021 at 7:05 PM Niels Charlier <mailto:ni...@scitus.be>> wrote:


Hello Andrea,

I did not mean to misrepresent you. I actually thought your
suggestion made sense. The new method in the CRS class is
(currently) only intended for reprojection.


The CRS class is a generic facade to the capabilities of the 
referencing subsystem, exposing some of its functionality in a simpler 
way.
Its javadoc states "Simple utility class for making use of the 
{@linkplain CoordinateReferenceSystem coordinate
 reference system} and associated {@linkplain 
org.opengis.referencing.Factory} implementations."


While most of the methods deal with reprojection, some have nothing to 
do with it, like "lookupIdentifier". The class is definitely
not meant to be restricted to reprojection alone, nor has a specific 
focus on WFS related activities.
As said before, it should represent the true capabilities of the 
referencing subsystem, modules that need specific restrictions

should have their

As far as the standard goes, I was referring to the ""OGC® Web
Feature Service 2.0 Interface Standard – With Corrigendum"

sections: 7.9.2.4.4 srsName parameter
(https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95
<https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95>)
and 7.9.2.4.4.2 compatibly coordinate systems

And in particular this example:
"EXAMPLE: A feature with both 2D and 3D geometry properties is
requested with srsName set to a 2D CRS; the 2D property is encoded
in the requested CRS, and the 3D property is encoded with some 3D
CRS identified in the srsName of the geometry."

Oh, quite interesting!
In the meantime, I've got this two bits of response:

- Regarding OGC API - Features: "if the server implements Part 2 and a 
CRS is specified then all geometries in the response must be 
reprojected to the requested CRS in the response."
- Regarding WFS: " WFS is a little more flexible since you can have 
multiple queries in one request each in a different CRS"


I've added the quote above in my chat with the OGC people, let's see 
if it stirs up more feedback.
If you want to participate directly, get on gitter and get in this 
chat: https://gitter.im/opengeospatial/WFS_FES 
<https://gitter.im/opengeospatial/WFS_FES>


Cheers
Andrea
==

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for 
more information.==Ing. Andrea Aime @geowolfTechnical Lead


GeoSolutions Groupphone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  333 8128928


https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>

http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>

---


Con riferimento alla normativa sul trattamento dei dati personali 
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati 
“GDPR”), si precisa che ogni circostanza inerente alla presente email 
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui 
conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a 
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato 
se potesse darmene notizia.This email is intended only for the person 
or entity to which it is addressed and may contain information that is 
privileged, confidential or otherwise protected from disclosure. We 
remind that - as provided by European Regulation 2016/679 “GDPR” - 
copying, dissemination or use of this e-mail or the information herein 
by anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] [Geotools-devel] reprojections and multiple geometries

2021-10-11 Thread Niels Charlier via Geoserver-devel

Hello Andrea,

I did not mean to misrepresent you. I actually thought your suggestion 
made sense. The new method in the CRS class is (currently) only intended 
for reprojection.


As far as the standard goes, I was referring to the ""OGC® Web Feature 
Service 2.0 Interface Standard – With Corrigendum"


sections: 7.9.2.4.4 srsName parameter 
(https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95 
<https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95>)

and 7.9.2.4.4.2 compatibly coordinate systems

And in particular this example:
"EXAMPLE: A feature with both 2D and 3D geometry properties is requested 
with srsName set to a 2D CRS; the 2D property is encoded in the 
requested CRS, and the 3D property is encoded with some 3D CRS 
identified in the srsName of the geometry."


Kind Regards

Niels

On 11/10/2021 17:41, Andrea Aime wrote:
On Mon, Oct 11, 2021 at 3:21 PM Niels Charlier via GeoTools-Devel 
<mailto:geotools-de...@lists.sourceforge.net>> wrote:


2) allow reprojection 3D->2D and only prevent 2D->3D reprojection
(Andrea's suggestion). 



Before this gets out of hand, my suggestion is limited to the CRS 
class 
<https://github.com/geotools/geotools/pull/3642#discussion_r721165134>.
The class is not WFS specific, and should be representing the 
abilities of GeoTools
coordinate reference subsystem truthfully, rather than being bent to 
the needs

of a specific WFS use case.

The WFS related issue starts appearing at upper levels... but far 
sooner than WFS itself,
because the GeoTools Query API is inspired by the WFS API (has only 
one target CRS)
and the basic reprojection utility classes are geared towards the same 
model, e.g.,

ReprojectFeatureReader.

That said, I don't believe the standard has suggestions as to what to 
do regarding
reprojection of multiple geometry fields but I'm asking the OGC 
experts about it.

Will report back here when I have an answer.

I might have missed some bits of the discussion, sorry, trying to do 
too many things today...
but I felt I was being mis-represented and had to put a stop to it 
sooner rather than later.


Cheers
Andrea

==

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us <http://bit.ly/gs-services-us>for 
more information.==Ing. Andrea Aime @geowolfTechnical Lead


GeoSolutions Groupphone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  333 8128928


https://www.geosolutionsgroup.com/ <https://www.geosolutionsgroup.com/>

http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>

---


Con riferimento alla normativa sul trattamento dei dati personali 
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati 
“GDPR”), si precisa che ogni circostanza inerente alla presente email 
(il suo contenuto, gli eventuali allegati, etc.) è un dato la cui 
conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a 
cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato 
se potesse darmene notizia.This email is intended only for the person 
or entity to which it is addressed and may contain information that is 
privileged, confidential or otherwise protected from disclosure. We 
remind that - as provided by European Regulation 2016/679 “GDPR” - 
copying, dissemination or use of this e-mail or the information herein 
by anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] reprojections and multiple geometries

2021-10-11 Thread Niels Charlier via Geoserver-devel

Hello Jukka,

Thanks for your answer. I guess I wanted to ask the opinion of the 
community on how to proceed. I see at this point two options:


1) stick with the suggestion of the standard, and do not project 3D->2D. 
(The easiest solution, what I already have).


2) allow reprojection 3D->2D and only prevent 2D->3D reprojection 
(Andrea's suggestion). This will require quite a lot of further core 
changes:
- modification of Query in geotools to allow reprojection per geometry 
(with backwards compatibility for the current existing fields).
- modification of GetFeature implementation in geoserver so that without 
srsName specified, the 'right' geometries are being reprojected to the 
right CRS.


Kind Regards

Niels

On 09/10/2021 15:00, Rahkonen Jukka (MML) wrote:

Hi,

If I understand right your message and the standard, WFS 2.0 does not have any 
support for reprojecting both 2D and 3D geometries with a single request 
because srsName can appear only once in GetFeature.  So if srsName is some 2D 
crs then 3D geometry is not projected and if srsName is some 3D crs then the 2D 
geometry is not projected. That feels suboptimal.

I agree that transforming 3D CRS into 2D when there is no srsName in GetFeature 
request is clearly unwanted behaviour. Otherwise I think that WFS 2.0 does not 
feel ready for handling reprojection of multiple geometries in different native 
CRS. The solution could to make it possible in WFS to give a separate srsName 
for each geometry. It seems that the problem will be the same with OGC API 
Features. The core says that features may have several geometries but the crs 
extension supports only one crs in the items request.

It may be impossible to do this with so that it is both right according to the 
standards and reasonable for the users but I wish you a good luck.

-Jukka Rahkonen-


-Alkuperäinen viesti-
Lähettäjä: Niels Charlier via Geoserver-devel 

Lähetetty: lauantai 9. lokakuuta 2021 15.05
Vastaanottaja: Geotools-Devel list ; 
Geoserver-devel 
Aihe: [Geoserver-devel] reprojections and multiple geometries
D-
Hello Everyone,

I am sending this email to both geotools and geoserver lists because the matter 
concerns both.

I recently made a PR to improve geotools/geoserver behaviour with respect to 
multiple geometries that have different CRS.
(https://github.com/geotools/geotools/pull/3642) One of the matters that is 
being discussed between Andrea and me is the expected behaviour on reprojection.

I attempted to follow the instructions and examples given for the "srsName" 
parameter specified by the OCR WFS2.0 specs
(https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95
<https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95>) These seem to 
suggest that geometries that have a 'incompatible' CRS are simply not reprojected, 
without failure. The only example given for 'incompatibility' is having a different 
dimension. Andrea noted that transformation only fails in the direction 2D->3D while 
it works the other way around, so that it should still be reprojected in that case.
However, the example given in the specs suggests explicitely that a 3D geometry 
would not be converted to a 2D srsName. This seems to be what is expected in my 
use case as well.

The problem is complicated further by the fact that in geoserver, the 
implementation of GetFeature sometimes explicitly specifies a reprojection CRS 
in the query, even if there was no srsName in the http request (the reason has 
something to do with how different wfs versions handle crs encoding and axis 
order. ) What would happen then is that even when no srsName is specified, the 
3D CRS is always being transformed to 2D, which is clearly unwanted behaviour.

Inspire schemas often require feature types with a (primary) 2D geometry and a 
(secondary) 3D geometry.

Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] reprojections and multiple geometries

2021-10-09 Thread Niels Charlier via Geoserver-devel

Hello Everyone,

I am sending this email to both geotools and geoserver lists because the 
matter concerns both.


I recently made a PR to improve geotools/geoserver behaviour with 
respect to multiple geometries that have different CRS. 
(https://github.com/geotools/geotools/pull/3642) One of the matters that 
is being discussed between Andrea and me is the expected behaviour on 
reprojection.


I attempted to follow the instructions and examples given for the 
"srsName" parameter specified by the OCR WFS2.0 specs 
(https://docs.opengeospatial.org/is/09-025r2/09-025r2.html#95 
) These 
seem to suggest that geometries that have a 'incompatible' CRS are 
simply not reprojected, without failure. The only example given for 
'incompatibility' is having a different dimension. Andrea noted that 
transformation only fails in the direction 2D->3D while it works the 
other way around, so that it should still be reprojected in that case. 
However, the example given in the specs suggests explicitely that a 3D 
geometry would not be converted to a 2D srsName. This seems to be what 
is expected in my use case as well.


The problem is complicated further by the fact that in geoserver, the 
implementation of GetFeature sometimes explicitly specifies a 
reprojection CRS in the query, even if there was no srsName in the http 
request (the reason has something to do with how different wfs versions 
handle crs encoding and axis order. ) What would happen then is that 
even when no srsName is specified, the 3D CRS is always being 
transformed to 2D, which is clearly unwanted behaviour.


Inspire schemas often require feature types with a (primary) 2D geometry 
and a (secondary) 3D geometry.


Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10246) jdbcconfig: performance slow-down from unnecessary transaction s

2021-09-23 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10246?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 ) GEOS-10246 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10246?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 ) jdbcconfig: performance slow-down from unnecessary transaction s ( 
https://osgeo-org.atlassian.net/browse/GEOS-10246?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: JDBCConfig Created: 23/Sep/21 2:41 PM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Jdbcconfig suffers from a serious performance slowdown because it opens 
transactions, when the data is in the cache and the database isn't used.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10246#add-comment?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10246#add-comment?atlOrigin=eyJpIjoiYjZlMWQ3MTk1NzNlNGE2NThiMTA4YTg0NDllNWNkMjEiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100178- 
sha1:b30d6b7 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10245) jdbcconfig: prefixedName filter field not updated

2021-09-23 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10245?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 ) GEOS-10245 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10245?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 ) jdbcconfig: prefixedName filter field not updated ( 
https://osgeo-org.atlassian.net/browse/GEOS-10245?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: JDBCConfig Created: 23/Sep/21 2:36 PM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

After changing the name of a resource/layer, the layer prefixedName filter 
attribute is not updated in the database. This makes filters that use this 
property (such as securedcatalog.list) fail.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10245#add-comment?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10245#add-comment?atlOrigin=eyJpIjoiZDgzNmQyNzU3NTFhNDllNWExNzBmMjRhM2JjYWUzMGUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100178- 
sha1:b30d6b7 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-10146) App-schema: support for multiple geometries with different CRS

2021-07-14 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 ) GEOS-10146 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 ) App-schema: support for multiple geometries with different CRS ( 
https://osgeo-org.atlassian.net/browse/GEOS-10146?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: Application schema Created: 14/Jul/21 10:50 AM Priority: Medium 
Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

Geotools in general and app-schema specifically has unpredictable and buggy 
behaviour when you use multiple geometries in features, particularly if they 
have different CRS.

There are various assumptions in the code that a feature type only has one 
single CRS. App-schema will use the first CRS it finds in the source type and 
list this for any geometry. On reprojection, there will be an attempt to 
reproject all geometries, which will fail if they are not all in the same CRS.

Expected behaviour is that the different CRS can be in a complex type, and that 
reprojection only reproject the default geometry.

One remark: it is necessary that the default geometry in your complex type is 
also the first geometry in your source table column list. It is unlikely to 
avoid this curiosity because it would require far too many core changes to 
avoid it (the first geometry is assumed to be the default in a simple type). 
But at least if this is done, it should work.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10146#add-comment?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10146#add-comment?atlOrigin=eyJpIjoiZGQ0NTRhYmZmYzhhNDA4MGI0ZDNjMjZhNjhhNjI0MGMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100168- 
sha1:61fd6a1 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] powermock for unit tests in app-schema

2021-03-23 Thread Niels Charlier via Geoserver-devel

Yes, I managed to get rid of powermock and use mockito this way. Thanks.

As a side note though, you can't treat powermock as an alternative for 
those other two. Powermock is always used in combination with (and 
depending on) one of those two (you must use either powermock-easymock 
or powermockito), it adds support for final classes, but also for 
example private and static methods. . Everyone who used powermock also 
used mockito or easymock. Mockito and easymock are however always 
entirely replaceable for each other.


Considering the popularity, if you'd want to clean things up, it would 
make sense to get rid in the first place of easymock and 
powermock-easymock, and only use mockito and powermockito. Then you'd 
have the same mock API everywhere and less dependencies. You wouldn't so 
easily be able to get rid of powermock, because people would have used 
it for a reason.


Kind Regards

Niels

On 09/03/2021 12:09, Andrea Aime wrote:
Another consideration... what is the "popularity" of the mocking 
libraries in the code?

I made a very quick check (yes, debatable, I know):

~/devel/git-gt (main) $ git grep mockito | wc -l
114
~/devel/git-gt (main) $ git grep easymock | wc -l
67
~/devel/git-gt (main) $ git grep powermock | wc -l
23

Then I looked at Mockito, and it seems we're depending on a fairly 
recent version.

And then stumbled into this:
https://www.baeldung.com/mockito-final

Hmm... so maybe Mockito too can handle final classes?

Cheers
Andrea


On Tue, Mar 9, 2021 at 11:49 AM Andrea Aime 
mailto:andrea.a...@geo-solutions.it>> 
wrote:


Hi all,
chiming in... indeed Nuno's comment was not against unit testing
with mocks (that's good per se),
but about the proliferation of mock testing libraries:
https://github.com/geotools/geotools/pull/3367#issuecomment-791476559

I also agree there are too many.

By the way, just a note, wiremock solves a different problem than
the other mocking libraries,
it provides an actual HTTP server that can be used to test systems
which do not allow injection
of a local mock.

Cheers
Andrea



On Tue, Mar 9, 2021 at 11:42 AM Mark Prins mailto:mc.pr...@gmail.com>> wrote:

On 08-03-2021 13:01, Niels Charlier via Geoserver-devel wrote:
> Hello,
>
> I fixed a bug in geoserver app-schema
> (https://github.com/geotools/geotools/pull/3367
> https://osgeo-org.atlassian.net/browse/GEOT-6801). The
change I made was
> very small (one character actually) and in one specific
class. To me it
> seemed appropriate to write a unit test. Since it is JDBC an
integration
> test would only be run online with db, but still require a
lot of amount
> of work to create the right table, mapping etc... Mocking
seems useful
> to me.

searching the code [1] shows we have many, many mocking
frameworks
already EasyMock, PowerMock, Mockito, WireMock, ...  some of
which are
only used in one unsupported module.

It seems powermock is only used in unsupported modules, so my
preference
would be to not add this to the core but use one of the other
mocking
frameworks already used in the core if possible.


[1] https://github.com/geotools/geotools/search?q=mock

Mark


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



-- 


Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A
55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272
mob: +39 339 8844549 http://www.geo-solutions.it
http://twitter.com/geosolutions_it
--- /Con
riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati
“GDPR”), si precisa che ogni circostanza inerente alla presente
email (il suo contenuto, gli eventuali allegati, etc.) è un dato
la cui conoscenza è riservata al/i solo/i destinatario/i indicati
dallo scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei
comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may
contain information that is privileged, confidential or otherwise
protected from disclosure. We remind that - as provided by
European Reg

[Geoserver-devel] [JIRA] (GEOS-9993) wcs GetCoverage outputformat gml should return gmlcov:rangeType, not gml:rangeType

2021-03-23 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9993?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 ) GEOS-9993 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9993?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 ) wcs GetCoverage outputformat gml should return gmlcov:rangeType, not 
gml:rangeType ( 
https://osgeo-org.atlassian.net/browse/GEOS-9993?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.19-RC Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: WCS Created: 23/Mar/21 11:33 AM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

this appears to be wrong, it is correct in describecoverage though

( 
https://osgeo-org.atlassian.net/browse/GEOS-9993#add-comment?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9993#add-comment?atlOrigin=eyJpIjoiMDhjNjZiOTc0ZTI1NDZmYzkwMmFlN2I5ZDhkYmQ1ZmQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156- 
sha1:23cd256 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] powermock for unit tests in app-schema

2021-03-09 Thread Niels Charlier via Geoserver-devel
PowerMock is the only mocking library that can bypass a class being 
final. It actually serves a different purpose to these other frameworks 
because you must still use the API of one of the other ones (easymock, 
mockito,..) of your choice, but you get additional 'power'.


The alternative would be to avoid using 'final' on a class so that we 
can still mock those classes.


Kind Regards

Niels

On 09/03/2021 11:40, Mark Prins wrote:

On 08-03-2021 13:01, Niels Charlier via Geoserver-devel wrote:

Hello,

I fixed a bug in geoserver app-schema 
(https://github.com/geotools/geotools/pull/3367 
https://osgeo-org.atlassian.net/browse/GEOT-6801). The change I made 
was very small (one character actually) and in one specific class. To 
me it seemed appropriate to write a unit test. Since it is JDBC an 
integration test would only be run online with db, but still require 
a lot of amount of work to create the right table, mapping etc... 
Mocking seems useful to me.


searching the code [1] shows we have many, many mocking frameworks 
already EasyMock, PowerMock, Mockito, WireMock, ...  some of which are 
only used in one unsupported module.


It seems powermock is only used in unsupported modules, so my 
preference would be to not add this to the core but use one of the 
other mocking frameworks already used in the core if possible.



[1] https://github.com/geotools/geotools/search?q=mock

Mark


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] powermock for unit tests in app-schema

2021-03-08 Thread Niels Charlier via Geoserver-devel

Hello,

I fixed a bug in geoserver app-schema 
(https://github.com/geotools/geotools/pull/3367 
https://osgeo-org.atlassian.net/browse/GEOT-6801). The change I made was 
very small (one character actually) and in one specific class. To me it 
seemed appropriate to write a unit test. Since it is JDBC an integration 
test would only be run online with db, but still require a lot of amount 
of work to create the right table, mapping etc... Mocking seems useful 
to me.


Anyway, because one of the classes I need is final, I had to use 
PowerMock to write the test. The Reviewer of the patch ask to check with 
the list if it is okay to add the PowerMock library to the test scope. I 
know traditionally we have more integration tests than unit tests, but I 
think it wouldn't be bad to add more unit tests in general.


Kind Regards

Niels



___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-9947) csw-iso: test failures

2021-03-02 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9947?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 ) GEOS-9947 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9947?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 ) csw-iso: test failures ( 
https://osgeo-org.atlassian.net/browse/GEOS-9947?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: CSW Created: 02/Mar/21 3:19 PM Priority: Medium Reporter: Niels 
Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

a bunch of tests fail in the csw-iso module

( 
https://osgeo-org.atlassian.net/browse/GEOS-9947#add-comment?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9947#add-comment?atlOrigin=eyJpIjoiZmVmODBiN2Y4NGRiNDhiZWE1YzI4ZjhiNGI3NTBhODYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:8f7aa8f )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-9930) jdbcstore: resource contain outdated metadata

2021-02-23 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9930?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 ) GEOS-9930 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9930?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 ) jdbcstore: resource contain outdated metadata ( 
https://osgeo-org.atlassian.net/browse/GEOS-9930?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 23/Feb/21 4:46 PM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

A jdbcstore resource contains metadata, but that metadata can be changed 
elsewhere which can cause bugs. Instead we'll use an updated cache

( 
https://osgeo-org.atlassian.net/browse/GEOS-9930#add-comment?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9930#add-comment?atlOrigin=eyJpIjoiNWM3NmJjNzdmNDFmNGJkMmIwZDQwYjBmMDU4YTNjM2UiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:35bf746 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-9929) jdbc-config: repopulate populates wrong properties

2021-02-23 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9929?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 ) GEOS-9929 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9929?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 ) jdbc-config: repopulate populates wrong properties ( 
https://osgeo-org.atlassian.net/browse/GEOS-9929?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 23/Feb/21 4:37 PM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

The recent repopulate function in jdbcconfig appears buggy: with types 
inherited from abstract types, it uses the ID's of the abstract properties 
instead of the correct properties.

( 
https://osgeo-org.atlassian.net/browse/GEOS-9929#add-comment?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9929#add-comment?atlOrigin=eyJpIjoiZThjNDQ3NTNhNTQ4NGU4YmJiOTY0ZmFjZmM2NzdjOWQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100154- 
sha1:35bf746 )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] GetFeaturById storedquery - featureid convention

2020-12-07 Thread Niels Charlier via Geoserver-devel
Hmm, I guess the most generic solution would be to have a method 
.hasFeatureId(String fid) on the datastore level, where either the 
convention, a brute search or some custom implementation could be used.


But I think even in a situation where you have a few dozen app-schema 
layers (an inspire server for example), searching through all the layers 
would be unworkable. I think ideally this convention would actually be 
enforced by geoserver on the core level, but it's a bit too late for 
that. Documentation would then be the next best choice ...


Regards

Niels

On 05/12/2020 19:39, Andrea Aime wrote:

Hi Niels,
the convention you mention is deeper and existed before WFS 2.0 Stored 
queries implementations.
Even starting with WFS 1.0, a client can make a GetFeature without the 
target feature type, as long as it specified a list of
feature identifiers, and the server should be able to return only 
those features.


As you say, not having a convention would require querying all 
existing feature types one by one... which would be too slow.

Documenting the convention is probably the sensible thing to do.

Eventually I guess one could be able to advertise, at the datastore 
level or feature source level, if the store is following the
convention or not, and just run queries on the feature types that do 
not... but it would still require to open all stores/feature sources,
which would still be quite slow. Maybe this knowledge could be 
cached?  Anyways, just thinking out loud.


Cheers
Andrea

On Fri, Dec 4, 2020 at 1:00 PM Niels Charlier via Geoserver-devel 
<mailto:geoserver-devel@lists.sourceforge.net>> wrote:


Some issues have been reported with GetFeaturById finding
features, in particular with app-schema layers (see

http://osgeo-org.1560.x6.nabble.com/urn-ogc-def-query-OGC-WFS-GetFeatureById-td5402041.html
and

https://gis.stackexchange.com/questions/342744/geoserver-getfeaturebyid-stored-query-not-working

It turns out that the Storedquery GetFeatureById is implemented in
such a way that it assumes that ID’s are always of the form
“layername.id <http://layername.id>”. But this is only a
convention, for which each datastore’s own implementation is
responsible. In App-schema, this convention is not automatically
followed (but can be, if so specified in the mapping file). I
don’t really see another way of implementing this feature though:
it would have unacceptable performance to search in all layers
(particularly if you have 100s or 1000s of them).

But perhaps it should at least be documented somewhere that this
convention is assumed for the storedquery to work, and that
app-schema users (or other stores that do not follow the
convention automatically) should be aware of that?

Kind Regards

Niels

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



--

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit 
http://goo.gl/it488V for more information. == Ing. Andrea Aime 
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 
55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: 
+39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
--- /Con 
riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si 
precisa che ogni circostanza inerente alla presente email (il suo 
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è 
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il 
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra 
operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which 
it is addressed and may contain information that is privileged, 
confidential or otherwise protected from disclosure. We remind that - 
as provided by European Regulation 2016/679 “GDPR” - copying, 
dissemination or use of this e-mail or the information herein by 
anyone other than the intended recipient is prohibited. If you have 
received this email by mistake, please notify us immediately by 
telephone or e-mail./


___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] GetFeaturById storedquery - featureid convention

2020-12-04 Thread Niels Charlier via Geoserver-devel
Some issues have been reported with GetFeaturById finding features, in 
particular with app-schema layers (see 
http://osgeo-org.1560.x6.nabble.com/urn-ogc-def-query-OGC-WFS-GetFeatureById-td5402041.html 
and 
https://gis.stackexchange.com/questions/342744/geoserver-getfeaturebyid-stored-query-not-working


It turns out that the Storedquery GetFeatureById is implemented in such 
a way that it assumes that ID’s are always of the form “layername.id 
”. But this is only a convention, for which each 
datastore’s own implementation is responsible. In App-schema, this 
convention is not automatically followed (but can be, if so specified in 
the mapping file). I don’t really see another way of implementing this 
feature though: it would have unacceptable performance to search in all 
layers (particularly if you have 100s or 1000s of them).


But perhaps it should at least be documented somewhere that this 
convention is assumed for the storedquery to work, and that app-schema 
users (or other stores that do not follow the convention automatically) 
should be aware of that?


Kind Regards

Niels

___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-9798) GetFeature with Storedquery GetFeatureById returns "Could not find feature with specified id"

2020-11-21 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9798?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 ) GEOS-9798 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9798?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 ) GetFeature with Storedquery GetFeatureById returns "Could not find feature 
with specified id" ( 
https://osgeo-org.atlassian.net/browse/GEOS-9798?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Created: 21/Nov/20 3:12 PM Priority: Medium Reporter: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

see 
http://osgeo-org.1560.x6.nabble.com/urn-ogc-def-query-OGC-WFS-GetFeatureById-td5402041.html

and

https://gis.stackexchange.com/questions/342744/geoserver-getfeaturebyid-stored-query-not-working

( 
https://osgeo-org.atlassian.net/browse/GEOS-9798#add-comment?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9798#add-comment?atlOrigin=eyJpIjoiMjgyMzJkMDU2ODI1NGY5NDhlZmM5YzgzMmNmODE0YzYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151- 
sha1:c58162e )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-9797) jdbc-config: removing workspace with service breaks geoserver

2020-11-21 Thread Niels Charlier (JIRA)
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9797?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 ) GEOS-9797 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9797?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 ) jdbc-config: removing workspace with service breaks geoserver ( 
https://osgeo-org.atlassian.net/browse/GEOS-9797?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 ) Components: JDBCConfig Created: 21/Nov/20 3:07 PM Priority: Medium Reporter: 
Niels Charlier ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1d2c4019-de4e-4624-8b27-2486941601cf
 )

the workspace is removed but the service remains in the database, next time 
geoserver won't start-up

( 
https://osgeo-org.atlassian.net/browse/GEOS-9797#add-comment?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9797#add-comment?atlOrigin=eyJpIjoiMGUwY2E3YTlmMGJhNDM2MWE5ZmU3YjRlMmI2YjcxNWMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151- 
sha1:c58162e )___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


  1   2   3   4   5   6   >