scimgateway 5.3.6 → 5.3.8

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 (55) hide show
  1. package/{.gitattribute → .gitattributes} +0 -1
  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 +3382 -3275
  8. package/bun.lock +154 -133
  9. package/config/docker/DataDockerfile +9 -9
  10. package/config/docker/Dockerfile +37 -37
  11. package/config/docker/dbinit/init.sql +43 -43
  12. package/config/docker/docker-compose-debug.yml +6 -6
  13. package/config/docker/docker-compose-mssql.yml +58 -58
  14. package/config/docker/docker-compose.yml +29 -29
  15. package/config/plugin-api.json +165 -160
  16. package/config/plugin-entra-id.json +319 -314
  17. package/config/plugin-ldap.json +287 -282
  18. package/config/plugin-loki.json +143 -138
  19. package/config/plugin-mongodb.json +159 -154
  20. package/config/plugin-mssql.json +155 -150
  21. package/config/plugin-saphana.json +142 -137
  22. package/config/plugin-scim.json +165 -160
  23. package/config/plugin-soap.json +197 -192
  24. package/config/resources/Azure - ScimGateway.xml +0 -0
  25. package/config/wsdls/GroupService.wsdl +508 -508
  26. package/config/wsdls/UserService.wsdl +573 -573
  27. package/eslint.config.js +40 -40
  28. package/index.ts +26 -26
  29. package/lib/countries.json +999 -999
  30. package/lib/helper-rest.ts +943 -944
  31. package/lib/logger.ts +376 -376
  32. package/lib/plugin-api.ts +197 -197
  33. package/lib/plugin-entra-id.ts +753 -753
  34. package/lib/plugin-ldap.ts +1747 -1747
  35. package/lib/plugin-loki.ts +645 -645
  36. package/lib/plugin-mongodb.ts +882 -882
  37. package/lib/plugin-mssql.ts +473 -473
  38. package/lib/plugin-saphana.ts +289 -289
  39. package/lib/plugin-scim.ts +512 -512
  40. package/lib/plugin-soap.ts +568 -568
  41. package/lib/postinstall.ts +68 -68
  42. package/lib/samlAssertion.ts +221 -221
  43. package/lib/scim-stream.js +13 -13
  44. package/lib/scimdef-v1.json +1212 -1212
  45. package/lib/scimdef-v2.json +1991 -1991
  46. package/lib/scimgateway.ts +3601 -3530
  47. package/lib/utils-scim.ts +1058 -1058
  48. package/lib/utils.ts +712 -711
  49. package/package.json +2 -1
  50. package/test/index.ts +7 -7
  51. package/test/lib/plugin-api_test.ts +72 -72
  52. package/test/lib/plugin-loki_test.ts +701 -701
  53. package/test/lib/plugin-mongodb_test.ts_excluded +525 -525
  54. package/test/lib/plugin-scim_test.ts +409 -409
  55. package/tsconfig.json +33 -33
@@ -1,2 +1 @@
1
1
  * text=auto eol=lf
2
-
@@ -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.