Skip to content

[Install sdk]: Installation completed, but still lack of dependency. #221

Closed

Description

@ghforgaofeng

hi;
I installed the SDK with this command: "composer require php-opencloud/openstack",
but I still lack dependencies, whether I need to install it manually, or my method is incorrect.
I hope to get help and I will continue to study “composer”。
My English is not good, I hope you can understand.

thanks。

Activity

  1. ghforgaofeng commented on Mar 11, 2018

    @ghforgaofeng
    Author

    Well, I've solved the problem.
    But there are still two files that do not exist.
    ----------------------------------------
    use OpenStack\Common\Resource\ValueResource;
    use OpenStack\Networking\v2\Models\Pool;
    -
    ---------------------------------------
    At the moment, I'm not sure about the severity of the missing file.

  2. haphan commented on Mar 13, 2018

    @haphan
    Collaborator

    @ghforgaofeng Dependencies are managed by composer, by right all you need is running command composer require php-opencloud/openstack.

    I am looking into the issue.

  3. haphan commented on Mar 13, 2018

    @haphan
    Collaborator

    Seems like those are unused imports

       1) openstack/src/Identity/v2/Models/Token.php (no_unused_imports)
       2) openstack/src/Identity/v3/Service.php (no_unused_imports)
       3) openstack/src/Images/v2/Models/Image.php (no_unused_imports)
       4) openstack/src/Common/Transport/RequestSerializer.php (no_unused_imports)
       5) openstack/src/Common/Transport/Middleware.php (no_unused_imports)
       6) openstack/src/Common/Api/OperatorTrait.php (no_unused_imports)
       7) openstack/src/Common/Service/AbstractService.php (no_unused_imports)
       8) openstack/src/Compute/v2/Models/Host.php (no_unused_imports)
       9) openstack/src/Compute/v2/Models/HypervisorStatistic.php (no_unused_imports)
    

    Will push a fix for this soon

  4. haphan commented on Mar 13, 2018

    @haphan
    Collaborator

    Thanks for reporting @ghforgaofeng. Issue is fixed in #223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions