Git Product home page Git Product logo

geoserver-cli's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

geoserver-cli's Issues

Implement a cache for requests

For some API calls some requests are performed multiple times. For example, for the GeoServer.get_layer call makes requests to get the workspace; if multiple layers share a common workspace, the workspace request is done multiple times.

All requests are done in the GeoServer._request method.

Describe CLI

Result must be a documentation with a list of commands.

Create empty classes for the API

Including the classes:

  • GeoServer
  • Workspace
  • Datastore
  • Layer
  • LayerGroup
  • Style

with their methods and their tests (empty as well).

Discuss basic project skeleton and tools

I added some files proposing some initial repository configuration. We should discuss at least:

  • Directory structure (currently geoserver for sources, test for testing).
  • Dependency/environment management (currently pip+requirements.txt).
  • Build tools (currently Makefile).
  • Testing tools (currently unittest and Travis with just Python 3.6).

Create skeleton and document CLI

Create just the skeleton with the files for the CLI, including its documentation.

Functionality will be implemented as part of another issue.

Make deletions recursive?

Currently deleting a workspace that is non-empty throws an error:

Cannot perform DELETE request to http://localhost:8080/geoserver/rest/workspaces/topp.json. Response code is 403

This happens also with other resources as datastores or layers.

There's the possibility to add the recurse param in the requests. Should we do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.