Task #6264

Project WP #654: WP6 - Supporting Blue Economy: VREs Development [Months: 1-30]

Project Task #656: T6.2 Strategic Investment analysis and Scientific Planning/Alerting VRE [Months: 1-30]

Project Activity #1633: Blue Economy VRE#2 Software Implementation, Integration and Deployment (Stage 2)

Task #6101: Geospatial Analytics & Alerting Platform Implementation (Stage 2)

Revise the delete layer administration method

Added by Dimitris Katris over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:Dec 20, 2016
Priority:NormalDue date:
Assignee:Efthymios Theodorakopoulos% Done:

100%

Category:-
Sprint:WP06
Infrastructure:
Milestones:
Duration:

Description

When we delete a layer the administrator receives weird logs.
Can you please take a look at the implementation and validate that the flow is appropriate.

example of log
2016-12-20 12:05:33 INFO GeoServerRESTPublisher:1964 - FeatureType successfully deleted geoanalytics:geoanalytics/nama_10r_2coe
2016-12-20 12:05:33 INFO HTTPUtils:349 - (404) -- http://localhost:8080/geoserver/rest/layers/geoanalytics:nama_10r_2coe
2016-12-20 12:05:33 INFO HTTPUtils:350 - Response: ''
2016-12-20 12:05:33 WARN GeoServerRESTPublisher:2227 - Error removing layer geoanalytics:nama_10r_2coe

...

/home/gcube/geoserver/data/gwc/geoanalytics_nama_10r_2coe does not exist or is not writable
2016-12-20 12:05:33,195 INFO [catalog.rest] - DELETE layer geoanalytics:nama_10r_2coe
2016-12-20 12:05:33,229 INFO [catalog.rest] - DELETE feature typegeoanalytics,nama_10r_2coe
2016-12-20 12:05:33,237 ERROR [geoserver.rest] - No such layer: geoanalytics:nama_10r_2coe
2016-12-20 12:05:33,241 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException

History

#1 Updated by Dimitris Katris over 2 years ago

We should also be sure that everything is deleted properly. e.g. the layer materialized views, template layers

#2 Updated by Efthymios Theodorakopoulos about 2 years ago

  • Assignee changed from Efthymios Theodorakopoulos to Efthymios Theodorakopoulos

#3 Updated by Efthymios Theodorakopoulos about 2 years ago

  • Status changed from New to In Progress

#4 Updated by Efthymios Theodorakopoulos about 2 years ago

  • % Done changed from 0 to 100

The delete layer administration method has been revised. Related information for the layer (shapes, views, materialized views) are now have a correct delete procedure. In addition, the specific layer will be deleted from geoserver.

#5 Updated by Efthymios Theodorakopoulos about 2 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF