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

F UI/service discovery #14408

Merged
merged 9 commits into from
Sep 7, 2022
Merged

F UI/service discovery #14408

merged 9 commits into from
Sep 7, 2022

Commits on Sep 7, 2022

  1. Nomad Services: job routes, model, and serializer updates (#14226)

    * Added to subnav and basic table implemented
    
    * Existing services become service fragments, and services tab aggregated beneath job route
    
    * Index page within jobs/job/services
    
    * Watchable services
    
    * Lintfixes
    
    * Links to clients and individual services set up
    
    * Child service route
    
    * Keyboard shortcuts on service page
    
    * Model that shows consul services as well, plus level and provider cols
    
    * lintfix
    
    * Level as query param
    
    * Watch job for service name changes too
    
    * Lintfix
    
    * Testfixes
    
    * Placeholder mirage route
    philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    90fbaa1 View commit details
    Browse the repository at this point in the history
  2. ui: long poll /checks endpoint (#14354)

    * chore: add lodash isEqual package
    
    * ui: fetch non ember-data records
    
    * ui: create watcher to poll non ember-data records
    ChaiWithJai authored and philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    08fe41f View commit details
    Browse the repository at this point in the history
  3. Job Services: fixtures and acceptance tests (#14319)

    * Added to subnav and basic table implemented
    
    * Existing services become service fragments, and services tab aggregated beneath job route
    
    * Index page within jobs/job/services
    
    * Watchable services
    
    * Lintfixes
    
    * Links to clients and individual services set up
    
    * Child service route
    
    * Keyboard shortcuts on service page
    
    * Model that shows consul services as well, plus level and provider cols
    
    * lintfix
    
    * Level as query param
    
    * Watch job for service name changes too
    
    * Group level service fixtures established
    
    * Progress at task level and job-linked services
    
    * Task and group services on update
    
    * Fixture side-effect cleanup
    
    * Basic acceptance tests for job services
    
    * Testmodel cleanup
    
    * Disabled mirage logging
    
    * New cluster type specifically for services
    
    * Without explicit job-model binding
    
    * Trying to isolate a tostring error
    
    * Account for new tab in keyboardnav
    
    * More test isolation attempts
    
    * Remove skipped tests and link task to parent group by id
    
    ui: add service health viz to table (#14369)
    
    * ui: add service-status-bar
    
    * test: service-status-bar
    
    * refact: update component api for new data struct
    
    * ui: format service health struct
    
    * ui:  add service health viz to table
    
    * temp: add placeholder to remind conditional watcher
    
    * test: write tests for transformation algorithm
    
    * refact: update transformation algo
    
    * ui: conditionally long poll checks endpoint
    
    * refact: add conditional logic for nomad provider
    
    refact: update service-fragment model to include owner info
    
    ui: differentiate between task and group-level in derived state comp
    
    test: add test to document behavior
    
    refact: update tests for api change
    
    refact: update integration test for API change
    
    chore: remove unsused vars
    
    chore: elvis operator to protect mirage
    
    refact: create refId instead of internalModel
    
    refact: update algo
    
    refact: update conditional template logic
    
    refact: update test for api change:
    
    chore: cant use if and not in hbs conditional
    philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    bf73a51 View commit details
    Browse the repository at this point in the history
  4. [ui] Jobs/jobid/services table sorting (#14410)

    * Sortable job service table
    
    * sorting removed from specific service page
    philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    e39246f View commit details
    Browse the repository at this point in the history
  5. ui: add to collection (#14472)

    ChaiWithJai authored and philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    9f0d9c9 View commit details
    Browse the repository at this point in the history
  6. [ui] Service Discovery: Allocation Service fly-out (#14389)

    * Bones of a new flyout section
    
    * Basic sidebar behaviour and style edits
    
    * Concept of a refID for service fragments to disambiguate task and group
    
    * A11y audit etc
    
    * Moves health check aggregation to serviceFragment model and retains history
    
    * Has to be a getter
    
    * flyout populated
    
    * Sidebar styling
    
    * Sidebar table and details added
    
    * Mirage fixture
    
    * Active status and table styles
    
    * Unit test mock updated
    
    * Acceptance tests for alloc services table and flyout
    
    * Chart styles closer to mock
    
    * Without a paused test
    
    * Consul and Nomad icons in services table
    
    * Alloc services test updates in light of new column changes
    
    * without using an inherited scenario
    philrenaud committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    e68f07e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5674dd4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9a1d721 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e9169e1 View commit details
    Browse the repository at this point in the history