• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / 207af02d-e13f-4535-afde-024cadd3c8e8

03 Oct 2025 04:42PM UTC coverage: 89.959% (-0.6%) from 90.565%
207af02d-e13f-4535-afde-024cadd3c8e8

Pull #1952

circleci

carolyncole
A UI to allow queries to be sent to medaiflux

adds some text matching examples for AQL intot he UI
Pull Request #1952: A UI to allow queries to be sent to medaiflux

5 of 25 new or added lines in 2 files covered. (20.0%)

2661 of 2958 relevant lines covered (89.96%)

336.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/controllers/aql_queries_controller.rb
1
# frozen_string_literal: true
NEW
2
class AqlQueriesController < ApplicationController
×
3
  # GET /aql_queries or /aql_queries.json
NEW
4
  def index
×
NEW
5
    @aql_query = params[:aql_query]
×
NEW
6
    if @aql_query.blank?
×
NEW
7
      @results = []
×
NEW
8
    else
×
NEW
9
      query = Mediaflux::QueryRequest.new(session_token: current_user.mediaflux_session, aql_query: @aql_query, iterator: false)
×
NEW
10
      if query.error?
×
NEW
11
        @results = []
×
NEW
12
        flash[:notice] = query.response_error[:message][1..250]
×
NEW
13
      else
×
NEW
14
        flash[:notice] = nil
×
NEW
15
        @results = query.result_items
×
NEW
16
      end
×
NEW
17
    end
×
NEW
18
  end
×
NEW
19
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc