Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from 4.3.0 #759

Merged
merged 334 commits into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
58f6a71
fix post setup for scim
devrimyatar Nov 4, 2020
f6244fb
Casa's script for DUO
maduvena Nov 24, 2020
e43becf
oxBiometricDevices, oxDUODevices
maduvena Nov 25, 2020
b78158c
Putting oxDuoDevices and oxBiometricDevices at the bottom
maduvena Dec 7, 2020
1609551
oxBiometricDevices and oxDuoDevices are a part of gluuCustomPerson an…
maduvena Dec 7, 2020
2eda20e
fix custom_schema.json
devrimyatar Dec 8, 2020
9fb4591
change desc in custom_schema.json
devrimyatar Dec 8, 2020
cb8b21c
(4.2.2) setup: revoke interception script sample
yuriyz Dec 11, 2020
0baf0b4
Merge remote-tracking branch 'origin/version_4.2.2' into version_4.2.2
yuriyz Dec 11, 2020
10e3c63
ask if oxtrust to be installed
devrimyatar Dec 11, 2020
da34b28
Merge branch 'version_4.2.2' of https://github.com/GluuFederation/com…
devrimyatar Dec 11, 2020
2fad6fa
couchase user pfrefix in datasource
devrimyatar Dec 12, 2020
7a1c466
fix version in post-setup
devrimyatar Dec 15, 2020
d988e0d
Version 4.2.2.Final
yurem Dec 19, 2020
f2bfec9
Version 4.2.3-SNAPSHOT
yurem Dec 21, 2020
a39420a
(4.2.2) setup: added ou=stat,o=gluu
yuriyz Dec 24, 2020
beb1680
(4.2.3) setup: added jansStatEntry OC
yuriyz Dec 24, 2020
c8d0c05
(4.2.3) setup: added jansId to indexes
yuriyz Dec 24, 2020
bf24a42
change mod_ssl name for rhel7
devrimyatar Jan 1, 2021
ee34b91
data type imapdata -> json for attrib 42E1
devrimyatar Jan 12, 2021
473093c
ldap2cb: migrate to py3 and fixes
devrimyatar Jan 21, 2021
4878dd3
Make some SCIM attributes multivalued as in spec
jgomer2001 Jan 28, 2021
4906d92
Add multivalued data
jgomer2001 Jan 28, 2021
6b222cd
Version 4.2.3.Final
yurem Feb 2, 2021
203e111
(4.2.3) setup: added statWebServiceIntervalLimitInSeconds:60
yuriyz Feb 4, 2021
4990ec8
Merge remote-tracking branch 'origin/version_4.2.3' into version_4.2.3
yuriyz Feb 4, 2021
dc0bdbe
mod_ssl centos7
devrimyatar Feb 4, 2021
22005f2
Version 4.3.0.Final
yurem Feb 5, 2021
72c6056
Add u2f and fido2 test data
jgomer2001 Feb 13, 2021
2b7b651
Add sample update_token script
yurem Feb 17, 2021
bcf9df5
Add sample update_token script
yurem Feb 17, 2021
c2eb0df
fixes templates
devrimyatar Mar 10, 2021
2f47a8b
show version on tui
devrimyatar Mar 10, 2021
e645722
fixes
devrimyatar Mar 10, 2021
bbbd379
no-chroot install script
devrimyatar Mar 10, 2021
2abdb27
install missing packages
devrimyatar Mar 10, 2021
c66536f
Add keepAliveInterval CB SDK support
yurem Mar 10, 2021
a33b887
F2 to display version info
devrimyatar Mar 10, 2021
85db258
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Mar 10, 2021
8907412
python3-six dependency for gluu_setup.py
devrimyatar Mar 10, 2021
b019082
refactor: 4.3.0 setup
devrimyatar May 19, 2021
db85ce2
fix: oxd-server.default
devrimyatar May 19, 2021
33041df
fix: idp download
devrimyatar May 19, 2021
69fe61e
fix: don't backup same file
devrimyatar May 20, 2021
246296d
refactor: seperate argparser
devrimyatar May 20, 2021
0814475
refactor(rdbm): json files
devrimyatar May 20, 2021
d634b90
fix: add ou=stat,o=gluu
devrimyatar May 20, 2021
4d68b90
feat: migrate Jans to Gluu OC
yurem May 20, 2021
ff1d669
Merge branch 'version_4.3.0_dev' of https://github.com/GluuFederation…
yurem May 20, 2021
69c2c6f
feat: migrate Jans to Gluu OC
yurem May 20, 2021
234350d
refactor: rdbm works
devrimyatar May 20, 2021
0bca3e7
Merge branch 'version_4.3.0_dev' of https://github.com/GluuFederation…
devrimyatar May 20, 2021
64a1635
feat(rdbm): installation
devrimyatar May 20, 2021
bfec2a9
fix: gluu_installer.py for args
devrimyatar May 20, 2021
e29678a
fix: radius installer
devrimyatar May 21, 2021
296b547
fix(rdbm): local install
devrimyatar May 21, 2021
f4f7ff9
fix(schema): add missing attributes
devrimyatar May 21, 2021
13d969f
fix(rdbm): schema and sql data types
devrimyatar May 21, 2021
af0ea66
fix: gluuPerson
devrimyatar May 22, 2021
31dc48c
fix: update package list
devrimyatar May 24, 2021
dd0daba
fix: update installer for missing packages
devrimyatar May 24, 2021
3c0aba9
fix: ruamel module
devrimyatar May 24, 2021
0f7e12c
fix: add pylib path to encode.py
devrimyatar May 24, 2021
b479168
refactor: re-order installers
devrimyatar May 24, 2021
2d3cfa2
fix: encode.py
devrimyatar May 24, 2021
ce1dda9
fix: doc_id gluu --> _
devrimyatar May 24, 2021
a2d271c
fix: remov unused file db_utils_org.py
devrimyatar May 24, 2021
6fa0b63
feat: add -n option to gluu_install.py
devrimyatar May 24, 2021
b29eda1
fix: change ce setup branch
devrimyatar May 24, 2021
fb81072
feat: implement --no-progress
devrimyatar May 24, 2021
1ea61b3
fix: redhat8 installs
devrimyatar May 24, 2021
68f3f1e
feat: add -no-setup to installer
devrimyatar May 24, 2021
a183aa2
fix: typo
devrimyatar May 24, 2021
5404503
fix: enable opendj
devrimyatar May 25, 2021
4991620
re-add stat service attrbiutes
devrimyatar May 25, 2021
a434807
fix: generate schema
devrimyatar May 25, 2021
11b6a64
fix: set jetty timeout 300
devrimyatar May 25, 2021
eab97d2
fix: set systemd tiemout
devrimyatar May 25, 2021
63c7ee2
fix: spanner fixes
devrimyatar May 25, 2021
51b01f3
feat: logging config
devrimyatar May 25, 2021
9956b91
fix: cb installation
devrimyatar May 25, 2021
d133e08
refactor: log filename db-backend.log
devrimyatar May 25, 2021
31db2a1
feat: add --dist-server-base
devrimyatar May 26, 2021
5f33b18
fix: couchbase test data loading
devrimyatar May 26, 2021
0f8e88e
fix: cn for uniqueness in ldap
devrimyatar May 27, 2021
06ac067
fix: load test data for ldap
devrimyatar May 27, 2021
add0d18
fix: test data loader ldap bind
devrimyatar May 27, 2021
70c3fbe
fix: dsconfig after test data
devrimyatar May 27, 2021
07ede26
fix: remove attrbiutes lifetime & salt
devrimyatar May 27, 2021
ebdc36b
fix: implement spanner test data loader
devrimyatar May 27, 2021
673a617
fix: add del and exp to gluuPasswordResetRequest
devrimyatar May 28, 2021
d6da5fa
fix: re-generate schema
devrimyatar May 28, 2021
095253e
feat: pre add base metric entries
yurem May 28, 2021
e87974a
feat: pre add base metric entries
yurem May 28, 2021
cea0011
feat: pre add base metric entries
yurem May 28, 2021
081a615
fix: spacing
devrimyatar May 28, 2021
fae8269
Update install.py
nikdavnik Jun 1, 2021
ab4c8ce
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
yuriyz Jun 2, 2021
8226d51
fix: added ssnId to oxAuthUmaRPT
yuriyz Jun 2, 2021
81fe406
fix: added ssnId to oxAuthUmaPCT
yuriyz Jun 2, 2021
deaa4c5
fix: load ldif
devrimyatar Jun 2, 2021
8f7aa7a
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Jun 2, 2021
1ec480b
fix(wrends): change display text to opendj
devrimyatar Jun 3, 2021
92c5f03
fix: spanner subtables
devrimyatar Jun 4, 2021
602961b
fix: couchbase install (ref: #741)
devrimyatar Jun 8, 2021
40f33a9
faet: review Spanner indexes #736
yurem Jun 8, 2021
362bfa5
fix: remote couchbase arg
devrimyatar Jun 8, 2021
5930eb1
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Jun 8, 2021
d66cdec
faet: review Spanner indexes #736
yurem Jun 8, 2021
3334617
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
yurem Jun 8, 2021
46a1cde
fix: mysql indexes (ref: #737)
devrimyatar Jun 8, 2021
b2eb1b1
fix: chown root:gluu gluuOptPythonFolder
devrimyatar Jun 9, 2021
f60fdb4
fix(spanner): passport installation (ref: #740)
devrimyatar Jun 9, 2021
e5d9053
fix: creating o=metric related entries (ref: #742)
devrimyatar Jun 10, 2021
85b310b
fix: ldap test data loader
devrimyatar Jun 10, 2021
3665906
fix: spanner test data loading
devrimyatar Jun 10, 2021
6aeec66
feat(test-data): display if test data will be loaded
devrimyatar Jun 10, 2021
989d7c6
feat(cert): download Apple WebAuthn Root CA
devrimyatar Jun 10, 2021
942fa12
fix: setting couchbase admin password
devrimyatar Jun 10, 2021
ec3e9b7
fix: passport cert files mode
devrimyatar Jun 10, 2021
bf0fe6d
feat: merge test config changes from jans
yurem Jun 11, 2021
c7efff4
fix: saml couchbase install (ref: #741)
devrimyatar Jun 11, 2021
6bc7d9b
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Jun 11, 2021
c97c398
fix: check if apache module is availabe before enabling (ref: #741)
devrimyatar Jun 11, 2021
15a00c7
feat: check user and group before adding
devrimyatar Jun 11, 2021
b520612
fix: remove wrong error line for rendering ecnode script
devrimyatar Jun 11, 2021
de87200
feat: check if opendj ports are free (ref: #743)
devrimyatar Jun 14, 2021
ebc7104
fix: /etc/certs permissions
devrimyatar Jun 14, 2021
b94fea4
feat: fix attribute names to conform Gluu shema
yurem Jun 14, 2021
453b137
feat: update test CIBA configuration
yurem Jun 15, 2021
a0f7bd4
feat: update test CIBA configuration
yurem Jun 15, 2021
62fd96f
fix: test data additional columns creation
devrimyatar Jun 15, 2021
5c69e9e
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Jun 15, 2021
98992a5
feat: fix configuration entry DN in server tests
yurem Jun 16, 2021
6a026bc
fix: limit lenght of description for indexing
devrimyatar Jun 16, 2021
e61600a
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Jun 16, 2021
7c45f0a
fix: set size 768 for description
devrimyatar Jun 16, 2021
08cd08e
fix: spanner test data columns
devrimyatar Jun 17, 2021
b8029ac
fix: cb test oxauth config
devrimyatar Jun 17, 2021
700abf1
feat: update default server profile
yurem Jun 17, 2021
696c924
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
yurem Jun 17, 2021
bf50d73
feat: update default server profile
yurem Jun 17, 2021
4429b99
feat: update default server profile
yurem Jun 17, 2021
f242ab2
fix: don't create gluuCustomPerson
devrimyatar Jun 17, 2021
158461c
fix: typo
devrimyatar Jun 17, 2021
f5cc8b0
feat: update default server profile
yurem Jun 17, 2021
476c583
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
yurem Jun 17, 2021
3cf470e
feat: command line backend options
devrimyatar Jun 17, 2021
7f703a3
fix: set couchbase host to hostname for local installation
devrimyatar Jun 18, 2021
fbf3c2a
fix: disable ssl ofr cb test profile
devrimyatar Jun 18, 2021
f9368f5
feat: merge scim properties from Jans
yurem Jun 18, 2021
8734aa2
fix: couchbase hostname
devrimyatar Jun 18, 2021
2db9197
fix: rdbm test data columns
devrimyatar Jun 19, 2021
3672910
fix: local mysql installation
devrimyatar Jun 23, 2021
25ce83c
fix: typo
devrimyatar Jun 23, 2021
53147cb
fix: prepend plus sign https://github.com/GluuFederation/casa/issues/138
jgomer2001 Jun 24, 2021
70ba1d4
feat(tui): implement backends
devrimyatar Jun 24, 2021
120c058
fix: oxd server gluu storage config
devrimyatar Jun 25, 2021
ba5dbd1
fix: typo
devrimyatar Jun 25, 2021
2746815
fix: oxd-server progress string
devrimyatar Jun 25, 2021
8d05bd0
fix: remote cb install
devrimyatar Jun 28, 2021
8b53017
fix: remove tmp file
devrimyatar Jun 28, 2021
7455ccc
fix: create UMA SCIM resource (ref: #744)
devrimyatar Jun 28, 2021
cdf77da
fix: typo
devrimyatar Jun 29, 2021
dd1163d
fix: double backup when inserting lines to file
devrimyatar Jun 29, 2021
53d3985
fix: scim-rp.jks goes to bot output and certs dir
devrimyatar Jun 30, 2021
915ef29
feat: file descriptor limits for systemd services (ref: #734 #745 )
devrimyatar Jul 6, 2021
3f00142
fix: post install tasks
devrimyatar Jul 7, 2021
e204f11
refactor(backend): disable rdbm
devrimyatar Jul 7, 2021
78c717d
feat: re-try download three times on fail
devrimyatar Jul 7, 2021
0bf5694
Load module before config
ganesh-at-wiw Jul 12, 2021
67f269c
fix: passport certs ownerships
devrimyatar Jul 14, 2021
4f7620c
fix: remove sqlalchemy related code from install.py
devrimyatar Jul 15, 2021
1ff6a74
fix: remove gluu_install.py if extracted within container
devrimyatar Jul 15, 2021
e399917
fix: chenage jetty version
devrimyatar Jul 15, 2021
83392c9
fix: typo
devrimyatar Jul 15, 2021
0fc53c8
Updated marketing messages
nynymike Jul 19, 2021
41af7d8
Revert "refactor(backend): disable rdbm"
devrimyatar Jul 20, 2021
11c8ec9
fix: re-do commit 0fc53c8
devrimyatar Jul 20, 2021
01534e5
fix: re-do commit 1ff6a74
devrimyatar Jul 20, 2021
ac19b9c
refactor(rdbm): suppress rdbm options
devrimyatar Jul 20, 2021
a80ffb0
fix: scim istallation
devrimyatar Jul 21, 2021
1a97c35
fix: ownership of webapps dir (ref: #746)
devrimyatar Jul 21, 2021
c1fd397
feat(setup4.3): added stat scope
yuriyz Jul 23, 2021
2ddabdf
refactor(4.3setup): renamed scope stat -> jans_stat
yuriyz Jul 26, 2021
9d9b448
fix: centos packages
devrimyatar Jul 26, 2021
119e9b8
chore: sync scim script wrt oxexternal
jgomer2001 Jul 30, 2021
843d776
chore: remove comment
jgomer2001 Aug 2, 2021
87aa6ae
feat: add enable war updates to gluu_install.py
devrimyatar Aug 3, 2021
fa134ce
feat: extract sqlalchemy
devrimyatar Aug 4, 2021
9807fd4
feat: gluu_install.py update oxd-server
devrimyatar Aug 4, 2021
77047af
feat: dummy installation
devrimyatar Aug 5, 2021
31c90e5
feat: added o to oxAuthClient
yuriyz Aug 5, 2021
12be02f
fix: typo on help
devrimyatar Aug 5, 2021
e2136ae
fix: update shibboleth idp custom script
uprightech Aug 6, 2021
18c7b40
chore: adjust length casa attributes
jgomer2001 Aug 6, 2021
5477f85
fix: don't create config for oxd
devrimyatar Aug 6, 2021
3df43d3
feat: Touch ID as a fido2 device (platform authenticator)
maduvena Aug 10, 2021
9569257
feat: Adjust protection mode handling in SCIM
jgomer2001 Aug 11, 2021
662b03f
Merge pull request #747 from uprightech/version_4.3.0
uprightech Aug 11, 2021
cdd0f2e
feat: scim scopes (ref: #750)
devrimyatar Aug 11, 2021
6ee5b20
feat: UMA mode for SCIM (ref: #752)
devrimyatar Aug 12, 2021
fbfbb5c
feat: dbUtils set config by dn
devrimyatar Aug 16, 2021
151be63
fix: find oxd_host when collecting properties
devrimyatar Aug 18, 2021
6a9777c
feat: fido installer add do_import arg
devrimyatar Aug 19, 2021
0cf4685
fix: collect properties for cb backend
devrimyatar Aug 20, 2021
b3e2692
fix: collect properties oxd_host
devrimyatar Aug 20, 2021
5458597
feat: backup option for copyFile
devrimyatar Aug 20, 2021
d13cab3
fix: collect properties casa for cb backend
devrimyatar Aug 20, 2021
7049a04
fix: set_configuration for cb
devrimyatar Aug 20, 2021
443e674
feat: function determine_key_gen_path()
devrimyatar Aug 23, 2021
bab3db7
feat: conform script wrt latest changes https://github.com/GluuFedera…
jgomer2001 Aug 23, 2021
b48ebca
feat: Update OpenDJ version
yurem Aug 23, 2021
b04fabd
feat: add jetty version
devrimyatar Aug 24, 2021
cd8d35c
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Aug 24, 2021
bc58565
feat: adjust template for new field, see https://github.com/GluuFeder…
jgomer2001 Aug 24, 2021
29388a7
fix: fix oxDeviceData size
yurem Aug 25, 2021
3e05e26
fix: fic consent script api version
yurem Aug 30, 2021
c4bc713
feat: jetty-10 integration
devrimyatar Aug 31, 2021
4022138
fix: jetty inifile
devrimyatar Aug 31, 2021
d9bf915
fix: jetty inifile
devrimyatar Aug 31, 2021
011b7e9
feat: jetty version is available with option -a
devrimyatar Sep 2, 2021
d2eba35
fix: arg parser
devrimyatar Sep 2, 2021
d7ed3e3
fix: spanner passport install
devrimyatar Sep 3, 2021
00c6bbe
fix: spanner related issues
devrimyatar Sep 3, 2021
75c55ae
feat: gluu-utils
devrimyatar Sep 8, 2021
d6e70e3
fix: check City in TUI (ref: #754)
devrimyatar Sep 8, 2021
5f47796
fix: updated idp.properties for Shibboleth IDP install
uprightech Sep 16, 2021
38ea985
Merge pull request #755 from uprightech/version_4.3.0
uprightech Sep 17, 2021
f687a27
feat: Casa plugin for Stytch Credentials
maduvena Sep 20, 2021
ccbe70a
fix: use Final binaries
yurem Sep 20, 2021
b640dc6
feat: remove oxaut-rp installation
devrimyatar Sep 20, 2021
a26fe99
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Sep 20, 2021
1a4d803
fix: idp.session.slop entry in idp.properties prevents Shib IDP start
uprightech Sep 21, 2021
32a85d3
Merge pull request #757 from uprightech/version_4.3.0
uprightech Sep 21, 2021
b34ef03
fix: opendj version 4.4.12
devrimyatar Sep 23, 2021
1876c72
Merge branch 'version_4.3.0' of https://github.com/GluuFederation/com…
devrimyatar Sep 23, 2021
5bcd4a4
fix: re-enable encoding setup.properties
devrimyatar Sep 24, 2021
1e57927
fix: prevent casa client vanish
jgomer2001 Sep 27, 2021
7254a89
fix: Fix wrong steps count in consent script
yurem Sep 27, 2021
99f7f15
fix: load setup.properties
devrimyatar Sep 28, 2021
17a4332
fix: update jetty version
devrimyatar Sep 28, 2021
e2cc5dc
fix: mem calculation when setup.properties loaded
devrimyatar Sep 29, 2021
95f38d3
fix: set opendj ram constraint
devrimyatar Sep 29, 2021
54b535b
fix: gluu-radius unable to start
uprightech Sep 30, 2021
8e48345
fix: gluu-radius failed to start due to incorrect user/group
uprightech Sep 30, 2021
dedab18
Merge pull request #758 from uprightech/version_4.3.0
uprightech Sep 30, 2021
3d4fd34
fix: ownership issue
devrimyatar Sep 30, 2021
930f2c6
fix: radius init.d script
devrimyatar Oct 1, 2021
56c7979
Merge branch 'master' into version_4.3.0_merge
yurem Oct 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
431 changes: 431 additions & 0 deletions gluu_install.py

Large diffs are not rendered by default.

31 changes: 29 additions & 2 deletions install.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/python3

import sys
sys.path.append('/usr/lib/python3.6/gluu-packaged/')

import site
import re
import glob
import sys
import os
import subprocess
import argparse
Expand All @@ -18,6 +20,7 @@

run_time = time.strftime("%Y-%m-%d_%H-%M-%S")
ces_dir = '/install/community-edition-setup'
app_dir = '/opt/dist/app'

parser = argparse.ArgumentParser(description="This script extracts community-edition-setup package and runs setup.py without arguments")
parser.add_argument('-o', help="download latest package from github and override current community-edition-setup", action='store_true')
Expand Down Expand Up @@ -98,6 +101,10 @@
if os.path.exists(post_setup):
os.chmod(post_setup, 33261)

gluu_install = '/install/community-edition-setup/gluu_install.py'
if os.path.exists(gluu_install):
os.remove(gluu_install)

if argsp.o:
npy_download_link = 'https://github.com/npcole/npyscreen/archive/master.zip'
result = requests.get(npy_download_link, allow_redirects=True)
Expand All @@ -115,11 +122,31 @@
target_dir = '/tmp/npyscreen_tmp'
npyzip.extractall(target_dir)
npyzip.close()

shutil.copytree(
os.path.join(target_dir, parent_dir, 'npyscreen'),
dest_dir
)

shutil.rmtree(target_dir)

print("Extracting sqlalchemy")
sqlalchemy_fn = os.path.join(app_dir, 'sqlalchemy.zip')
sqlalchemy_zip = zipfile.ZipFile(sqlalchemy_fn)
sqlalchemy_parent_dir = sqlalchemy_zip.filelist[0].filename
target_dir = '/tmp/sqlalchemy_tmp'

if os.path.exists(target_dir):
shutil.rmtree(target_dir)

sqlalchemy_zip.extractall(target_dir)
sqlalchemy_zip.close()

sqlalchemy_dir = os.path.join(ces_dir, 'setup_app/pylib/sqlalchemy')

shutil.copytree(
os.path.join(target_dir, sqlalchemy_parent_dir, 'lib/sqlalchemy'),
sqlalchemy_dir
)

shutil.rmtree(target_dir)
2 changes: 0 additions & 2 deletions pylib/generate_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,15 +307,13 @@ def generate_properties(as_dict=False):
'oxauth': ('installOxAuth', 0.3, 0.7),
'identity': ('installOxTrust', 0.2),
'idp': ('installSaml', 0.2),
'oxauth-rp': ('installOxAuthRP', 0.1),
'passport': ('installPassport', 0.1),
}
else:
jetty_services = {
'oxauth': ('installOxAuth', 0.2, 0.7),
'identity': ('installOxTrust', 0.25),
'idp': ('installSaml', 0.25),
'oxauth-rp': ('installOxAuthRP', 0.1),
'casa': ('installCasa', 0.1),
'passport': ('installPassport', 0.1),
}
Expand Down
5 changes: 3 additions & 2 deletions pylib/gluu_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ def get_os_type():
if row:
if row[0] == 'ID':
os_type = row[1].lower()
if os_type == 'rhel':
os_type = 'redhat'
if os_type in ('rhel', 'redhat'):
os_type = 'red'
elif row[0] == 'VERSION_ID':
os_version = row[1].split('.')[0]
print("Detected OS", os_type, os_version)
return os_type, os_version

def read_properties_file(fn):
Expand Down
25 changes: 14 additions & 11 deletions pylib/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ class msg:
MAIN_label = "System Information"
HostForm_label = "Gathering Information"
ServicesForm_label = "Select Services to Install"
DBBackendForm_label = "Choose to Store in WrenDS"
DBBackendForm_label = "Backend Install Options"
StorageSelectionForm_label = "Hybrid Storage Selection"
InstallStepsForm_label = "Installing Gluu Server"
DisplaySummaryForm_label = "Gluu Server Installation Summary"

decription = "Use setup.py to configure your Gluu Server and to add initial data required for oxAuth and oxTrust to start. If setup.properties is found in this folder, these properties will automatically be used instead of the interactive setup."

os_type_label = "Detected OS"
Expand All @@ -34,7 +33,8 @@ class msg:
installOxAuthRP_label = "Install OxAuthRP"
installPassport_label = "Install Passport"
installGluuRadius_label = "Install Radius"
wrends_storages_label = "Store on WrenDS"
wrends_storage_selection_label = "Choose to Store in OpenDJ"
wrends_storages_label = "Store in OpenDJ"
installing_label = "Installing"
installOxd_label = "Install Oxd"
installCasa_label = "Install Casa"
Expand All @@ -58,7 +58,7 @@ class msg:
oxtrust_admin_password_label = "oxTrust Admin Password"
oxtrust_admin_password_warning = "oxTrust Admin Password should be at least six characters"
max_ram_int_warning = "Please enter and integer value for Max ram"
memory_warning = "WARINIG: You don't have enough memory to run Gluu CE properly with selected applications."
memory_warning = "WARINIG: You don't have enough memory to run Gluu CE properly with selected applications. Continue anyway?"

exit_from_app = "Setup is exiting. %(reason)s"
not_to_continue = "Since you don't want to continue."
Expand All @@ -74,28 +74,31 @@ class msg:


ask_installHttpd = "Install Apache HTTPD Server"
ask_installOxTrust = "Install oxTrust Admin GUI"
ask_installSaml = "Install Shibboleth SAML IDP"
ask_installOxAuthRP = "Install oxAuth RP"
ask_installPassport = "Install Passport"
ask_installGluuRadius = "Install Gluu Radius"
ask_installCasa = "Install Casa"
ask_installOxd = "Install Oxd"
ask_wrends_install = "Install WrenDS"
ask_wrends_install = "Install OpenDJ"
ask_installScimServer = "Install Scim Server"
ask_installFido2 = "Install Fido2"


wrends_install_options = ["Don't Install","Install Locally","Use Remote WrenDS"]
wrends_install_options = ["Don't Install","Install Locally","Use Remote OpenDJ"]
oxd_url_label = "oxd Server URL"
install_oxd_or_url_warning = "Please either enter oxd Server URL or check Install Oxd"
oxd_connection_error = "Can't connect to oxd-server with url {}. Reason: {}"
oxd_ssl_cert_error = "Hostname of oxd ssl certificate is {} which does not match {} casa won't start properly"

ask_cb_install = "Couchbase Installation"
cb_install_options = ["Don't Install","Install Locally","Use Remote Couchbase"]
cb_not_available = "Couchbase package is not found in /opt/dist/couchbase. Please put and retry."
cb_bucket_rolese = "Please check user {} has roles {} on bucket(s) {}"

ask_use_gluu_storage_oxd = "By default oxd uses its own db. Do you want to use Gluu Storage for Oxd?"
ask_use_gluu_storage_oxd_title = "Use Gluu Storage for Oxd?"
ask_use_gluu_storage_oxd = "oxd includes a built-in h2 database for persistence. Do you want to change it to the Authorization Server's persistence mechanism instead (recommended for high load only)?"
ask_use_gluu_storage_oxd_title = "Use Authorization Server's persistence for oxd?"

notify_select_backend = "Please select one of the backends either local install or remote"
weak_password = "Password for {} must be at least 6 characters and include one uppercase letter, one lowercase letter, one digit, and one special character."
Expand All @@ -108,10 +111,10 @@ class msg:
"Hostname: hostname of this server. Detected hostname will be provided.\n"
"Organization Name: ......")

installation_completed = "Gluu Server installation successful! Point your browser to https://{}"

installation_completed = "Gluu Server installation successful!"
installation_completed_oxtrsut = "Point your browser to https://{}"
installation_description_java = "Corretto is a build of the Open Java Development Kit (OpenJDK) with long-term support from Amazon. Corretto is certified using the Java Technical Compatibility Kit (TCK) to ensure it meets the Java SE standard."
installation_description_opendj = "WrenDS is an LDAPv3 compliant directory service, which has been developed for the Java platform, providing a high performance, highly available, and secure store for the identities managed by your organization."
installation_description_opendj = "OpenDJ is an LDAPv3 compliant directory service, which has been developed for the Java platform, providing a high performance, highly available, and secure store for the identities managed by your organization."
installation_description_oxauth = "oxAuth is an open source OpenID Connect Provider (OP) and UMA Authorization Server (AS). The project also includes OpenID Connect Client code which can be used by websites to validate tokens."
installation_description_oxtrust = "oxTrust is a Weld based web application for Gluu Server administration."
installation_description_saml = "The Gluu Server acts as a SAML identity provider (IDP) to support outbound SAML single sign-on (SSO)."
Expand Down
Loading