Commit Graph

84 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2a9c2c1e2e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:57 +00:00
Ian Wienand 7389224c14 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ifb2b7b87e33a742d67521d81225416d78b47ccc7
2019-03-24 20:35:49 +00:00
Zuul 995ec0bd17 Merge "Allow to work in secure mode without certificate" into stable/pike 2017-10-20 22:09:01 +00:00
Mike Fedosin ff2cf5b58d Don't create client for help and bash completion
Currently when we need a help, client object is created
and authentication is performed. This is completely useless
and leads to unnecessary actions in the background.

This patch prevents creation of client object (and therefore
authentication) for help or bash-completion commands.

Change-Id: I08ee73980efc1e84d91868e451e11fa5fe547bf4
2017-10-20 21:01:30 +00:00
Mike Fedosin 18eb05565e Allow to work in secure mode without certificate
If we are not working in insecure mode and certificate not
supplied we should work still in secured mode, because secure
mode can work even without certificate supplied (loaded to ca-store)

Change-Id: If3471fc8621a774a1f752cd6b84509e7128b0146
Closes-bug: #1720783
(cherry picked from commit c9f70bd2c2)
2017-10-18 14:09:30 +00:00
OpenStack Proposal Bot 89dab4e17c Updated from global requirements
Change-Id: I037d959125568f669721fd692e4bc354b476c543
2017-09-21 01:06:00 +00:00
Jenkins 016653cbdc Merge "Allow to delete blobs with external urls" 2017-08-15 11:02:05 +00:00
Jenkins 601c73af30 Merge "Add content_length to header in upload_blob" 2017-08-15 10:53:40 +00:00
Idan Narotzki 95f569fc70 Add content_length to header in upload_blob
Complementary update to glare server commit:
"Allocate blob size before starting the upload"

Co-Authored-By: Mike Fedosin <mikhail.fedosin.ext@nokia.com>

Change-Id: If3ad1bc69fd0a68b5c03abe163b76ba166245b81
2017-08-15 12:02:22 +03:00
Idan Narotzki abedb2836d Allow to delete blobs with external urls
This patch support new API request to delete blobs from
artifact:
DELETE /artifacts/{type_name}/{artifact_id}/{blob_name}

if user wants to delete internal blob glare raises 403 error.

Co-Authored-By: Mike Fedosin <mikhail.fedosin.ext@nokia.com>

Change-Id: I8daa686df3a05158f59b33546397b23a494d5ab1
2017-08-12 12:39:11 +03:00
Mike Fedosin f669aba20c Add ssl options to keycloak auth module
Change-Id: I8ac595de304b627ef2f701fcf78644be854438ec
2017-08-10 18:22:49 +03:00
Mike Fedosin 4563ad2ecd Add ssl options to glare cli
Change-Id: I00ccbd9920bfb69e019a056418097b9d1a9679ca
2017-08-09 13:39:18 +03:00
Jenkins 081e07a1b7 Merge "Updated from global requirements" 2017-06-28 15:33:19 +00:00
Mike Fedosin 3644d2d664 Return missing 'return' in build_option_parser
It was removed by mistake and should be removed
back.

Change-Id: I0963c2d63b54d1bf6f75e703038712f4632803c8
2017-06-28 01:25:38 +03:00
OpenStack Proposal Bot d37ebf7dc0 Updated from global requirements
Change-Id: Ida481794628514ee416c42f9ec46c2f4190effc9
2017-06-27 12:21:22 +00:00
Jenkins 32619f1f6b Merge "Remove unecessary cli option "--glare-url"" 2017-06-15 15:58:59 +00:00
Mike Fedosin ac2d9524bd Remove unecessary cli option "--glare-url"
This feature was added to native cli[1] as "--os-glare-url"
and not required in openstackclient plugin anymore.

[1] https://github.com/openstack/python-glareclient/blob/master/glareclient/shell.py#L176

Change-Id: Id0bef47d56ecc3cf8dc7362755b06e74e0d49f0e
2017-06-13 00:15:13 +03:00
Mike Fedosin a00ddc6632 Add missing 'activate' command to native glare cli
Change-Id: I5709b5f95cce8500c8951ec53ae7efdc37957992
2017-06-01 15:51:22 +03:00
Mike Fedosin 5768a0db95 Remove unnecessary code from shell
Change-Id: I678cf4d442366e5f24216fc0b877096358851513
2017-04-21 19:12:30 +03:00
Mike Fedosin f79904c3f2 Raise error if there are more than 1 artifact with same name/version
Change-Id: Ifa69a12de15b854c6b27d2b3edd37d0eb47eabf8
2017-04-05 23:55:44 +03:00
Mike Fedosin bcc6c0d821 Fix a typo in bash_complition file name
Change-Id: If07f7a664bb7dd1fee0e0f229d135d8723feaa3f
2017-03-30 02:10:00 +03:00
Jenkins 5d7684cf34 Merge "Rename deprecated 'warn' to 'warning' in logging" 2017-03-27 16:04:46 +00:00
Mike Fedosin 27d3dab1c6 Rename deprecated 'warn' to 'warning' in logging
Change-Id: I5b21817362ef4f71d70e8d446b878372f7941bd2
2017-03-27 15:42:47 +00:00
Jenkins e732f0ff23 Merge "Add 'list-types' and 'schema' operation in native shell" 2017-03-27 15:13:21 +00:00
Mike Fedosin d6295716f9 Add 'list-types' and 'schema' operation in native shell
Change-Id: I0dbc6647e592032eb442e5c622ff53816b9b254d
2017-03-27 17:51:57 +03:00
Rui Yuan Dou 2b1bea0f45 Use assertIsNone(value) instead of assertEqual(None, value)
Change-Id: Id68e974e4003d364765d683e8dd108559055f1cd
2017-03-22 11:22:18 +08:00
Mike Fedosin 36f0e7318d Add keycloak auth support
Change-Id: I88c79656fbc6cd9c055569979083ef385ba84563
2017-03-16 14:41:29 +03:00
ricolin e7e555e045 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Icb9b8708b37abd48ff66db34b46429efe33a635f
2017-03-02 21:31:13 +08:00
OpenStack Proposal Bot de52047641 Updated from global requirements
Change-Id: I05dbabeca301da42afc6d44da21cad44dd91ae1c
2017-02-11 17:51:16 +00:00
Sergey Skripnick 5e85f0fc3c HTTP Client refactoring
Library `requests` can handle files, pipes, dictionaries and iterators
as `data` argument.

