banner_jobsub 0.1.1 → 0.1.2
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/CHANGELOG.md +4 -0
- data/README.md +10 -1
- data/lib/banner_jobsub.rb +8 -1
- data/lib/banner_jobsub/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae0980d3bee20dce27f2f86209bf817ef260330a
|
|
4
|
+
data.tar.gz: 4361e8a4bef678ee5724655076dc9363a510f4d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3f3a90dfdc32fc4b7dd0c9fd523726bef1ef8ddf7f3b6685100d427f86ca85ae4417345a6af80c43b04666900a218eb43387526674de43a71bff9b93e31290a
|
|
7
|
+
data.tar.gz: 185f88383a307820dcb2112424fa48906b428207b7e406839cc1108c1b23cb5742ae7fcda1e9a455a69c6c21ec4fa81c63c9d409d3a1cca86d80734d9cc95c1a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -18,11 +18,20 @@ gem install banner_jobsub
|
|
|
18
18
|
- [formatr](https://rubygems.org/gems/formatr) >= 1.10.1
|
|
19
19
|
|
|
20
20
|
## Configuration
|
|
21
|
-
BannerJobsub expects standard/global configuration values
|
|
21
|
+
BannerJobsub expects standard/global configuration values to be stored in `$BANNER_HOME/admin/banner_jobsub.yaml`. Basic, minimum required values are your SEED1 and SEED3 values:
|
|
22
22
|
```yaml
|
|
23
23
|
seed_one: 111111111
|
|
24
24
|
seed_three: 22222222
|
|
25
25
|
```
|
|
26
|
+
|
|
27
|
+
**Banner 9 / bannerjsproxy**
|
|
28
|
+
If you are using Banner Job Submission Proxy (bannerjsproxy) with either Banner 8 INB or Banner 9 Admin Pages, you can enable bannerjsproxy compatibility using the (optional) configuration setting. Defaults to disabled.
|
|
29
|
+
```yaml
|
|
30
|
+
seed_one: 111111111
|
|
31
|
+
seed_three: 22222222
|
|
32
|
+
banjsproxy: enabled
|
|
33
|
+
```
|
|
34
|
+
|
|
26
35
|
More options and configuration values are covered below.
|
|
27
36
|
|
|
28
37
|
## Installing a Job
|
data/lib/banner_jobsub.rb
CHANGED
|
@@ -35,13 +35,20 @@ module BannerJobsub
|
|
|
35
35
|
seed_three: nil,
|
|
36
36
|
page_length: 55,
|
|
37
37
|
footer: '\f',
|
|
38
|
-
header: ''
|
|
38
|
+
header: '',
|
|
39
|
+
banjsproxy: 'disabled'
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
configure_from_files
|
|
42
43
|
configure_from_hash(opts)
|
|
43
44
|
@config.each { |k, v| fail "Required configuration parameter \"#{k}\" is null." if v.nil? }
|
|
44
45
|
|
|
46
|
+
# If banner jobsub proxy is marked as enabled, shuffle ENV vars to match Ellucian shenanigans
|
|
47
|
+
if @config[:banjsproxy].downcase == 'enabled'
|
|
48
|
+
@config[:password] = ''
|
|
49
|
+
@config[:instance] = ENV['PSWD']
|
|
50
|
+
end
|
|
51
|
+
|
|
45
52
|
set_db_connection
|
|
46
53
|
set_role_security
|
|
47
54
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: banner_jobsub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ian Dillon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-oci8
|
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
version: '0'
|
|
128
128
|
requirements: []
|
|
129
129
|
rubyforge_project:
|
|
130
|
-
rubygems_version: 2.
|
|
130
|
+
rubygems_version: 2.6.12
|
|
131
131
|
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: '"Write Ellucian Banner Jobsub jobs in Ruby."'
|