Giter VIP home page Giter VIP logo

Comments (3)

tfr42 avatar tfr42 commented on August 14, 2024

Thank you for opening that feature request. We would appreciate if this feature can be enabled by configuration.

Please have a look into the issue deegree/deegree3#1102 and the related pull request deegree/deegree3#1442 for a similar topic related to the deegree webservices.

from deegree-ogcapi.

kapil-agnihotri avatar kapil-agnihotri commented on August 14, 2024

Thank you @tfr42 for your suggestion on the feature request.

We would like to know what would be the accepted configuration by the deegree team for adding version information in the response header.

We think of three options for this:

  1. the configuration can be introduced in a new configuration file with global settings or
  2. it can be extended to an existing configuration file that has a global setting(however, we do not find any such file) in the workspace or it can also be added to a feature specific setting for e.g. to features.xsd. or
  3. use a simpler mechanism for global configuration (e.g. environment variables).

If any of these options are acceptable to you then can you please also provide some suggestions on the implementation details for e.g. preferred name of the new global configuration file, its desired location, etc.

from deegree-ogcapi.

tfr42 avatar tfr42 commented on August 14, 2024

We are in favour of option 3 using a global configuration. Please have a look on the approach we have used for the deegree webservices core documented in https://github.com/deegree/deegree3/blob/main/deegree-services/deegree-webservices-handbook/src/main/asciidoc/appendix.adoc and the class https://github.com/deegree/deegree3/blob/main/deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/utils/TunableParameter.java
Please review if the TunableParameter can be used to set the version of the API to the HTTP Header and also to the OpenAPI document available at /api.

from deegree-ogcapi.

Related Issues (20)

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.