Skip to content

Listing projects with OSClientV3 resolves to "/v2.0/projects" GET request #811

@ScottMaclure

Description

@ScottMaclure

As per the docs here:
http://www.openstack4j.com/learn/identity/identity-v3/#projects

Using OSClientV3 (scoped to domain):

OSClientV3 os = OSFactory.builderV3()... etc.

List<? extends Project> projectList = os.identity().projects().list();

Debugging now, but have confirmed this locally with v3.0.2.

If I change the endpoint in the debugger to "v3/projects", I get back a project list. Otherwise, an empty collection is returned.

Will update when I dig further.

Edit1: KeystoneEndpoints configured for v3 service with v2.0 URLs?

example-openstack4j-projects-v2 1

example-openstack4j-projects-resolvev3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions