Skip to content

LIBFCREPO-1788. Allow separate fcrepo endpoint URI and origin URL.#542

Open
peichman-umd wants to merge 1 commit intohotfix/2.0.3from
feature/LIBFCREPO-1788
Open

LIBFCREPO-1788. Allow separate fcrepo endpoint URI and origin URL.#542
peichman-umd wants to merge 1 commit intohotfix/2.0.3from
feature/LIBFCREPO-1788

Conversation

@peichman-umd
Copy link
Member

  • converted the ResourceService from class methods only to an instance-based class
  • instantiated with the endpoint, optional origin, and optional auth token
  • added a ResourceServiceConcern mixin to add a resource_service method to controllers
  • used the ResourceServiceConcern with ResourceController and RetrieveController
  • switched environment variables and global constants from FCREPO_BASE_URL and REPO_EXTERNAL_URL to FCREPO_ENDPOINT (for the canoncal URI) and FCREPO_ORIGIN (for the cluster-internal URL)

https://umd-dit.atlassian.net/browse/LIBFCREPO-1788

- converted the ResourceService from class methods only to an instance-based class
- instantiated with the endpoint, optional origin, and optional auth token
- added a ResourceServiceConcern mixin to add a `resource_service` method to controllers
- used the ResourceServiceConcern with ResourceController and RetrieveController
- switched environment variables and global constants from FCREPO_BASE_URL and REPO_EXTERNAL_URL to FCREPO_ENDPOINT (for the canoncal URI) and FCREPO_ORIGIN (for the cluster-internal URL)

https://umd-dit.atlassian.net/browse/LIBFCREPO-1788
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant