Coder Social home page Coder Social logo

portal-core's Introduction

portal-core's People

Contributors

adam-brown avatar alexkrumpholz avatar bencaradocdavies avatar chrisvpeters avatar comtesacristain avatar dependabot[bot] avatar fcarsten avatar geng-liang avatar heyagosper avatar jia020 avatar joshvote avatar laughing0li avatar lbodor avatar michaelsexton avatar ntaherifar avatar oehm-smith avatar peterwarren avatar riniangreani avatar sangeethacsiro avatar snyk-bot avatar squireg avatar stuartwoodman avatar tannu avatar terryrankine avatar victortey avatar vjf avatar yan073 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

portal-core's Issues

connecting different OGC CSW servers

Different OGC CSW servers support different CSW profiles. (i.e. pycsw supports ISO 19139:2007 etc.)
To better work with different OGC CSW servers, csw methodmakers need prepare different request bodies when querying CSW services. Also, portal-core need understand the different schemas used by the csw services response coming from different OGC CSW servers.
It will be much easier to design and implement the interactions with OGC CSW server if portal-core knows its provider type (Geoserver, or pycsw, or others) and works with it accordingly.
One obvious solution is to have the serverType along with serviceUrl and title when registering csw instance in the application-registries.yaml file.

Integration Test

Hello,

Can you please point me exactly to your integration test file.

Pallavi

errors when connecting to geoserver CSW service

I added one GeoTiff data source as a store in Geoserver 2.13.0.
Then, I added the serviceUrl into the vl-registries.xml in the anvgl-portal project.
When running the anvgl-portal in tomcat, portal-core prepared and sent csw-GetRecords request to GeoServer. Geoserver replied with error message, complaining wrong parameters in the GetRecords request:

  1. org.auscope.portal.core.services.responses.ows.OWSException: Code='InvalidParameterValue' Message='Illegal namespace declaration, should be of the form xmlns(=): csw:http://www.opengis.net/cat/csw'
    at org.auscope.portal.core.services.responses.ows.OWSExceptionParser.checkForExceptionResponse(OWSExceptionParser.java:109)
    at org.auscope.portal.core.services.CSWService.queryCSWEndpoint(CSWService.java:124)

  2. org.auscope.portal.core.services.responses.ows.OWSException: Code='InvalidParameterValue' Message='Cannot encode records in output schema csw:IsoRecord'
    at org.auscope.portal.core.services.responses.ows.OWSExceptionParser.checkForExceptionResponse(OWSExceptionParser.java:109)
    at org.auscope.portal.core.services.CSWService.queryCSWEndpoint(CSWService.java:124)
    at org.auscope.portal.core.services.CSWService.queryCSWEndpoint(CSWService.java:75)
    at org.auscope.portal.core.services.CSWCacheService$CSWCacheUpdateThread.run(CSWCacheService.java:657)

After fixing these two errors, geoserver could not find the created data source in the catalogue.

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.