Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

v3.0.0-a2

Pre-release
Pre-release
Compare
Choose a tag to compare
@sungo sungo released this 15 Jul 21:16
· 951 commits to master since this release
0f8cd05

Release v3.0.0-a2

PR #827 - v3: relays!

  • Branch: ether/v3-relays
  • Revision: d57a817
  • Labels: api, breaking, database, enhancement, needs-shell, v3
  • relay.id is now a uuid; old id is now known as 'serial_number'
  • relay.alias is renamed 'name'
  • new endpoint: GET /relay/:id_or_serial_number

closes #760.

People

Commits

  • 9a2800 - test authorization level for GET relay endpoint
  • 33927d - new endpoint: GET /relay/:serial_number
  • fa1f91 - fix this stash name: it is always a serial_number
  • ad5f8c - tweaks to POST /relay/:serial/register
  • d9f2b1 - relay.id -> serial_number; add new uuid primary key; alias renamed to 'name'

PR #830 - allow null entries in /dimms/<int>/memory-size

  • Branch: ether/fix-dimm-schema
  • Revision: e3fa648
  • Labels: bug, device reports

fixes joyent/conch-livesys#141

People

Commits

  • 7f09ea - allow null entries in /dimms/<int>/memory-size

PR #831 - fix: memory-serial-number might also be null

  • Branch: ether/fix-dimm-schema2
  • Revision: 4f786df
  • Labels: bug, device reports

People

Commits

  • 971d58 - fix: memory-serial-number might also be null

PR #828 - v3: various device changes

  • Branch: ether/v3-device-changes
  • Revision: 89265a7
  • Labels: api, breaking, database, device reports, enhancement, needs-shell, needs-ui, v3
  • device.id is now a uuid

    • old device.id is now device.serial_number
    • all foreign keys are fixed to point to the uuid
    • accept either device id or serial_number in all /device/:identifier endpoints
    • POST /rack/:rack_id/assignment now accepts 'device_id' and/or 'device_serial_number' in request payloads
      closes #474.
  • remove triton* fields from device, and related endpoints
    closes #800.

  • drop device.state

  • add Location header to response from POST /device/:serial_number

  • drop device.graduated, moving graduated devices to the production phase
    closes #813.

  • drop device.deactivated

  • drop preservation of invalid device reports
    closes #804.

  • drop device_environment, device_disk.temp, device_nic.speed, device_neighbor.want_switch and .want_port
    closes #791.

  • add device.links

    • store links from device report
    • include links in GET requests for devices
    • allow searching for a link in GET /device/link=:value
    • new endpoints:
      POST /device/:device_id_or_serial_number/links
      DELETE /device/:device_id_or_serial_number/links
      closes #825.

People

Commits

  • 4b24af - device.id is now a uuid
  • 6ca9e5 - /device endpoints: fix stash name when retrieving device serial_number from path
  • ce3862 - /device endpoints: combine these non-terminated route definitions together
  • 7354dc - remove triton* fields from device, and related endpoints
  • 3d4ef4 - tighten up these tests a bit
  • e0462c - drop device.state
  • 470a0a - drop device.deactivated column
  • 7cd42b - drop preservation of invalid device reports
  • 2d2bb3 - fix to device_report retention policy: keep previous pass if current report does not pass
  • ced79c - drop device_environment table
  • 634178 - return the canonical URL of the (newly created?) device on report submission
  • 971180 - drop device.graduated, moving graduated devices to the production phase
  • 9ec25f - drop device_disk.temp
  • 5239a4 - drop device_nic.speed
  • e48085 - device.links
  • 4a69c6 - drop device_neighbor.want_switch, .want_port

PR #832 - clean up user authentication

  • Branch: ether/v3-user-authentication
  • Revision: d18e198
  • Labels: api, breaking, database, enhancement, refactor, security, v3
  • drop support for basic auth (user+password in URL) (closes #762.)

  • drop support for breaking up the JWT and putting part of it in a cookie (closes #778.)

  • user_session_token now has a uuid primary key (closes #761.) All current tokens are purged.

  • bespoke password handling code is removed; blowfish cost parameter increased to harden security.

  • login token is reused if it has over half its life left, rather than creating another (closes #829.)

People

Commits

  • 27f215 - drop support for basic auth (user+password in URL)
  • 89897a - drop support for breaking up the JWT and putting part of it in a cookie
  • e3693c - user_session_token now has a uuid primary key
  • 0e4fff - consolidate response generation when creating a login JWT
  • 0997e7 - remove bespoke and unnecessary password handling code
  • 122797 - check for user session validity and consistency
  • 2897f8 - clear out expired session tokens no matter which auth method is used
  • 964c2a - expire both the session and the token, not one or the other
  • 373396 - reuse the login token if it has a lot of life left

PR #833 - doc fixes

  • Branch: ether/v3-doc-fixes
  • Revision: 0f8cd05
  • Labels: docs
  • errors fixed re endpoint specifications
  • pod markup improved
  • wording is more consistent
  • missing links in main index page presented on the web

People

Commits

  • e2c2cf - docs: fix entries regarding authorization
  • 854248 - docs: add missing link
  • 7d1f81 - remove outdated comment
  • b2a685 - ignore doc changes that are in the index (e.g. during a rebase)
  • 4274ee - docs: fixes to referenced json schemas
  • 530afe - docs: add references to all endpoints from Conch::Route
  • c6639c - docs: reflect current status in README
  • 079272 - docs: we test responses, not requests
  • 1912bc - docs: pod markup fixes, minor wording improvements
  • b9c201 - split these routes into their own files, for clearer documentation