3scale_toolbox 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/3scale_toolbox/commands/application_command/apply_command.rb +2 -3
- data/lib/3scale_toolbox/commands/application_command/delete_command.rb +2 -3
- data/lib/3scale_toolbox/commands/application_command/show_command.rb +2 -3
- data/lib/3scale_toolbox/commands/update_command.rb +1 -1
- data/lib/3scale_toolbox/entities/application.rb +2 -3
- data/lib/3scale_toolbox/version.rb +1 -1
- data/licenses.xml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77a9d7d0e60a466ca8e9fb2c1a5e41c569a0432d0964289bcade26ce09301d9c
|
|
4
|
+
data.tar.gz: a6cc2860ea460c9965afa026195ff0ec753ef71ded028b4aae3b0c65b1feba82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08b45025343b5dddb054421089d9a827a602f383495983e5619165df96704b428359d79cbff267f2341cafd226a2fcbddb4c58d7d24a4178c99216ed95fd3018'
|
|
7
|
+
data.tar.gz: e1c60e3fb0e67caa49b0db97468ffef9f71e68c16db2d004f9cc36186f5642e2f36f30af5b4bd10bd27ad9ea966f97e9fdd39bc908d0a93fa6b6f1495402dc0e
|
data/README.md
CHANGED
|
@@ -64,7 +64,7 @@ COMMANDS
|
|
|
64
64
|
proxy-config proxy-config super command
|
|
65
65
|
remote remotes super command
|
|
66
66
|
service services super command
|
|
67
|
-
update update super command
|
|
67
|
+
update [DEPRECTATED] update super command
|
|
68
68
|
|
|
69
69
|
OPTIONS
|
|
70
70
|
-c --config-file=<value> 3scale toolbox configuration file (default:
|
|
@@ -13,10 +13,9 @@ module ThreeScaleToolbox
|
|
|
13
13
|
description <<-HEREDOC
|
|
14
14
|
Update (create if it does not exist) application'
|
|
15
15
|
\n Application param allows:
|
|
16
|
-
\n * Application internal id
|
|
17
16
|
\n * User_key (API key)
|
|
18
|
-
\n * App_id (from app_id/app_key pair)
|
|
19
|
-
\n *
|
|
17
|
+
\n * App_id (from app_id/app_key pair) or Client ID (for OAuth and OpenID Connect authentication modes)
|
|
18
|
+
\n * Application internal id
|
|
20
19
|
HEREDOC
|
|
21
20
|
|
|
22
21
|
option nil, 'user-key', 'User Key (API Key) of the application to be created.', argument: :required
|
|
@@ -13,10 +13,9 @@ module ThreeScaleToolbox
|
|
|
13
13
|
description <<-HEREDOC
|
|
14
14
|
Delete application'
|
|
15
15
|
\n Application param allows:
|
|
16
|
-
\n * Application internal id
|
|
17
16
|
\n * User_key (API key)
|
|
18
|
-
\n * App_id (from app_id/app_key pair)
|
|
19
|
-
\n *
|
|
17
|
+
\n * App_id (from app_id/app_key pair) or Client ID (for OAuth and OpenID Connect authentication modes)
|
|
18
|
+
\n * Application internal id
|
|
20
19
|
HEREDOC
|
|
21
20
|
|
|
22
21
|
param :remote
|
|
@@ -16,10 +16,9 @@ module ThreeScaleToolbox
|
|
|
16
16
|
description <<-HEREDOC
|
|
17
17
|
Show application attributes
|
|
18
18
|
\n Application param allows:
|
|
19
|
-
\n * Application internal id
|
|
20
19
|
\n * User_key (API key)
|
|
21
|
-
\n * App_id (from app_id/app_key pair)
|
|
22
|
-
\n *
|
|
20
|
+
\n * App_id (from app_id/app_key pair) or Client ID (for OAuth and OpenID Connect authentication modes)
|
|
21
|
+
\n * Application internal id
|
|
23
22
|
HEREDOC
|
|
24
23
|
|
|
25
24
|
param :remote
|
|
@@ -8,7 +8,7 @@ module ThreeScaleToolbox
|
|
|
8
8
|
Cri::Command.define do
|
|
9
9
|
name 'update'
|
|
10
10
|
usage 'update <sub-command> [options]'
|
|
11
|
-
summary 'update super command'
|
|
11
|
+
summary '[DEPRECTATED] update super command'
|
|
12
12
|
description 'Update 3scale entities between tenants'
|
|
13
13
|
|
|
14
14
|
run do |_opts, _args, cmd|
|
|
@@ -12,10 +12,9 @@ module ThreeScaleToolbox
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
# ref can be
|
|
15
|
-
# * Application internal id
|
|
16
15
|
# * User_key (API key)
|
|
17
|
-
# * App_id (from app_id/app_key pair)
|
|
18
|
-
# *
|
|
16
|
+
# * App_id (from app_id/app_key pair) / Client ID (for OAuth and OpenID Connect authentication modes)
|
|
17
|
+
# * Application internal id
|
|
19
18
|
def find(remote:, service_id: nil, ref:)
|
|
20
19
|
app = find_by_user_key(remote, service_id, ref)
|
|
21
20
|
return app unless app.nil?
|
data/licenses.xml
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: 3scale_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michal Cichra
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-07
|
|
12
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|