Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Repository files navigation

> [!IMPORTANT]
> THIS REPOSITORY IS DEPRECATED.
>
> Development on this webservice has been moved to: [https://github.com/identifiers-org/monorepo](https://github.com/identifiers-org/monorepo/tree/master/webservices/resolver).
> For any concerns, please [contact us](https://docs.identifiers.org/pages/contact) or open a issue at our [main issue board](https://github.com/identifiers-org/identifiers-org.github.io/issues).
grails create-app resolver
cd resolver
grails create-resource UriRecord
Content negotiation:
http://grails.org/doc/latest/guide/single.html#6.8%20Content%20Negotiation
How to ask for a specific type:
curl -D - -L -H "Accept: application/rdf+xml" "http://localhost:8080/resolver/uniprot/P12345"
curl URL
curl --verbose URL
Interactive command
grails interactive
Run the app
grails run-app
Run test app with local database
grails dev run-app
Testing
grails test-app
grails test-app -clean
Upgrade to newer Grails version
grails clean
grails upgrade
Generate war for use in testing use (available at: http://dev.identifiers.org)
grails -Dgrails.env=development war
Generate war for production use (in London Data Centres)
grails -Dgrails.env=production war
Grails docs
http://grails.org/doc/2.1.0/
Functional Testing
http://grails.org/plugin/functional-test
grails test-app -functional
It seems there are some issue with installing the JQuery plugin with 1.4M1, so I manually added the JS file and included in the template
TESTS for:
http://localhost:8080/resolver/ec-code/1.1.1.1
http://localhost:8080/resolver/obo.chebi/CHEBI%3A36927
http://localhost:8080/resolver/obo.chebi/CHEBI:36927
Known issues:
- previously most of the pages are not displayed in IE8
- this came from the fact that a 303 See Other HTTP code was used
- now uses "203 Non-Authoritative Information" for namespaces (no full URL)
- now uses "300 Multiple Choices" for displaying the list of possible resources
testing commit

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages