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

feedback integration mu-auth: incompatibilities #14

Open
nbittich opened this issue Aug 3, 2022 · 1 comment
Open

feedback integration mu-auth: incompatibilities #14

nbittich opened this issue Aug 3, 2022 · 1 comment

Comments

@nbittich
Copy link
Contributor

nbittich commented Aug 3, 2022

So far I found the following incompatibilities that makes migrations not working with mu auth:

 update_sudo("ADD <#{temp_graph}> TO <#{graph}>") # mu auth doesn't handle ADD
   update_sudo("DROP SILENT GRAPH <#{temp_graph}>") # mu auth doesn't handle DROP
def is_database_up?
  begin
    location = URI(ENV['MU_SPARQL_ENDPOINT'])
# mu auth response is CONNREFUSED no matter what. it seems you have to ping it with a real sparql query payload
    response = Net::HTTP.get_response( location ) 
    return response.is_a? Net::HTTPSuccess
  rescue Errno::ECONNREFUSED
    return false
  end
end
@nvdk
Copy link
Member

nvdk commented Aug 19, 2022

database up should be fixed in #13

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

No branches or pull requests

2 participants