scimgateway 5.3.5 → 5.3.7

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.
Files changed (53) hide show
  1. package/.gitattributes +1 -0
  2. package/.github/dependabot.yml +6 -6
  3. package/.github/workflows/test-master.yml +33 -33
  4. package/.github/workflows/test-release.yml +30 -30
  5. package/.travis.yml +16 -16
  6. package/LICENSE +18 -18
  7. package/README.md +3283 -3269
  8. package/config/docker/DataDockerfile +9 -9
  9. package/config/docker/Dockerfile +37 -37
  10. package/config/docker/dbinit/init.sql +43 -43
  11. package/config/docker/docker-compose-debug.yml +6 -6
  12. package/config/docker/docker-compose-mssql.yml +58 -58
  13. package/config/docker/docker-compose.yml +29 -29
  14. package/config/plugin-api.json +160 -160
  15. package/config/plugin-entra-id.json +314 -314
  16. package/config/plugin-ldap.json +282 -282
  17. package/config/plugin-loki.json +138 -138
  18. package/config/plugin-mongodb.json +154 -154
  19. package/config/plugin-mssql.json +150 -150
  20. package/config/plugin-saphana.json +137 -137
  21. package/config/plugin-scim.json +160 -160
  22. package/config/plugin-soap.json +192 -192
  23. package/config/wsdls/GroupService.wsdl +508 -508
  24. package/config/wsdls/UserService.wsdl +573 -573
  25. package/eslint.config.js +40 -40
  26. package/index.ts +26 -26
  27. package/lib/countries.json +999 -999
  28. package/lib/helper-rest.ts +944 -944
  29. package/lib/logger.ts +376 -376
  30. package/lib/plugin-api.ts +197 -197
  31. package/lib/plugin-entra-id.ts +753 -753
  32. package/lib/plugin-ldap.ts +1747 -1747
  33. package/lib/plugin-loki.ts +645 -645
  34. package/lib/plugin-mongodb.ts +882 -882
  35. package/lib/plugin-mssql.ts +473 -473
  36. package/lib/plugin-saphana.ts +289 -289
  37. package/lib/plugin-scim.ts +512 -512
  38. package/lib/plugin-soap.ts +568 -568
  39. package/lib/postinstall.ts +68 -68
  40. package/lib/samlAssertion.ts +221 -221
  41. package/lib/scim-stream.js +13 -13
  42. package/lib/scimdef-v1.json +1212 -1212
  43. package/lib/scimdef-v2.json +1991 -1991
  44. package/lib/scimgateway.ts +3530 -3527
  45. package/lib/utils-scim.ts +1058 -1058
  46. package/lib/utils.ts +711 -711
  47. package/package.json +1 -1
  48. package/test/index.ts +7 -7
  49. package/test/lib/plugin-api_test.ts +72 -72
  50. package/test/lib/plugin-loki_test.ts +701 -701
  51. package/test/lib/plugin-mongodb_test.ts_excluded +525 -525
  52. package/test/lib/plugin-scim_test.ts +409 -409
  53. package/tsconfig.json +33 -33
package/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -1,6 +1,6 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: "npm"
4
- directory: "/"
5
- schedule:
6
- interval: "daily"
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
@@ -1,33 +1,33 @@
1
- name: Test Master Branch
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- pull_request:
8
- branches:
9
- - master
10
-
11
- jobs:
12
- build:
13
- runs-on: ubuntu-latest
14
- env:
15
- FORCE_COLOR: "1"
16
- TERM: "xterm-256color"
17
- steps:
18
- - name: Checkout code
19
- uses: actions/checkout@v3
20
-
21
- # - name: Install Bun
22
- # run: |
23
- # curl -fsSL https://bun.sh/install | bash
24
- # echo "$HOME/.bun/bin" >> $GITHUB_PATH
25
-
26
- - name: Set up Bun
27
- uses: oven-sh/setup-bun@v2
28
-
29
- - name: Install dependencies
30
- run: bun install
31
-
32
- - name: Run master tests
33
- run: bun run test
1
+ name: Test Master Branch
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ FORCE_COLOR: "1"
16
+ TERM: "xterm-256color"
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v3
20
+
21
+ # - name: Install Bun
22
+ # run: |
23
+ # curl -fsSL https://bun.sh/install | bash
24
+ # echo "$HOME/.bun/bin" >> $GITHUB_PATH
25
+
26
+ - name: Set up Bun
27
+ uses: oven-sh/setup-bun@v2
28
+
29
+ - name: Install dependencies
30
+ run: bun install
31
+
32
+ - name: Run master tests
33
+ run: bun run test
@@ -1,30 +1,30 @@
1
- name: Test Release Workflow
2
-
3
- on:
4
- release:
5
- types:
6
- - published
7
-
8
- jobs:
9
- release:
10
- runs-on: ubuntu-latest
11
- env:
12
- FORCE_COLOR: "1"
13
- TERM: "xterm-256color"
14
- steps:
15
- - name: Checkout code
16
- uses: actions/checkout@v3
17
-
18
- # - name: Install Bun
19
- # run: |
20
- # curl -fsSL https://bun.sh/install | bash
21
- # echo "$HOME/.bun/bin" >> $GITHUB_PATH
22
-
23
- - name: Set up Bun
24
- uses: oven-sh/setup-bun@v2
25
-
26
- - name: Install dependencies
27
- run: bun install
28
-
29
- - name: Run release tests
30
- run: bun run test
1
+ name: Test Release Workflow
2
+
3
+ on:
4
+ release:
5
+ types:
6
+ - published
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ env:
12
+ FORCE_COLOR: "1"
13
+ TERM: "xterm-256color"
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v3
17
+
18
+ # - name: Install Bun
19
+ # run: |
20
+ # curl -fsSL https://bun.sh/install | bash
21
+ # echo "$HOME/.bun/bin" >> $GITHUB_PATH
22
+
23
+ - name: Set up Bun
24
+ uses: oven-sh/setup-bun@v2
25
+
26
+ - name: Install dependencies
27
+ run: bun install
28
+
29
+ - name: Run release tests
30
+ run: bun run test
package/.travis.yml CHANGED
@@ -1,16 +1,16 @@
1
- # Specify the operating system
2
- os: linux
3
- dist: focal # Use Ubuntu 20.04 (focal) or another version as needed
4
-
5
- # Install Bun
6
- before_install:
7
- - curl -fsSL https://bun.sh/install | bash
8
- - export PATH="$HOME/.bun/bin:$PATH"
9
-
10
- # Install project dependencies
11
- install:
12
- - bun install
13
-
14
- # Run the Bun test runner
15
- script:
16
- - bun run test
1
+ # Specify the operating system
2
+ os: linux
3
+ dist: focal # Use Ubuntu 20.04 (focal) or another version as needed
4
+
5
+ # Install Bun
6
+ before_install:
7
+ - curl -fsSL https://bun.sh/install | bash
8
+ - export PATH="$HOME/.bun/bin:$PATH"
9
+
10
+ # Install project dependencies
11
+ install:
12
+ - bun install
13
+
14
+ # Run the Bun test runner
15
+ script:
16
+ - bun run test
package/LICENSE CHANGED
@@ -1,19 +1,19 @@
1
- Copyright (c) 2016 Jarle Elshaug
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ Copyright (c) 2016 Jarle Elshaug
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
19
  SOFTWARE.