Use 'json' argument to send json requests.

Rewrite some unittests using mock.

Change-Id: I95b71eb2716dc57708ed105659ffece376bd8344
2017-01-17 16:35:26 +03:00
Jenkins 7c62625b2a Merge "Add tag support for Glare client" 2017-01-16 21:58:50 +00:00
Mike Fedosin 68ed374835 Parse blob dict upload output right
Change-Id: Ie9aca92820d35576862a5580fc4de8b3237cba03
2017-01-16 23:00:27 +03:00
Mike Fedosin 847615851c Add tag support for Glare client
Change-Id: I08bdfe3260e68bff3955e6dc39941a90c262c112
2017-01-15 17:53:51 +03:00
Mike Fedosin 6ed07b9320 Update CLI options for blobs
This patch
 * changes artifact version option from -v to -V for all blob commands
 * adds option -C for setting custom content-type for blob uploading
 * removes unnecessary possibility for setting content-type for
   external locations

Change-Id: I2f51ce588db3f88d9309081a3d52541a45746d88
2016-12-28 15:13:12 +03:00
Jenkins c03388e413 Merge "Allow to specify dict and list properties in cli" 2016-12-22 18:25:30 +00:00
Mike Fedosin 8e8d788a84 Allow to specify dict and list properties in cli
Change-Id: I9da3c3b0f9f34429ec40d891f76acee863c4ec79
2016-12-22 11:49:15 +03:00
OpenStack Proposal Bot b76bcfa01d Updated from global requirements
Change-Id: I4c2be005e370141222194bc7f9bb99c69e9dab5f
2016-10-22 01:26:49 +00:00
Mike Fedosin 50e117c20d Fix updating image by name
Change-Id: I287be8b28ffa6e52c321d4abe9e4e61720955df7
2016-10-17 13:33:13 +03:00
Jenkins 6eab98a86e Merge "Add the possibility to specify glare url in cli" 2016-10-15 10:15:27 +00:00
Darja Malyavkina 6abe210de2 Allowed to use the artifacts by name
Added the ability to access by name of the artifact.
To access the artifacts by 'id' must specify the appropriate flag.

Change-Id: I776cd8cb0c15fb58891ae7f06d1c1272a4f3478c
2016-10-14 14:09:26 +03:00
Jenkins b8d2760fe5 Merge "Add short arguments and fix small errors" 2016-10-14 10:50:18 +00:00
Darja Malyavkina bfe3072d13 Add short arguments and fix small errors
* Added support for short argument, for example --limit/-l;

* Do not need to specify a value after "--progress";

* Fix "unsupported operand type(s) for -=: 'unicode' and 'int'"
  when set invalid value of 'limit'.

Change-Id: Ifdf7b99f292b4eb3434d9786e8acd662acb36b7d
2016-10-12 17:09:06 +03:00
Mike Fedosin 1c2c08be07 Add the possibility to specify glare url in cli
Change-Id: Idec75a935948c6ed8cf14de5874046395381418d
2016-10-11 11:16:42 +00:00
Jenkins bf9600557e Merge "Add setting of external locations" 2016-10-10 18:26:38 +00:00
Andreas Jaeger ffbd243b03 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: Ia7335b4b90ba1f8ce7c0141909b517e83243c50b
2016-10-06 20:49:53 +02:00
Darja Malyavkina be89f7fe22 Add setting of external locations
Change-Id: Icf0e336d82f8165d63c637fefd7679427ca2e806
2016-10-06 14:24:23 +03:00
Mike Fedosin 82b85ec171 Rename 'sample_artifact' to 'images' in tests
All 'sample_artifact' instances in tests are replaced with
'images' type, because 'sample_artifact' type doesn't exist.

Change-Id: Ie24e52b90be6f36abdcbcba008066a560f4e540e
2016-10-04 16:34:35 +03:00
Jenkins b2dc01eea5 Merge "Add osc command "schema"" 2016-10-04 12:21:49 +00:00
Jenkins dee0503f85 Merge "Add column 'glareType' in show artifact" 2016-10-04 12:21:44 +00:00
Jenkins 5b417b1b10 Merge "Show type name when list 'all' artifacts" 2016-10-04 10:38:46 +00:00