Skip to content

feat: external tools registry with types and user credentials - #22

Merged
Imene-Amirat merged 13 commits into
developmentfrom
feature/external-tools-model
Sep 9, 2026
Merged

Imene-Amirat merged 13 commits into
developmentfrom
feature/external-tools-model

Conversation

@Imene-Amirat

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for representing external tools both as catalog-level resources (discoverable via hypermedia links) and as user-associated embedded objects, and introduces an editWith submission metadata field for pointing to an external editor.

Changes:

  • Add a new LinkedData::Models::ExternalTool model and expose it via a new external_tools link in the MOD catalog.
  • Add a new embedded LinkedData::Models::Users::ExternalTool model and wire it into User as externalTools.
  • Add editWith to OntologySubmission and the ontology submission scheme YAML.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
lib/ontologies_linked_data/models/users/user.rb Adds externalTools attribute and embeds it alongside subscription.
lib/ontologies_linked_data/models/users/external_tool.rb Introduces an embedded per-user external tool object (currently includes an API key).
lib/ontologies_linked_data/models/ontology_submission.rb Adds editWith metadata attribute for submissions.
lib/ontologies_linked_data/models/mod/semantic_artefact_catalog.rb Adds catalog link for external_tools and requires the new model.
lib/ontologies_linked_data/models/external_tool.rb Adds top-level ExternalTool model for catalog exposure.
config/schemes/ontology_submission.yml Reformats scheme content and adds editWith field (currently introduces YAML trailing-comma issues).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/ontologies_linked_data/models/users/external_tool.rb
Comment thread config/schemes/ontology_submission.yml
Comment thread config/schemes/ontology_submission.yml
@Imene-Amirat
Imene-Amirat force-pushed the feature/external-tools-model branch from 50fcd9e to e79aae1 Compare July 20, 2026 15:18
@Imene-Amirat Imene-Amirat changed the title Feature: add external tools model to expose it in catalog links feat: external tools registry with types and user credentials Sep 9, 2026
@Imene-Amirat
Imene-Amirat merged commit 05ca849 into development Sep 9, 2026
0 of 8 checks passed
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.

2 participants