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

feat(jans-linux-setup): load test data to external Jans setup #5661

Merged
merged 803 commits into from
Jan 1, 2024
Merged
Changes from all commits
Commits
Show all changes
803 commits
Select commit Hold shift + click to select a range
bbb7c51
chore: update next 1.0.21-SNAPSHOT and dev release
moabu Nov 10, 2023
0b9c235
fix: remove colon from QR label #6537 (#6549)
jgomer2001 Nov 10, 2023
ad21ee2
Added note about east-west service mesh authorization to Lock README …
nynymike Nov 10, 2023
2e30170
chore: updated jans version from 19_dev to latest 21_dev (#6547)
corriganjeff Nov 11, 2023
4436d90
fix(docker-jans): allow custom salt (#6551)
iromli Nov 13, 2023
6590691
feat(jans-auth-server): archived jwks (#6503)
yuriyz Nov 13, 2023
a410340
fix: API spec metadata (#6473)
ossdhaval Nov 13, 2023
6ce4e70
feat(jans-cli-tui): replace list by label container for scope claims …
devrimyatar Nov 13, 2023
9418e0f
chore(deps): bump org.json:json from 20230227 to 20231013 in /jans-bo…
dependabot[bot] Nov 13, 2023
3fe7771
feat: if DB column is boolean convert string "true" and '1' to true (…
yurem Nov 13, 2023
24167cb
feat(jans-linux-tui): tag field for endpoint adminUIPermissions (#6556)
devrimyatar Nov 14, 2023
59c802c
fix(docker-jans-configurator): add missing salt field (#6560)
iromli Nov 14, 2023
a4d073a
chore(jans-auth-server): added oauth2-oidc-sdk dependency #6545 (#6554)
yuriyz Nov 14, 2023
673d7ea
feat(docker-jans-keycloak-link): add image for jans-keycloak-link (#6…
iromli Nov 15, 2023
16e10b0
feat(docker-jans-saml): add image for jans-saml (#6436)
iromli Nov 15, 2023
83495f4
docs(config-api): issue 6382 - regen spec to reflect new fields in Cl…
pujavs Nov 15, 2023
c9276bf
chore: fix dependecies to guava lib (#6569)
yurem Nov 15, 2023
1d56935
chore(deps): bump org.apache.james:apache-mime4j-storage (#6571)
dependabot[bot] Nov 16, 2023
8eb8630
feat(docker-jans): add archived jwks (#6564)
iromli Nov 16, 2023
25762b4
feat: add casa, and enable public endpoints (#6455)
misba7 Nov 16, 2023
1bf9630
feat: add postgres option (#6557)
misba7 Nov 16, 2023
7e44fa1
fix(jans-auth-server): UpdateToken script is not invoked during Impli…
yuriyz Nov 16, 2023
7f42292
feat(jans-keycloak-link): implement password decryption (#6335)
shekhar16 Nov 16, 2023
bc0b5f4
chore(agama): rephrase misleading message in log (#6580)
jgomer2001 Nov 16, 2023
7c29339
docs: add feature flag update instructions (#6583)
ossdhaval Nov 17, 2023
56201b1
feat(jans-cli-tui): JWT Response for OAuth Token Introspection (#6574)
devrimyatar Nov 17, 2023
7c9822d
feat(jans-linux-setup): use reference token for TUI (#6585)
devrimyatar Nov 17, 2023
27bcad3
fix(config-api): json build issue and saml plugin swagger spec annota…
pujavs Nov 17, 2023
29b451d
feat: replace jwt token with reference token to access config-api (ad…
duttarnab Nov 18, 2023
3c43661
docs: add `using-command-line-log.md` to navigation (#6576)
ossdhaval Nov 20, 2023
279d088
docs(config-api): auth featureFlags should be described as enum in sp…
pujavs Nov 20, 2023
65b57bc
fix(jans-cli-tui): fix saving acr script (#6593)
devrimyatar Nov 21, 2023
cbfaa0d
chore(jans-auth-server): add convenience method to send html email (#…
jgomer2001 Nov 21, 2023
f4a0847
docs: fix postgres host (#6602)
misba7 Nov 22, 2023
edcd2e7
feat(docker-jans): use reference token for TUI client (#6600)
iromli Nov 22, 2023
1f0c922
feat(docker-jans-config-api): change the location of admin-ui log fil…
iromli Nov 22, 2023
064350c
docs: added details for `.config` directory (#6608)
ossdhaval Nov 22, 2023
c17eeba
docs: some fixes (#6596)
misba7 Nov 22, 2023
fca0e15
fix: serialization of undesired content when a flow crashes (#6609)
jgomer2001 Nov 22, 2023
383577b
feat(jans-linux-setup): config-api idp-plugin (#6613)
devrimyatar Nov 22, 2023
2369b4a
docs(saml-plugin): saml swagger spec rectification (#6605)
pujavs Nov 22, 2023
631af06
docs: pkce documentation (#6588)
Milton-Ch Nov 22, 2023
fa55821
fix: avoid crash when variables at the top of util.js are serialized …
jgomer2001 Nov 23, 2023
9632c31
fix(config-api): made clientId optional for TR and customScript chang…
pujavs Nov 23, 2023
c17d175
docs: pkce formats !!! note (#6623)
Milton-Ch Nov 24, 2023
ecd8ac3
feat(jans-cli-tui): provide list of enabled scripts for client script…
devrimyatar Nov 24, 2023
71759d2
fix: update transpiled code of test flows #6624 (#6625)
jgomer2001 Nov 24, 2023
52d83d1
fix(jans-cli-tui): search attribute (#6630)
devrimyatar Nov 27, 2023
0dc5a1d
fix: add missing attribute name #6624 (#6631)
jgomer2001 Nov 28, 2023
184595e
ci: apply security best practices (#6638)
step-security-bot Nov 28, 2023
956399d
feat(docker-jans): automatically update schema of sql/spanner tables …
iromli Nov 28, 2023
3cf408d
chore(deps-dev): bump org.glassfish.main.extras:glassfish-embedded-al…
dependabot[bot] Nov 28, 2023
ab3857b
chore(deps): bump org.apache.maven.plugins:maven-clean-plugin (#6645)
dependabot[bot] Nov 28, 2023
145cd52
chore(deps): bump org.eclipse.microprofile.config:microprofile-config…
dependabot[bot] Nov 28, 2023
de6a02f
feat(jans-auth-server): set feature flags state according to list dis…
yuriyz Nov 28, 2023
e4a612b
docs: fix setup.md (#6552)
corriganjeff Nov 28, 2023
7b77fef
fix(terraform-provider-jans): update terraform provider (#6771)
moabu Nov 28, 2023
51d10e3
chore(deps): bump io.swagger.core.v3:swagger-maven-plugin-jakarta (#6…
dependabot[bot] Nov 28, 2023
a3b15ef
chore(deps): bump org.jacoco:jacoco-maven-plugin in /jans-scim (#6707)
dependabot[bot] Nov 28, 2023
3b33e21
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin (#6745)
dependabot[bot] Nov 28, 2023
14cb743
chore(deps): bump org.apache.maven.plugins:maven-dependency-plugin (#…
dependabot[bot] Nov 28, 2023
274cd4e
chore(deps): bump org.apache.maven.plugins:maven-site-plugin (#6763)
dependabot[bot] Nov 28, 2023
0a91509
chore(deps): bump org.freemarker:freemarker in /agama (#6646)
dependabot[bot] Nov 28, 2023
e31e2f6
bump org.jboss.resteasy:resteasy-client-microprofile (#6778)
dependabot[bot] Nov 28, 2023
0b93e46
feat(config-api): new endpoint to fetch feature flag except UNKOWN (#…
pujavs Nov 28, 2023
71c4046
bump org.testng:testng from 6.14.3 to 7.8.0 in /jans-bom (#6751)
dependabot[bot] Nov 28, 2023
f37e1e9
chore(deps): bump com.nimbusds:oauth2-oidc-sdk in /jans-bom (#6748)
dependabot[bot] Nov 28, 2023
fd87a2a
chore(deps): bump jakarta.mail:jakarta.mail-api in /jans-bom (#6747)
dependabot[bot] Nov 28, 2023
7950429
chore(deps): bump resteasy.version in /jans-bom (#6746)
dependabot[bot] Nov 28, 2023
c539840
chore(deps): bump org.apache.commons:commons-text in /jans-bom (#6743)
dependabot[bot] Nov 28, 2023
8ffc987
fix(jans-core): jans-core starts to fail after dependencies upgrade #…
yuriyz Nov 28, 2023
4f0ca3c
ci: update janssen microkservice bash script
moabu Nov 28, 2023
ae3bbd7
chore: update casa's SG script #6781 (#6782)
jgomer2001 Nov 28, 2023
44c6772
ci: update janssen microkservice values schema file
moabu Nov 28, 2023
cb892b4
fix(jans-core): fixing jans-core compilation dependencies upgrade #67…
yuriyz Nov 28, 2023
cc8aec6
Revert "ci: update janssen microkservice values schema file"
moabu Nov 28, 2023
4b4ccc4
ci: improve wait for on chart based quick install
moabu Nov 28, 2023
fc25cbb
ci: improve wait for on chart based quick install
moabu Nov 28, 2023
8aae3bb
fix(jans-bom): resteasy 6.2.x required weld upgrade thus reverting re…
yuriyz Nov 28, 2023
7e0c51b
feat(jans-auth-server): adapted test code after testng upgrade 6.14.3…
yuriyz Nov 28, 2023
4b710c5
chore(deps): bump blazemeter/taurus (#6640)
dependabot[bot] Nov 28, 2023
c05ef08
chore(deps): bump fqdn from 1.4.0 to 1.5.1 in /docker-jans-configurat…
dependabot[bot] Nov 28, 2023
c12645b
chore(deps-dev): bump @types/chrome in /demos/jans-tarp (#6761)
dependabot[bot] Nov 29, 2023
16c51e8
chore(deps-dev): bump webpack-cli in /demos/jans-tarp (#6760)
dependabot[bot] Nov 29, 2023
1747a48
chore(deps-dev): bump typescript from 4.9.5 to 5.3.2 in /demos/jans-t…
dependabot[bot] Nov 29, 2023
c21ede4
chore(deps): bump react-router-dom in /demos/jans-tarp (#6718)
dependabot[bot] Nov 29, 2023
624d255
docs: add a note in certificate and key generation in jans (#6797)
misba7 Nov 29, 2023
8d70088
feat(idp-plugin): inbound SAML with Keycloak as SP and external SAML …
pujavs Nov 29, 2023
d743d6f
fix(jans-auth-server): ClassNotFoundException: javax.xml.bind.annotat…
yuriyz Nov 29, 2023
58abd1e
fix: openapi spec version element (#6780)
ossdhaval Nov 29, 2023
8ea4a06
fix(jans-auth-server): common-text upgrade 1.11.0 leads to class init…
yuriyz Nov 29, 2023
9383cc1
ci: apply security best practices (#6829)
step-security-bot Nov 29, 2023
20d3def
chore(deps): bump marshmallow from 3.10.0 to 3.20.1 in /docker-jans-c…
dependabot[bot] Nov 29, 2023
42c0dd1
chore(deps): bump marshmallow in /docker-jans-all-in-one/app (#6677)
dependabot[bot] Nov 29, 2023
4206897
chore(deps): bump ruamel-yaml from 0.16.10 to 0.18.5 in /docker-jans-…
dependabot[bot] Nov 29, 2023
206b8a2
chore(deps): bump fqdn in /docker-jans-all-in-one/app (#6819)
dependabot[bot] Nov 29, 2023
0696fb6
test(jans-auth-server): embedded tests are failing after testng upgra…
yuriyz Nov 29, 2023
c372148
Embellished Jans Lock intro page. (#6844)
nynymike Nov 29, 2023
71ab587
fix: feature flag default values (#6857)
ossdhaval Nov 30, 2023
52a8f91
ci: use gh cli to add issues to project (#6860)
moabu Nov 30, 2023
1e246b6
fix(jans-cli-tui): import error (#6786)
devrimyatar Nov 30, 2023
0f78118
Updated data topology diagram and README. (#6868)
nynymike Nov 30, 2023
b4ed005
fix(fido2): tests are failing due to NoClassDefFoundError: javax/xml/…
yuriyz Nov 30, 2023
d8e0249
docs: add custom jar in customization doc (#6884)
misba7 Dec 1, 2023
ce979d2
feat(agama): use a mixed strategy for serialization (#6883)
jgomer2001 Dec 1, 2023
0b93213
feat(docker-jans-persistence-loader): set feature flags state (#6833)
iromli Dec 1, 2023
9d0e82c
feat(docker-jans): use mixed strategy for Agama serialization (#6889)
iromli Dec 1, 2023
2ad2bca
fix(jans-linux-setup): postgresql permission (#6890)
devrimyatar Dec 1, 2023
68baaf1
feat: add jans-lock-event library to publish messages to event server…
yurem Dec 2, 2023
2c2e5ec
fix(docs): fix dynamic install docs (#6913)
ossdhaval Dec 4, 2023
27b0624
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin (#6902)
dependabot[bot] Dec 4, 2023
456f181
feat(jans-linux-setup): table based col size for rdbm (#6920)
devrimyatar Dec 4, 2023
f8416a4
feat(jans-config): changes to merge config-idp-plugin merged with con…
pujavs Dec 4, 2023
d58633d
docs: custom attributes in k8s setup (#6918)
misba7 Dec 4, 2023
8daa99a
fix: command to External/LB IP (#6915)
misba7 Dec 5, 2023
3887072
feat(jans-auth-server): upgraded org.json lib #6926 (#6928)
yuriyz Dec 5, 2023
e72a25d
fix(jans-auth-server): authz challenge session attributes are overwri…
yuriyz Dec 5, 2023
a19b996
fix(terraform-provider-jans): update terraform provider (#6925)
moabu Dec 5, 2023
5132228
refactor: remove all jars from source code (#6825)
moabu Dec 5, 2023
f758ae9
chore: bump commons-fileupload version #6945 (#6946)
jgomer2001 Dec 5, 2023
62d5dc2
ci: fix packages permissions (#6948)
moabu Dec 5, 2023
cba2ded
fix(docker-jans-persistence-loader): passing CN_SCIM_ENABLED doesn't …
iromli Dec 6, 2023
8973827
chore(deps): bump org.keycloak:keycloak-services (#6843)
dependabot[bot] Dec 6, 2023
a8541fd
chore(deps): bump io.smallrye.config:smallrye-config (#6770)
dependabot[bot] Dec 6, 2023
334b240
chore(deps): bump fasterxml-jackson.version (#6667)
dependabot[bot] Dec 6, 2023
ab13311
ci: replace set-out per https://github.blog/changelog/2022-10-11-gith…
moabu Dec 6, 2023
e514590
chore(deps): remove jwcrypto dependency from jans-all-in-one image (#…
iromli Dec 6, 2023
32f5bcb
fix: support boolean jdbc data type (#6957)
yuremm Dec 6, 2023
9f503a8
chore(keycloak-integration): fix broken build due to version bump (#6…
uprightech Dec 6, 2023
bfc15cc
docs: update readme -- steps to test janssen IdP with self-signed cer…
duttarnab Dec 7, 2023
ac7164f
chore(deps): bump gitpython from 3.1.30 to 3.1.37 in /docs (#6233)
dependabot[bot] Dec 7, 2023
db412d4
chore(deps): bump gitpython from 3.1.27 to 3.1.37 in /demos/jans-tent…
dependabot[bot] Dec 7, 2023
ecc9a40
chore(deps): bump ipython from 8.4.0 to 8.10.0 in /demos/jans-tent (#…
dependabot[bot] Dec 7, 2023
7001cd4
fix(kc-saml-plugin): error while updating SAML TR (#6974)
pujavs Dec 7, 2023
9ab0109
feat: add message configuration api to config-api #6982 (#6983)
yurem Dec 7, 2023
d745279
chore: add message artifcat (#6988)
yuremm Dec 7, 2023
ea2980f
feat(jans-linux-setup): config-idp-plugin related changes (#6895)
devrimyatar Dec 7, 2023
f3e0537
chore: fix schema (#6991)
yuremm Dec 8, 2023
805c72b
feat: add support for custom scripts (#6970)
moabu Dec 8, 2023
b4c5664
feat(kc-saml-plugin): saml enhancement for validation (#6949)
pujavs Dec 9, 2023
86fa669
chore(docker-jans): sync patched jans_schema.json (#7000)
iromli Dec 10, 2023
714b555
fix(jans-linux-setup): jans saml installation (#7002)
devrimyatar Dec 11, 2023
6812321
feat(jans-cli-tui): SAML configuration interface (#6591)
devrimyatar Dec 11, 2023
6849d48
docs: Update CORS documentation. (#6996)
mmrraju Dec 11, 2023
22248df
fix(jans-linux-setup): sql key regeneration (#7004)
devrimyatar Dec 11, 2023
0f20919
fix(docs): add more clarity to triage labels (#6995)
ossdhaval Dec 11, 2023
cbe6f8a
fix: prepare for 1.0.21 release (#7008)
moabu Dec 11, 2023
92565db
chore(main): release jans-orm 1.0.21-SNAPSHOT (#7022)
mo-auto Dec 11, 2023
b005129
chore(main): release jans-scim 1.0.21-SNAPSHOT (#7020)
mo-auto Dec 11, 2023
188b568
chore(main): release jans-auth-server 1.0.21-SNAPSHOT (#7019)
mo-auto Dec 11, 2023
94e5e3c
chore(main): release agama 1.0.21-SNAPSHOT (#7018)
mo-auto Dec 11, 2023
864ab93
chore(main): release jans-eleven 1.0.21-SNAPSHOT (#7017)
mo-auto Dec 11, 2023
913d62d
chore(main): release jans-fido2 1.0.21-SNAPSHOT (#7016)
mo-auto Dec 11, 2023
eb34c94
chore(main): release jans-config-api 1.0.21-SNAPSHOT (#7015)
mo-auto Dec 11, 2023
c31148d
chore(main): release jans-bom 1.0.21-SNAPSHOT (#7014)
mo-auto Dec 11, 2023
196db5b
chore(main): release jans-core 1.0.21-SNAPSHOT (#7013)
mo-auto Dec 11, 2023
f311324
chore(main): release jans-casa 1.0.21-SNAPSHOT (#7012)
mo-auto Dec 11, 2023
3e4b249
chore(main): release jans-keycloak-link 1.0.21-SNAPSHOT (#7021)
mo-auto Dec 11, 2023
9efefa3
chore: 1.0.21-SNAPSHOT to 1.0.21
moabu Dec 11, 2023
4e490eb
chore: modify app_info.json and python version files
moabu Dec 11, 2023
d58e388
chore: update janssen helm chart image tags
moabu Dec 11, 2023
fee7b85
chore: add 1.0.21 to version list in readme
moabu Dec 11, 2023
8d0552d
chore: updated docker build dates and source version
moabu Dec 11, 2023
56c0499
test(agama): augment test cases (#6998)
jgomer2001 Dec 11, 2023
8b93362
fix(jans-linux-setup): python requests-toolbelt library for tui (#7052)
devrimyatar Dec 11, 2023
3b764f7
feat(kc-saml-plugin): cleanup and error handling (#7054)
pujavs Dec 12, 2023
38a1ed1
Lock Diagram updates to improve consistency. (#7057)
nynymike Dec 12, 2023
a03bd51
docs (jans-lock): Updated docs with PDP Plugin to support third party…
nynymike Dec 12, 2023
d95b0dd
fix(kc-saml-plugin): metadata file type in Openi API spec incorrect …
pujavs Dec 12, 2023
fffd9ec
chore: update image tags
moabu Dec 14, 2023
38ec7db
fix(jans-fido2): put timeout when authenticator attachment is cross-p…
Milton-Ch Dec 12, 2023
8daa341
fix(jans-cli-tui): hide attrbiute requirePkce for clients (#7066)
devrimyatar Dec 12, 2023
b20460c
fix(config-api): hide authenticationMethod client model utility metho…
pujavs Dec 12, 2023
abf5635
fix: fix cross dependecy to messages in sciim #7005 (#7006)
yurem Dec 12, 2023
0195fbf
fix(jans-cli-tui): saml tr issues (#7068)
devrimyatar Dec 13, 2023
370f7ec
feat: add Jans lock (#7074)
yuremm Dec 13, 2023
2f60ef9
chore: update version (#7080)
yuremm Dec 13, 2023
594ab3b
Fixed wrong FNs leading to missing diagrams. (#7069)
nynymike Dec 13, 2023
2a4b38d
ci: add jans-lock to workflows (#7084)
moabu Dec 13, 2023
4c78dc6
feat(jans-linux-setup): put KC behind apache (#7092)
devrimyatar Dec 14, 2023
0703365
fix: remove agama inbound jar dependency (#7095)
moabu Dec 14, 2023
9e744ae
fix: location for saml plugin (#7097)
moabu Dec 14, 2023
74dcc99
chore(main): release 1.0.21 (#7101)
mo-auto3 Dec 14, 2023
79e57f9
chore(main): release jans-config-api 1.0.21 (#7050)
mo-auto Dec 14, 2023
e52b1da
chore(main): release jans-scim 1.0.21 (#7049)
mo-auto Dec 14, 2023
2e6a7c8
chore(main): release jans-casa 1.0.21 (#7048)
mo-auto Dec 14, 2023
b8479fc
chore(main): release agama 1.0.21 (#7047)
mo-auto Dec 14, 2023
03495e3
chore(main): release jans-orm 1.0.21 (#7046)
mo-auto Dec 14, 2023
b698ec8
chore(main): release jans-eleven 1.0.21 (#7045)
mo-auto Dec 14, 2023
3ba5d96
chore(main): release jans-bom 1.0.21 (#7044)
mo-auto Dec 14, 2023
aa89c43
chore(main): release jans-core 1.0.21 (#7043)
mo-auto Dec 14, 2023
56795c1
chore(main): release jans-auth-server 1.0.21 (#7042)
mo-auto Dec 14, 2023
022ea0a
chore(main): release jans-keycloak-link 1.0.21 (#7041)
mo-auto Dec 14, 2023
f7ae9fe
chore(main): release jans-fido2 1.0.21 (#7040)
mo-auto Dec 14, 2023
3a32b8c
chore(main): release jans-linux-setup 1.0.21 (#7039)
mo-auto3 Dec 14, 2023
258f25e
chore(main): release jans-cli-tui 1.0.21 (#7038)
mo-auto3 Dec 14, 2023
8d95116
chore(main): release jans-pycloudlib 1.0.21 (#7037)
mo-auto3 Dec 14, 2023
3b2aea0
chore(main): release docker-jans-saml 1.0.21-1 (#7036)
mo-auto2 Dec 14, 2023
42bac36
chore(main): release docker-jans-keycloak-link 1.0.21-1 (#7035)
mo-auto2 Dec 14, 2023
d2f3a5a
chore(main): release docker-jans-configurator 1.0.21-1 (#7034)
mo-auto2 Dec 14, 2023
31d88a4
chore(main): release docker-jans-link 1.0.21-1 (#7033)
mo-auto2 Dec 14, 2023
120d93b
chore(main): release docker-jans-scim 1.0.21-1 (#7032)
mo-auto2 Dec 14, 2023
462829f
chore(main): release docker-jans-persistence-loader 1.0.21-1 (#7031)
mo-auto2 Dec 14, 2023
046e7ef
chore(main): release docker-jans-casa 1.0.21-1 (#7030)
mo-auto2 Dec 14, 2023
a04182a
chore(main): release docker-jans-monolith 1.0.21-1 (#7029)
mo-auto2 Dec 14, 2023
3629931
chore(main): release docker-jans-fido2 1.0.21-1 (#7028)
mo-auto2 Dec 14, 2023
5328b98
chore(main): release docker-jans-config-api 1.0.21-1 (#7027)
mo-auto2 Dec 14, 2023
05c8053
chore(main): release docker-jans-auth-server 1.0.21-1 (#7026)
mo-auto2 Dec 14, 2023
be33f69
chore(main): release docker-jans-certmanager 1.0.21-1 (#7025)
mo-auto2 Dec 14, 2023
02b050f
chore(main): release docker-jans-all-in-one 1.0.21-1 (#7024)
mo-auto2 Dec 14, 2023
ba5b15e
chore(main): release jans-link 1.0.21 (#7023)
mo-auto Dec 14, 2023
e2a748a
chore(main): release jans-lock 1.0.21 (#7099)
mo-auto Dec 14, 2023
4f53e65
chore(main): release docs 1.0.21 (#7011)
mo-auto Dec 14, 2023
53b963e
chore: update next 1.0.22-SNAPSHOT and dev release
moabu Dec 14, 2023
d2cf0d8
fix(jans-linux-setup): systemctl fido2 start order (#7103)
devrimyatar Dec 14, 2023
8cf9da6
fix(keycloak-integration): Keycloak startup issue #7123 (#7133)
uprightech Dec 18, 2023
237ab95
feat(config-api): improved tokenEndpointAuthMethod swagger definition…
pujavs Dec 18, 2023
11824e8
feat(jans-fido2): update the size of the jansPublicKeyId field to 256…
Milton-Ch Dec 18, 2023
64a1a51
feat(jans-cli-tui): grab values of tokenEndpointAuthMethod from swagg…
devrimyatar Dec 19, 2023
3c04191
fix(jans-linux-setup): KC version 23.0.3 (#7140)
devrimyatar Dec 19, 2023
ddc2d12
fix: re-engineer how calls work in the engine (#7152)
jgomer2001 Dec 19, 2023
6d252df
chore(deps): bump keycloak/keycloak from 22.0.5 to 23.0.3 in /docker-…
dependabot[bot] Dec 19, 2023
3f617bc
feat: lock should subscribe to messages from event system to get noti…
yurem Dec 19, 2023
b874891
docs: add lifetime to supergluu script (#7150)
SafinWasi Dec 19, 2023
e0a6511
fix(docker-jans-all-in-one): incorrect image tags prevent image build…
iromli Dec 19, 2023
cabd645
feat(jans-cli-tui): save client summary (#7153)
devrimyatar Dec 20, 2023
790bffb
fix(jans-cli-tui): don't include client secret in summary (#7161)
devrimyatar Dec 20, 2023
58e5984
chore(deps): remove optional libcst dependency (#7166)
iromli Dec 20, 2023
da445f4
chore(deps): upgrade click version (#7168)
iromli Dec 20, 2023
e006e4c
feat(jans-auth-server): support for OAuth 2.0 Rich Authorization Requ…
yuriyz Dec 21, 2023
20f38fd
feat; OPA related config updates (#7173)
yurem Dec 21, 2023
0a2c476
chore: exclude null message conf (#7175)
yurem Dec 21, 2023
9d9db5f
feat(jans-linux-setup): jans-lock installer (#7170)
devrimyatar Dec 21, 2023
c74263f
fix(jans-linux-setup): KC client (#7177)
devrimyatar Dec 21, 2023
e911453
feat(jans-linux-setup): install OPA (#7182)
devrimyatar Dec 21, 2023
b94063b
chore: fix message patch tests (#7180)
yuremm Dec 21, 2023
45354ab
fix(jans-linux-setup): uninstall opa (#7184)
devrimyatar Dec 21, 2023
2cf2d77
feat(docs): ssa lifetime docs updated (#7172)
Milton-Ch Dec 22, 2023
106bf6f
chore(docker-jans-persistence-loader): sync role-scope-mappings (#7171)
iromli Dec 22, 2023
02231fa
feat: rename JSON message configuration properties to conform karate …
yurem Dec 22, 2023
aa7d5a5
fix: update ldif entry related to failing test #7193 (#7194)
jgomer2001 Dec 22, 2023
e041541
feat(jans-cli-tui): message configuration (#7198)
devrimyatar Dec 25, 2023
131f193
fix(jans-fido2): none assertiona and unit test for none attestation (…
Milton-Ch Dec 25, 2023
724ad6a
fix(jans-auth-server): fix swagger.yaml (#7201)
Milton-Ch Dec 26, 2023
a62e7f0
fix(jans-cli-tui): CLI asks creds for unauthorized request (#7207)
devrimyatar Dec 26, 2023
f294f11
fix(jans-cli-tui): rename Message to Lock (#7210)
devrimyatar Dec 27, 2023
46d78b6
feat(docker): support for OAuth 2.0 Rich Authorization Requests (#7196)
iromli Dec 27, 2023
90e3879
docs: rewrite metadata section #7185 (#7221)
jgomer2001 Dec 29, 2023
5aca76d
feat(jans-linux-setup): remove MariaDB support (#7218)
devrimyatar Dec 30, 2023
a966590
Merge branch 'main' into jans-linux-setup-external-data-load
devrimyatar Dec 30, 2023
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
122 changes: 122 additions & 0 deletions jans-linux-setup/tools/external_data_load.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
#!/usr/bin/python3
import os
import sys
import re
import argparse
from pathlib import Path

parser = argparse.ArgumentParser('This script loads ldif file to external db')
parser.add_argument('-salt', help="Salt to encode decode data", required=True)
parser.add_argument('-db-type', help="External database type", choices=['mysql'], required=True)
parser.add_argument('-rdbm-user', help="RDBM username", required=True)
parser.add_argument('-rdbm-password', help="RDBM password", required=True)
parser.add_argument('-rdbm-port', help="RDBM port", default=3306)
parser.add_argument('-rdbm-db', help="RDBM database", required=True)
parser.add_argument('-rdbm-host', help="RDBM host", required=True)
parser.add_argument('-template', help="Template to be loaded", required=True, action='append')

argsp, remaining= parser.parse_known_args()

other_argsp = {}

for arg in remaining:
args = arg.lstrip('-')
n = args.find('=')
if n > 0:
akey = args[:n].strip()
aval = args[n+1:].strip()
for qchar in ('"', "'"):
if aval.startswith(qchar) and aval.endswith(qchar):
aval = aval.strip(qchar)
else:
akey = args
aval = True

other_argsp[akey] = aval

def get_template_identifiers(tmp):
return re.findall(r'\%\((.*?)\)s', tmp, re.MULTILINE)

identifiers = []
for tmp in argsp.template:
if os.path.isfile(tmp):
with open(tmp) as f:
tmp_text = f.read()
identifiers += get_template_identifiers(tmp_text)
else:
print("File {} not found.".format(tmp))
sys.exit()

missing_idetifiers = []
for idf in identifiers:
if idf not in other_argsp and idf not in missing_idetifiers:
missing_idetifiers.append(idf)

if missing_idetifiers:
print("Some identifiers appeared in template(s) is/are missing. Please provide the following identifiers as rgument with double dash.")
print("For example --{}=somevalue".format(missing_idetifiers[0]))
print("Missing identifier(s):", ', '.join(missing_idetifiers))
sys.exit()


cur_path = Path(os.path.dirname(os.path.realpath(__file__)))
setup_dir = cur_path.parent.joinpath('jans_setup').as_posix()
sys.path.append(setup_dir)

from setup_app import static
from setup_app.utils import base
base.current_app.profile = 'jans'
sys.path.insert(0, base.pylib_dir)
from setup_app import paths

paths.LOG_DIR = os.path.join(setup_dir, 'logs')
paths.LOG_FILE = os.path.join(paths.LOG_DIR, 'external-data-loader.log')
paths.LOG_ERROR_FILE = os.path.join(paths.LOG_DIR, 'external-data-loader-error.log')
paths.LOG_OS_CHANGES_FILE = os.path.join(paths.LOG_DIR, 'external-data-loader-os-changes.log')

from setup_app import static
from setup_app.config import Config
from setup_app.utils.setup_utils import SetupUtils
from setup_app.utils.db_utils import dbUtils

Config.init(paths.INSTALL_DIR)
SetupUtils.init()

Config.templateRenderingDict.update(other_argsp)
Config.rdbm_type = 'mysql'
Config.rdbm_host = argsp.rdbm_host
Config.rdbm_port = argsp.rdbm_port
Config.rdbm_db = argsp.rdbm_db
Config.rdbm_user = argsp.rdbm_user
Config.rdbm_password = argsp.rdbm_password
for grp in Config.mapping_locations:
Config.mapping_locations[grp] = 'rdbm'



class ExternalDataLoader(SetupUtils):

def __init__(self):
self.output_dir = os.path.join(setup_dir, 'external_output')
print("Rendered files will be stored in", self.output_dir)
self.dbUtils = dbUtils
self.load_ldif_list = []

def render_templates(self):
for tmp in argsp.template:
print("Rendering", tmp)
self.renderTemplateInOut(tmp, os.path.dirname(tmp), self.output_dir)
self.load_ldif_list.append(os.path.join(self.output_dir, os.path.basename(tmp)))

def bind_database(self):
print("Connecting to database")
self.dbUtils.bind()

def load_templates(self):
print("Importing rendered templates")
self.dbUtils.import_ldif(self.load_ldif_list)

external_data_loader = ExternalDataLoader()
external_data_loader.render_templates()
external_data_loader.bind_database()
external_data_loader.load_templates()