Skip to content

Dip command "ag-create-repo" doesn't work #4

@jvendetti

Description

@jvendetti

I'm trying to execute the ag-create-repo dip command, but it's failing with a "no such service" message:

ontoportal_docker git:(main) ✗ docker compose -f docker-compose.backend_only.yml --profile agraph up -d
[+] Building 0.0s (0/0)                                                                                                                                                                                                                 docker:desktop-linux
[+] Running 6/6
 ✔ Network ontoportal_docker_default     Created                                                                                                                                                                                                        0.1s
 ✔ Container ontoportal_docker-solr-1    Started                                                                                                                                                                                                        0.2s
 ✔ Container ontoportal_docker-mgrep-1   Started                                                                                                                                                                                                        0.1s
 ✔ Container ontoportal_docker-agraph-1  Started                                                                                                                                                                                                        0.1s
 ✔ Container ontoportal_docker-redis-1   Started                                                                                                                                                                                                        0.1s
 ✔ Container ontoportal_docker-4store-1  Started                                                                                                                                                                                                        0.1sontoportal_docker git:(main) ✗ dip ag-create-repo
no such service: agraph

Context

Now that we're running on AllegroGraph in production, I want to run BioPortal REST API unit tests against AllegroGraph in my local development environment (instead of against 4store, which I'm still currently doing).

For example, I want to execute the unit test suite for ontologies_linked_data like so:

➜  ontologies_linked_data git:(develop) ✗ bundle exec rake test TESTOPTS="-v"

But this results in an error message about a missing triplestore:

Unable to open triple-store "ontoportal_test" (it does not appear to exist). (SPARQL::Client::ClientError)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions