morpheus-cli 5.3.0.2 → 5.3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df0619a5257918457e8ab35ad9d7295250090e3384cc8d44a0728106e054e6e8
4
- data.tar.gz: 4265d116d7c17405aa0127eb5646a55471b088bbbad3d66c61dbc920060c11a2
3
+ metadata.gz: 537ea8ecb044cb316ca3c7610ff9d48d2cfdea448c37c2ce171d797143b9d5bb
4
+ data.tar.gz: e80110f66f9a28496f507bebc117fb7aa74f770f33f8aadb9078bf331b4099f7
5
5
  SHA512:
6
- metadata.gz: 86ba977806d064356e387e990b9fbcf65f561f546d0447bb1886d3aa7f017d31cfa55d58ee15fd3c6a5f7fc83bdb629b90650472efca03d916c64bfc00566892
7
- data.tar.gz: 9fb082cb31c221de9581c892db34291e20c2acfbc960b880fbecbc70c12fa8157438328e056546f13aa6eb97540774ab16bf7aed650a0121375bdd86f3ebf75e
6
+ metadata.gz: 0fff28a9b02ccbff264efa449fd56455316af3263c990cc15f37eae658f45c44e47f5138c33428744d0b687850fa7a710f9fe7193ca753da82057c5570da1ab0
7
+ data.tar.gz: 7738424a32347e6e51970a7b4542accf527057f1634f4a798ec8e98cf0a908c92b5a14a0fda217dd2f94f2666c0d588f9935d5a0f2ab71b7dc78daa04b97563f
data/Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
  FROM ruby:2.5.1
2
2
 
3
- RUN gem install morpheus-cli -v 5.3.0.2
3
+ RUN gem install morpheus-cli -v 5.3.0.3
4
4
 
5
5
  ENTRYPOINT ["morpheus"]
@@ -181,7 +181,7 @@ class Morpheus::Cli::NetworkDomainsCommand
181
181
  options['name'] = val
182
182
  end
183
183
  opts.on('--description VALUE', String, "Description for this network domain") do |val|
184
- options['type'] = val
184
+ options['description'] = val
185
185
  end
186
186
  opts.on('--public-zone [on|off]', String, "Public Zone") do |val|
187
187
  options['publicZone'] = val.to_s == 'on' || val.to_s == 'true'
@@ -722,7 +722,7 @@ class Morpheus::Cli::NetworkDomainsCommand
722
722
  payload['networkDomainRecord']['name'] = v_prompt['name'] unless v_prompt['name'].to_s.empty?
723
723
 
724
724
  # Type
725
- v_prompt = Morpheus::Cli::OptionTypes.prompt([{'fieldName' => 'content', 'fieldLabel' => 'Type', 'type' => 'select', 'required' => true, 'optionSource' => 'dnsRecordType', 'description' => 'Type for this domain record.', 'defaultValue' => 'A'}], options[:options], @api_client)
725
+ v_prompt = Morpheus::Cli::OptionTypes.prompt([{'fieldName' => 'type', 'fieldLabel' => 'Type', 'type' => 'select', 'required' => true, 'optionSource' => 'dnsRecordType', 'description' => 'Type for this domain record.', 'defaultValue' => 'A'}], options[:options], @api_client)
726
726
  payload['networkDomainRecord']['type'] = v_prompt['type'] unless v_prompt['type'].to_s.empty?
727
727
 
728
728
  # Content
@@ -346,7 +346,7 @@ class Morpheus::Cli::ReportsCommand
346
346
  report_result = find_report_result_by_id(args[0])
347
347
  return 1 if report_result.nil?
348
348
 
349
- link = "#{@appliance_url}/login/oauth-redirect?access_token=#{@access_token}\\&redirectUri=/operations/reports/#{report_result['type']['code']}/reportResults/#{report_result['id']}"
349
+ link = "#{@appliance_url}/login/oauth-redirect?access_token=#{@access_token}\\&redirectUri=/operations/reports/#{report_result['type']['code']}/results/#{report_result['id']}%3Fcontext=results"
350
350
 
351
351
  if options[:dry_run]
352
352
  puts Morpheus::Util.open_url_command(link)
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "5.3.0.2"
4
+ VERSION = "5.3.0.3"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0.2
4
+ version: 5.3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-03-01 00:00:00.000000000 Z
14
+ date: 2021-04-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler