The openstack eslint package is just really not needed at this
point. Use standardjs and run --fix on it.
Switch away from using node 8 to run linters and tests.
Change-Id: I51f68d4ec30c8da5d1601ef00045e53f90d0554b
This follows removal of jobs from project-config. [1]
New jobs use newer node versions and new Zuul v3 format,
reusing devstack for deployment of OpenStack for functional
testing of jslib.
Version tests have been adapted to follow support logic
already in place instead of hardcoded supported versions.
Includes workaround (fixup) of devstack's bug. [2]
Move the functional test to experimental for now, because version
discovery doesn't work right and Firefox is generally grumpy.
We want to get the structural stuff in first.
[1] https://review.opendev.org/702030
[2] https://bugs.launchpad.net/devstack/+bug/1860287
Depends-on: https://review.opendev.org/704882
Depends-on: https://review.opendev.org/726547
Co-authored-by: Monty Taylor <mordred@inaugust.com>
Change-Id: I197eb2b59be7a49d168edf09d554b444bbcc29b2
This patch adds a more flexible selection of version in AbstractService.
A version will be selected if it's compatible with the 'supportedVersions'.
Example:
supportedVersions = ['v3.1'];
All minor versions above 3.1 will be compatible (3.1.2, 3.2, 3.3 etc)
However 4.x will not be compatible
Change-Id: Icd540449ebf6a09d9bb7e1d25a85e2dbe787c5a4
In Keystone API it's possible to provide both ids and names for
users, projects, user domains and project domains. This commit
adds support for this functionality.
Change-Id: I3268bd82cc92a150927c98e0827ebd105d91f5e3
This patch adds loglevel back in as our logging framework, as
an assistatn for debugging the in/outbound HTTP requests.
Change-Id: I545e27f5c957f9c5c7a2dc73730b9db91600c1ce
Credentials for the admin devstack configuration are no
longer hardcoded. Thus, if infra changes the DSVM config,
we should pick up the changes.
Change-Id: I8924120aae8a8843d57327793bebce839dea0ebd
This method permits the revocation of an auth token, whether by
the auth token itself, or by an admin token.
Change-Id: Ia80fd70986410b364351bffeaa5823a36d25d2cc
This method handles sending an authorization request against the
keystone API, and returns the issued Authorization Token. At this
time it only supports the password authorization plugin. Additional
use cases should be provided by third-party developers.
It is the long term intent that this method will deprecate the
authorize() method, in order to provide a consistently idempotent
implementation.
Change-Id: If1368bcdae251606d2e03043345cd4fc6f0b8b80
This resource will attempt to resolve a supported API version from
the versions available on the Keystone API.
Change-Id: Icca49d3c124fb9526aa4316290b475d95cfda2ce
This resource returns a (caching) promise, which will eventually
resolve to the list of versions published at the auth_url. It also
updates the unit tests to draw from a consolidated set of mock data.
Change-Id: I0d0de5b6ef6a1e3d1f5daa40a88ec3d799c43a64