Skip to content

Update query params sent to activity endpoint#10322

Merged
chelshaw merged 2 commits into
masterfrom
ui/fix-end-query-param
Nov 4, 2020
Merged

Update query params sent to activity endpoint#10322
chelshaw merged 2 commits into
masterfrom
ui/fix-end-query-param

Conversation

@chelshaw
Copy link
Copy Markdown
Contributor

@chelshaw chelshaw commented Nov 4, 2020

This change fixes an issue where a timestamp sent for the end of the month could be read as the next month and then rounded, creating an offset on results:
image (1)

Now, the query params sent take advantage of the internal logic of the API endpoint, which automatically rounds the start date to the beginning of the month and the end date to the end of the month.
fixed-end-date-param

@chelshaw chelshaw added ui bug Used to indicate a potential bug labels Nov 4, 2020
@chelshaw chelshaw added this to the 1.6 milestone Nov 4, 2020
Copy link
Copy Markdown
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@chelshaw chelshaw merged commit 33c3a7b into master Nov 4, 2020
@chelshaw chelshaw deleted the ui/fix-end-query-param branch November 4, 2020 18:14
chelshaw added a commit that referenced this pull request Nov 4, 2020
chelshaw added a commit that referenced this pull request Nov 4, 2020
tsaarni pushed a commit to Nordix/vault that referenced this pull request Nov 18, 2025
…icorp#10523)

* [UI] Ember Data Migration - PKI Config Setup (hashicorp#10320)

* adds api and capabilities services to pki engine

* updates eslintrc to ignore rest siblings for no-unused-vars rule

* adds ember-template-lint to pki engine

* updates check-issuers decorator to use api service

* adds constants for pki capabilities paths

* updates pki configuration route to use api service and fetch capabilities

* [UI] Ember Data Migration - PKI Config Generate Form (hashicorp#10322)

* updates form class data object to tracked

* adds isNot validator

* updates tsconfig to resolve json modules

* updates open-api form class to use the spec file rather than help response for form field/group generation

* adds pki config generate form

* [UI] Ember Data Migration - PKI Config Create (hashicorp#10331)

* updates pki configure create route and component

* updates pki generate csr component to use api service and form class

* updates pki generate root component to use api service and form class

* updates pki import bundle component to use api service

* [UI] Ember Data Migration - PKI Config Generate Sub Components (hashicorp#10332)

* updates pki generate toggle groups component to support form class

* updates pki key parameters component to support form class

* updates pki generate immediate component based on csr component changes

* updates pki generate root component based on root component changes

* more pki config sub component updates

* updates pki issuer rotate root component to use api serivce and form

* updates pki acceptance tests (hashicorp#10341)

* [UI] Ember Data Migration - PKI Configuration Edit (hashicorp#10339)

* adds forms for pki config acme, cluster, crl and urls

* updates pki config edit worflow to use api service and forms

* updates pki config details workflow to use api service (hashicorp#10340)

* updates auth configure section route to pass schema key to OpenApiForm constructor

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Used to indicate a potential bug ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants