Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoNetwork API #1592

Merged
merged 88 commits into from
Jul 4, 2016
Merged

GeoNetwork API #1592

merged 88 commits into from
Jul 4, 2016

Conversation

fxprunayre
Copy link
Member

@fxprunayre fxprunayre commented Jun 24, 2016

Create a complete set of services used by the Angular application and automatically documented using Swagger.

CFV 27 June 2016

  • +1 (PSC member) Jose, Francois
  • +1 Maria

The API

Documentation is available from the footer and link to:

image

The API guideline is available here: https://docs.google.com/document/d/1pj6D-hTPFtBDo3drcBF0tUqOVGnzu68VaAgHaMjWTZM/edit?usp=sharing

The old services

For the coming release 3.2.x, the old Jeeves services (mainly XML services) are still available but will be removed in the next major release 4.x.

Some minor improvements

  • Import record / Multiple files support and load by URL

image

  • Sharing / Batch update can now reset or append privileges

image

  • Transfer ownership is easier

image

  • All processing actions running on a set of record can return a process report (eg. XSL process, Batch edits, imports, ...). Process report are not limited to one per session now.

image

Coming work planned for 3.2.0

This proposal cover most of the Angular application requirements. The following items are also planned in the coming weeks.

  • Issues
  • Virtual CSW filter save
  • Docs
  • Embed the guideline into an API developer page in the doc
  • Review API doc
  • Testing
  • Unit tests of operations
  • Migrate some other parts of the application
  • RDF services

Future works

The API does not cover the following part of the application for the time being:

In the short term, the following admin services may be migrated:

  • Harvesters admin
  • Formatters admin
  • Schematron admin

In the long run, version 4.0.0 could cover the following:

  • Search (will be covered in the migration to Solr)
  • Thesaurus (needs a rewrite instead of migrating Sesame based services)
  • Angular apps main page (move main pages from Jeeves to Spring)

Related discussion

fxprunayre and others added 30 commits June 4, 2016 22:05
JeevesAccessDeniedHandler can now return a response with only the HTTP
Forbidden 403 code and a JSON object with the error instead of showing the
_errorPage if it is set. This is done for the URLs matching the Ant
pattern set in the property onlyStatusResponsePages.
@fxprunayre fxprunayre added this to the 3.2.0 milestone Jun 24, 2016
@fxprunayre fxprunayre self-assigned this Jul 4, 2016
@fxprunayre fxprunayre merged commit 714bb2d into develop Jul 4, 2016
@fxprunayre fxprunayre deleted the api branch August 4, 2017 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants