usd 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +0 -0
- data/README.md +4 -0
- data/bin/rusdc +1 -1
- data/bin/set_env +0 -0
- data/change_log.md +5 -1
- data/images/vcard.png +0 -0
- data/lib/usd.rb +0 -0
- data/usd.gemspec +2 -2
- 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: 96c72b434c05223e7b76a1d26c22920f95ced983ce6641f89b3fc3c0e22d5b81
|
4
|
+
data.tar.gz: 6fa9a8022c88a580c23063299efb14be72432871e36f08360479b7b88ca0cd6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47aed70bac5221913bdb28bd1a9534af9a4770fbe48fb45461242289873c8fa0c68855c8ff2ade0f457f490397cf3d6c64694db872536d4a1d114453a4afa216
|
7
|
+
data.tar.gz: 8ea6c8a638e56326a273cb09df3911ac9ac19f53bd3b048d4bae8e60d02db1190ae2ec6ef94c861c9127b477eaee17407b8fafb72e89926a7f7630f379eb769e
|
data/LICENSE.md
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -117,3 +117,7 @@ more examples under [find examples-Wikipage](https://github.com/ogaida/usd/wiki/
|
|
117
117
|
# senarios
|
118
118
|
|
119
119
|
<img src="https://yuml.me/diagram/scruffy/class/[SDM%20REST-API{bg:red}]<->[usd-gem{bg:green}]<->[rusdc{bg:orange}],[ruby-script{bg:orange}]<->[usd-gem],[sinatra%20web-app{bg:orange}]<->[usd-gem],[bash commands]<->[rusdc],[shell-scripts]<->[rusdc],[import]->[ruby-script],[ruby-script]->[export],[reports]<-[sinatra%20web-app]<-[drop datafiles/emails/create objects]">
|
120
|
+
|
121
|
+
# feedback
|
122
|
+
|
123
|
+
Since I could only test this gem in a 14.1 environment, I would be interested to know whether it also works in a version 17 environment of CA Service Management. Any kind of feedback is very welcome.
|
data/bin/rusdc
CHANGED
@@ -520,7 +520,7 @@ class Rusdc < Thor
|
|
520
520
|
})
|
521
521
|
data = loadcon.update({:type => "json", :data => json})
|
522
522
|
if data.class == RestClient::BadRequest
|
523
|
-
puts "
|
523
|
+
puts "Hint: Do not panic, I got a bad Request-Response from USD-API. Now I try again to update via IDs of COMMON_NAME arguments. Be aware to specify a ref_obj if it's not nr."
|
524
524
|
cn_id = loadcon.search(obj,{'fields' => "@id","wc" => "#{Usd::CN[obj]} = '#{cn}' and delete_flag = 0"})[0]["@id"]
|
525
525
|
value_id = loadcon.search(ref_obj,{'fields' => "@id","wc" => "#{Usd::CN[ref_obj]} = '#{v}' and delete_flag = 0"})[0]["@id"]
|
526
526
|
invoke "update_ref_attr_by_id", [obj, cn_id, k, value_id]
|
data/bin/set_env
CHANGED
File without changes
|
data/change_log.md
CHANGED
data/images/vcard.png
CHANGED
File without changes
|
data/lib/usd.rb
CHANGED
File without changes
|
data/usd.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'usd'
|
3
|
-
spec.version = '1.4.
|
4
|
-
spec.date = '2020-
|
3
|
+
spec.version = '1.4.1'
|
4
|
+
spec.date = '2020-12-01'
|
5
5
|
spec.summary = "SDM REST-API-Calls"
|
6
6
|
spec.description = "a Ruby class and a commandlinetool for SDM REST-API-Calls"
|
7
7
|
spec.authors = ["Oliver Gaida"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: usd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Gaida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|