]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1028.data.org-setting.ebook-api-overdrive.sql
LP#1806968 Teach Vandelay to pass correct auth tracker type
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1028.data.org-setting.ebook-api-overdrive.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1028', :eg_version);
4
5 INSERT INTO config.org_unit_setting_type
6     (name, label, description, grp, datatype) 
7 VALUES (
8     'ebook_api.overdrive.discovery_base_uri',
9     oils_i18n_gettext(
10         'ebook_api.overdrive.discovery_base_uri',
11         'OverDrive Discovery API Base URI',
12         'coust',
13         'label'
14     ),
15     oils_i18n_gettext(
16         'ebook_api.overdrive.discovery_base_uri',
17         'Base URI for OverDrive Discovery API (defaults to https://api.overdrive.com/v1). Using HTTPS here is strongly encouraged.',
18         'coust',
19         'description'
20     ),
21     'ebook_api',
22     'string'
23 ),(
24     'ebook_api.overdrive.circulation_base_uri',
25     oils_i18n_gettext(
26         'ebook_api.overdrive.circulation_base_uri',
27         'OverDrive Circulation API Base URI',
28         'coust',
29         'label'
30     ),
31     oils_i18n_gettext(
32         'ebook_api.overdrive.circulation_base_uri',
33         'Base URI for OverDrive Circulation API (defaults to https://patron.api.overdrive.com/v1). Using HTTPS here is strongly encouraged.',
34         'coust',
35         'description'
36     ),
37     'ebook_api',
38     'string'
39 ),(
40     'ebook_api.overdrive.account_id',
41     oils_i18n_gettext(
42         'ebook_api.overdrive.account_id',
43         'OverDrive Account ID',
44         'coust',
45         'label'
46     ),
47     oils_i18n_gettext(
48         'ebook_api.overdrive.account_id',
49         'Account ID (a.k.a. Library ID) for this library, as assigned by OverDrive',
50         'coust',
51         'description'
52     ),
53     'ebook_api',
54     'string'
55 ),(
56     'ebook_api.overdrive.websiteid',
57     oils_i18n_gettext(
58         'ebook_api.overdrive.websiteid',
59         'OverDrive Website ID',
60         'coust',
61         'label'
62     ),
63     oils_i18n_gettext(
64         'ebook_api.overdrive.websiteid',
65         'Website ID for this library, as assigned by OverDrive',
66         'coust',
67         'description'
68     ),
69     'ebook_api',
70     'string'
71 ),(
72     'ebook_api.overdrive.authorizationname',
73     oils_i18n_gettext(
74         'ebook_api.overdrive.authorizationname',
75         'OverDrive Authorization Name',
76         'coust',
77         'label'
78     ),
79     oils_i18n_gettext(
80         'ebook_api.overdrive.authorizationname',
81         'Authorization name for this library, as assigned by OverDrive',
82         'coust',
83         'description'
84     ),
85     'ebook_api',
86     'string'
87 ),(
88     'ebook_api.overdrive.basic_token',
89     oils_i18n_gettext(
90         'ebook_api.overdrive.basic_token',
91         'OverDrive Basic Token',
92         'coust',
93         'label'
94     ),
95     oils_i18n_gettext(
96         'ebook_api.overdrive.basic_token',
97         'Basic token for client authentication with OverDrive API (supplied by OverDrive)',
98         'coust',
99         'description'
100     ),
101     'ebook_api',
102     'string'
103 ),(
104     'ebook_api.overdrive.granted_auth_redirect_uri',
105     oils_i18n_gettext(
106         'ebook_api.overdrive.granted_auth_redirect_uri',
107         'OverDrive Granted Authorization Redirect URI',
108         'coust',
109         'label'
110     ),
111     oils_i18n_gettext(
112         'ebook_api.overdrive.granted_auth_redirect_uri',
113         'URI provided to OverDrive for use with granted authorization',
114         'coust',
115         'description'
116     ),
117     'ebook_api',
118     'string'
119 ),(
120     'ebook_api.overdrive.password_required',
121     oils_i18n_gettext(
122         'ebook_api.overdrive.password_required',
123         'OverDrive Password Required',
124         'coust',
125         'label'
126     ),
127     oils_i18n_gettext(
128         'ebook_api.overdrive.password_required',
129         'Does this library require a password when authenticating patrons with the OverDrive API?',
130         'coust',
131         'description'
132     ),
133     'ebook_api',
134     'bool'
135 );
136
137 COMMIT;
138