Re: [Geoserver-devel] performance improvements jdbcconfig + jdbcstore

2018-02-02 Thread Niels Charlier
Hey is there anyone able to have a quick look at this. I'm taking 
responsibility for these modules, but I assume I still need a peer 
review myself (it's always a good thing anyway).


I would say that these patches basically change jdbcconfig and jdbcstore 
from barely usable to useful modules, because of the drain on resources 
they used to be. And there are people actually using or trying to use 
them, so I think it is a useful contribution.


Regards

Niels


On 19-01-18 10:49, Niels Charlier wrote:

Hey everyone,

I have made improvements to the performance of jdbcconfig and 
jdbcstore, actually quite big improvements if I may say so myself.


Problem is I am currently the one volunteering to review PRs for these 
modules. Would there be anyone willing to review mine?


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

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

Kind Regards

Niels


-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Build failed in Jenkins: geoserver-master #5521

2018-02-02 Thread monitor
See 

--
[...truncated 539.35 KB...]
[INFO] 
[INFO] Skipping Security UI JDBC Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Security UI LDAP Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GeoServer Security Extension Modules
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GWC UI Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GeoServer INSPIRE Extensions
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Ysld GeoServer Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GeoServer CSS Styling
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping WCS UI Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Application Schema Integration Test
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Importer Core Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping WCS NetCDF output Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Catalog Services for the Web core module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping OGR WPS
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Web process status sharing with Hazelcast
[INFO] This project has been banned from the build due to previous

[Geoserver-devel] Build failed in Jenkins: geoserver-master #5522

2018-02-02 Thread monitor
See 

--
[...truncated 534.45 KB...]
[INFO] 
[INFO] Skipping Ysld GeoServer Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping WCS UI Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Application Schema Integration Test
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Importer Core Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping WCS NetCDF output Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GeoServer JDBC Security Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping GeoServer CSS Styling
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Catalog Services for the Web core module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Security UI Core Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Monitor Hibernate Extension
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping OGR WPS
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping DXF WPS PPIO
[INFO] Skipping Web process status sharing with Hazelcast
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Web Coverage Service 2.0 Earth Observation GUI extension
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] This project has been banned from 

[Geoserver-devel] Custom Access Modes

2018-02-02 Thread worldfromabove
Hi there,

Is there an easy way to add custom access modes? Essentially we are looking
into whether there might be utility in users being able to create workspaces
but not delete them. I don't think this is currently covered under the 3
access mode options. 

Thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-Dev-f3819232.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [JIRA] (GEOS-8569) JSON encoding on NaN values fails

2018-02-02 Thread Gnafu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gnafu created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 GeoServer /  GEOS-8569  
 
 
  JSON encoding on NaN values fails   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 2.13-beta  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 NetCDF, WMS  
 
 
Created: 
 02/Feb/18 6:19 PM  
 
 
Priority: 
  Medium  
 
 
Reporter: 
 Gnafu  
 

  
 
 
 
 

 
 I have a NetCDF Mosaic store and a coverageView from it. The coverageView combines all the variables. If any of the variables is "NaN", the GetFeatureInfo in JSON format fails with the following error: 

 
Error: JSON does not allow non-finite numbers
 

 The error logged is: 

 
2018-02-02 17:04:25,506 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error: JSON does not allow non-finite numbers
at org.geoserver.wfs.json.GeoJSONGetFeatureResponse.write(GeoJSONGetFeatureResponse.java:220)
at org.geoserver.wfs.WFSGetFeatureOutputFormat.write(WFSGetFeatureOutputFormat.java:199)
at org.geoserver.wms.featureinfo.GeoJSONFeatureInfoResponse.write(GeoJSONFeatureInfoResponse.java:48)
at org.geoserver.wms.featureinfo.GetFeatureInfoResponse.write(GetFeatureInfoResponse.java:109)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1019)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:274)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractCo

[Geoserver-devel] Build failed in Jenkins: geoserver-master-app-schema-online #1062

2018-02-02 Thread monitor
See 


Changes:

[Andrea Aime] Allow overriding base parameters (including time) in DownloadMap

--
Started by timer
Building remotely on apollo-slave-02 in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://github.com/geoserver/geoserver.git # 
 > timeout=10
Fetching upstream changes from git://github.com/geoserver/geoserver.git
 > git --version # timeout=10
 > git fetch --tags --progress git://github.com/geoserver/geoserver.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 2ece5fd76010a0f57d6f9edce1e250411fba13fa (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2ece5fd76010a0f57d6f9edce1e250411fba13fa
 > git rev-list 9e0e09291ba0da390ea1e2c19ec6da6b59a813b4 # timeout=10
[geoserver-master-app-schema-online] $ /bin/sh -xe 
/tmp/jenkins6968549210979273953.sh
+ mkdir /var/jenkins/.geoserver
mkdir: cannot create directory `/var/jenkins/.geoserver': File exists
+ true
+ rm /var/jenkins/.geotools/postgis.properties
+ rm /var/jenkins/.geotools/oracle.properties
rm: cannot remove `/var/jenkins/.geotools/oracle.properties': No such file or 
directory
+ true
+ rm /var/jenkins/.geoserver/postgis.properties
+ rm /var/jenkins/.geoserver/oracle.properties
rm: cannot remove `/var/jenkins/.geoserver/oracle.properties': No such file or 
directory
+ true
+ set +x
psql: could not connect to server: Connection timed out
Is the server running on host "184.154.70.224" and accepting
TCP/IP connections on port 5432?
Build step 'Execute shell' marked build as failure

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Jenkins build is back to normal : geoserver-master #5523

2018-02-02 Thread monitor
See 



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] Backup/Restore with encrypted store passwords

2018-02-02 Thread Devon Tucker
Hi everyone,

Wanted to solicit feedback on an idea. Internally we'd like to use
backup/restore more, however how it interacts with encrypted store
passwords is a bit of an issue. To that end I have been working on the
ability for backup/restore to parameterize outgoing store passwords. I have
a branch created with this work:

https://github.com/dvntucker/geoserver/tree/parameterize_passwords

To save people from having to dig, basically all I've done is create two
new XML persisters, one for data stores that collects the fields that need
to be parameterized (similar to what happens now, just collecting a little
more info) and a new connections parameters converter that does the actual
tokenization:

https://github.com/dvntucker/geoserver/blob/5e1f574c9e428357f6f3c824854936049632bd65/src/community/backup-restore/core/src/main/java/org/geoserver/backuprestore/BackupRestoreItem.java#L185

Next steps would be to update the restore job to do the token replacement,
plus options in the UI and rest interface

Unfortunately, I realized a little too late that there is sort of an
existing solution to this, which is the capability to parameterize the
entire environment, but AFAICT this doesn't work well with encrypted
passwords. Personally, I like the approach of just replacing the password
in the backups, since it requires less specialized config.

Any thoughts on this approach? Any potential issues? Any issue with
contributing something along these lines?

Cheers,
Devon
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel