Commit Graph

15 Commits

Author SHA1 Message Date
ricolin 9bbf3d8a97 retire js-openstack-lib
This project is being retired

Release update: https://review.opendev.org/c/openstack/governance/+/771789

ML: http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019847.html
Codesearch: https://codesearch.opendev.org/?q=js-openstack-lib&i=nope&files=&excludeFiles=&repos=

Change-Id: I94c42c0ac3ec23c685d1b50d35383ad078916f06
2023-10-19 12:29:20 -07:00
Monty Taylor 346f7eeda0 Update eslint and switch to standard
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
2020-06-12 13:04:59 -05:00
Radosław Piliszek 8354146c11 CI: New jobs
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
2020-06-12 17:06:24 +00:00
Corentin Ardeois b362b89813 Update supported keystone version
This patch will fix functionnal tests

Change-Id: Iffd37201e7b3f49468b964bd357d1d94854e4ce7
2017-01-19 19:37:59 -05:00
Corentin Ardeois beec17c6e4 Use serviceEndpoint compatible with versions
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
2016-11-23 09:53:27 -05:00
Vitaly Kramskikh 9dabaecf11 Added tokenInfo() method to Keystone API
Also fixed nesting in keystone functional tests and deduplicated
mock data for Keystone.

Change-Id: Ia2f0def84d45616eb8c3464b7ba4f47fadfda50d
2016-10-17 21:53:07 +00:00
Vitaly Kramskikh 3956dbe65b Support names and ids for users, projects and domains in Keystone
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
2016-10-17 19:01:11 +03:00
Michael Krotscheck 5295a1025b Added more verbose logging to keystone functional tests.
This will assist in debugging DSVM errors.

Change-Id: Ieeee59722e203e763a50f427db55188bc683f21d
2016-09-01 11:00:32 -07:00
Michael Krotscheck c98bc9cd23 Added loglevel
This patch adds loglevel back in as our logging framework, as
an assistatn for debugging the in/outbound HTTP requests.

Change-Id: I545e27f5c957f9c5c7a2dc73730b9db91600c1ce
2016-09-01 11:00:29 -07:00
Michael Krotscheck 71fef1257b Use clouds.yaml credentials for admin functional tests.
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
2016-09-01 10:58:22 -07:00
Michael Krotscheck be86176883 Added catalogList() method to keystone API
Given a token, this method will return a promise which resolves to
the service catalog.

Change-Id: If1b7832f5e5e48902e0ef31d28384bb9aeab2fd5
2016-08-24 17:08:31 -07:00
Michael Krotscheck 558ceea566 Added tokenRevoke() method to keystone API.
This method permits the revocation of an auth token, whether by
the auth token itself, or by an admin token.

Change-Id: Ia80fd70986410b364351bffeaa5823a36d25d2cc
2016-08-24 17:08:31 -07:00
Michael Krotscheck d7de0cfb52 Added tokenIssue() method to keystone API.
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
2016-08-24 17:08:31 -07:00
Michael Krotscheck f231326d83 Added version() resource.
This resource will attempt to resolve a supported API version from
the versions available on the Keystone API.

Change-Id: Icca49d3c124fb9526aa4316290b475d95cfda2ce
2016-08-24 17:08:29 -07:00
Michael Krotscheck 8ee9b24233 Created versions() resource for Keystone
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
2016-08-24 17:07:48 -07:00