directory-scimple.git
9 days agoMerge pull request #152 from apache/pom-cleanup develop
Brian Demers [Mon, 19 Sep 2022 15:55:11 +0000 (11:55 -0400)] 
Merge pull request #152 from apache/pom-cleanup

Fix pom.xml error: scim-tools-common should be scim-tools

9 days agoFix pom.xml error: scim-tools-common should be scim-tools 152/head
Brian Demers [Mon, 19 Sep 2022 15:49:43 +0000 (11:49 -0400)] 
Fix pom.xml error: scim-tools-common should be scim-tools

9 days agoMerge pull request #151 from apache/set-version-1
Brian Demers [Mon, 19 Sep 2022 15:22:45 +0000 (11:22 -0400)] 
Merge pull request #151 from apache/set-version-1

Set version to 1.0.0-SNAPSHOT

9 days agoSet version to 1.0.0-SNAPSHOT 151/head
Brian Demers [Mon, 19 Sep 2022 15:10:59 +0000 (11:10 -0400)] 
Set version to 1.0.0-SNAPSHOT

The previous version 2.23 reflected the version that PennState/scim-identity used, that project has different coordinates, so the version can be reset to v1

12 days agoMerge pull request #150 from apache/etag-exception
Brian Demers [Fri, 16 Sep 2022 19:29:52 +0000 (15:29 -0400)] 
Merge pull request #150 from apache/etag-exception

Add etag specific exception

12 days agoAdd etag specific exception 150/head
Brian Demers [Fri, 16 Sep 2022 19:19:02 +0000 (15:19 -0400)] 
Add etag specific exception

Prevent leaking of implementation details of etag generation

12 days agoMerge pull request #149 from apache/object-mapper-config
Brian Demers [Fri, 16 Sep 2022 19:16:35 +0000 (15:16 -0400)] 
Merge pull request #149 from apache/object-mapper-config

ScimJacksonProvider now handles extensions

12 days agoScimJacksonProvider now handles extensions 149/head
Brian Demers [Fri, 16 Sep 2022 18:54:24 +0000 (14:54 -0400)] 
ScimJacksonProvider now handles extensions

Reducing the places an ObjectMapper can be configured.
There are two configurations that are needed.
* _generic_ jakarta and jackson annotation processing
* SCIM resources using extension parsing (requires access to SchemaRegistry)

Added IT to ensure this works end-to-end

13 days agoMerge pull request #148 from apache/cdi-cleanup
Brian Demers [Thu, 15 Sep 2022 23:34:53 +0000 (19:34 -0400)] 
Merge pull request #148 from apache/cdi-cleanup

Cleanup CDI scim-core

13 days agoCleanup CDI scim-core 148/head
Brian Demers [Thu, 15 Sep 2022 17:02:43 +0000 (13:02 -0400)] 
Cleanup CDI scim-core

* Replaces Initializable interface with Eager annotation
* Removes CDI dependency in scim-core
  * adds producer to scim-server
  * change bean discovery to annotated
* Update examples to use produce a ServerConfiguration (reduces complexity needed for implementations)

13 days agoMerge pull request #147 from apache/tests-and-tweaks
Brian Demers [Thu, 15 Sep 2022 23:29:36 +0000 (19:29 -0400)] 
Merge pull request #147 from apache/tests-and-tweaks

tests and tweaks

13 days agoUse older version of logback to ensure logging works in examples 147/head
Brian Demers [Thu, 15 Sep 2022 14:50:14 +0000 (10:50 -0400)] 
Use older version of logback to ensure logging works in examples

13 days agoMinor fixes test test suite
Brian Demers [Tue, 13 Sep 2022 20:00:10 +0000 (16:00 -0400)] 
Minor fixes test test suite

13 days agoMerge pull request #146 from apache/rm-dangling-filter
Brian Demers [Thu, 15 Sep 2022 23:23:13 +0000 (19:23 -0400)] 
Merge pull request #146 from apache/rm-dangling-filter

Removed dangling logical filter methods

13 days agoRemoved dangling logical filter methods 146/head
Brian Demers [Sat, 10 Sep 2022 04:07:57 +0000 (00:07 -0400)] 
Removed dangling logical filter methods

IMHO, These methods were esthetically pleasing, but they required complex logic, and make it easy for the user to do something incorrect.
Deleting them keeps things simple

13 days agoMerge pull request #145 from apache/remove-ext-reg
Brian Demers [Thu, 15 Sep 2022 23:19:10 +0000 (19:19 -0400)] 
Merge pull request #145 from apache/remove-ext-reg

Move ScimExtensionRegistry logic into SchemaRegistry

13 days agoMove ScimExtensionRegistry logic into SchemaRegistry 145/head
Brian Demers [Sat, 10 Sep 2022 00:45:58 +0000 (20:45 -0400)] 
Move ScimExtensionRegistry logic into SchemaRegistry

Move ResourceType generation into SchemaRegistry

13 days agoMerge pull request #144 from apache/move-parse-logic
Brian Demers [Thu, 15 Sep 2022 22:27:03 +0000 (18:27 -0400)] 
Merge pull request #144 from apache/move-parse-logic

Remove parsing logic from ScimResource

13 days agoRemove parsing logic from ScimResource 144/head
Brian Demers [Fri, 9 Sep 2022 23:09:14 +0000 (19:09 -0400)] 
Remove parsing logic from ScimResource

Moves the parsing logic of extensions from ScimResource to a Jackson module
This should remove the need for a static ScimExtensionRegistry singleton

13 days agoMerge pull request #143 from apache/schema-reg
Brian Demers [Thu, 15 Sep 2022 20:29:14 +0000 (16:29 -0400)] 
Merge pull request #143 from apache/schema-reg

Move schema reg logic out of RepoReg and into SchemaReg

13 days agoMove schema reg logic out of RepoReg and into SchemaReg 143/head
Brian Demers [Fri, 9 Sep 2022 18:17:28 +0000 (14:17 -0400)] 
Move schema reg logic out of RepoReg and into SchemaReg

Add a few tests

13 days agoMerge pull request #142 from apache/remove-dead-code
Brian Demers [Thu, 15 Sep 2022 20:15:57 +0000 (16:15 -0400)] 
Merge pull request #142 from apache/remove-dead-code

Remove dead code

13 days agoRemove dead code 142/head
Brian Demers [Fri, 9 Sep 2022 18:16:41 +0000 (14:16 -0400)] 
Remove dead code

2 weeks agoMerge pull request #139 from apache/dependabot/maven/org.mockito-mockito-junit-jupite...
Brian Demers [Mon, 12 Sep 2022 19:18:10 +0000 (15:18 -0400)] 
Merge pull request #139 from apache/dependabot/maven/org.mockito-mockito-junit-jupiter-4.8.0

Bump mockito-junit-jupiter from 4.7.0 to 4.8.0

2 weeks agoMerge pull request #140 from apache/dependabot/maven/org.mockito-mockito-core-4.8.0
Brian Demers [Mon, 12 Sep 2022 19:17:57 +0000 (15:17 -0400)] 
Merge pull request #140 from apache/dependabot/maven/org.mockito-mockito-core-4.8.0

Bump mockito-core from 4.7.0 to 4.8.0

2 weeks agoMerge pull request #141 from apache/dependabot/maven/io.rest-assured-rest-assured...
Brian Demers [Mon, 12 Sep 2022 19:17:46 +0000 (15:17 -0400)] 
Merge pull request #141 from apache/dependabot/maven/io.rest-assured-rest-assured-bom-5.2.0

Bump rest-assured-bom from 5.1.1 to 5.2.0

2 weeks agoMerge pull request #138 from apache/dependabot/maven/org.hibernate.validator-hibernat...
Brian Demers [Mon, 12 Sep 2022 19:17:35 +0000 (15:17 -0400)] 
Merge pull request #138 from apache/dependabot/maven/org.hibernate.validator-hibernate-validator-8.0.0.Final

Bump hibernate-validator from 7.0.5.Final to 8.0.0.Final

2 weeks agoBump rest-assured-bom from 5.1.1 to 5.2.0 141/head
dependabot[bot] [Mon, 12 Sep 2022 17:26:35 +0000 (17:26 +0000)] 
Bump rest-assured-bom from 5.1.1 to 5.2.0

Bumps [rest-assured-bom](https://github.com/rest-assured/rest-assured) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/rest-assured/rest-assured/releases)
- [Changelog](https://github.com/rest-assured/rest-assured/blob/master/changelog.txt)
- [Commits](https://github.com/rest-assured/rest-assured/compare/rest-assured-5.1.1...rest-assured-5.2.0)

---
updated-dependencies:
- dependency-name: io.rest-assured:rest-assured-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump mockito-core from 4.7.0 to 4.8.0 140/head
dependabot[bot] [Mon, 12 Sep 2022 17:26:24 +0000 (17:26 +0000)] 
Bump mockito-core from 4.7.0 to 4.8.0

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump mockito-junit-jupiter from 4.7.0 to 4.8.0 139/head
dependabot[bot] [Mon, 12 Sep 2022 17:26:09 +0000 (17:26 +0000)] 
Bump mockito-junit-jupiter from 4.7.0 to 4.8.0

Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump hibernate-validator from 7.0.5.Final to 8.0.0.Final 138/head
dependabot[bot] [Mon, 12 Sep 2022 17:26:04 +0000 (17:26 +0000)] 
Bump hibernate-validator from 7.0.5.Final to 8.0.0.Final

Bumps [hibernate-validator](https://github.com/hibernate/hibernate-validator) from 7.0.5.Final to 8.0.0.Final.
- [Release notes](https://github.com/hibernate/hibernate-validator/releases)
- [Changelog](https://github.com/hibernate/hibernate-validator/blob/main/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-validator/compare/7.0.5.Final...8.0.0.Final)

---
updated-dependencies:
- dependency-name: org.hibernate.validator:hibernate-validator
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoMerge pull request #137 from apache/module-names
Brian Demers [Thu, 8 Sep 2022 15:40:42 +0000 (11:40 -0400)] 
Merge pull request #137 from apache/module-names

Add module names to jar manifests

2 weeks agoAdd module names to jar manifests 137/head
Brian Demers [Thu, 8 Sep 2022 14:56:25 +0000 (10:56 -0400)] 
Add module names to jar manifests

2 weeks agoMerge pull request #136 from apache/dry-base-resource
Brian Demers [Thu, 8 Sep 2022 14:08:56 +0000 (10:08 -0400)] 
Merge pull request #136 from apache/dry-base-resource

DRY out BaseResourceTypeResourceImpl

3 weeks agoDRY out BaseResourceTypeResourceImpl 136/head
Brian Demers [Wed, 7 Sep 2022 23:15:41 +0000 (19:15 -0400)] 
DRY out BaseResourceTypeResourceImpl

(and SelfResourceImpl)

Adds new exception mappers

3 weeks agoMerge pull request #135 from apache/move-resource-exception
Brian Demers [Wed, 7 Sep 2022 23:13:09 +0000 (19:13 -0400)] 
Merge pull request #135 from apache/move-resource-exception

Move ResourceException to spec package so it can be used by protocol

3 weeks agoMove ResourceException to spec package so it can be used by protocol 135/head
Brian Demers [Wed, 7 Sep 2022 22:55:11 +0000 (18:55 -0400)] 
Move ResourceException to spec package so it can be used by protocol

3 weeks agoBuild and module info to README
Brian Demers [Wed, 7 Sep 2022 16:47:51 +0000 (12:47 -0400)] 
Build and module info to README

3 weeks agoMerge pull request #129 from apache/dependabot/maven/org.glassfish.jersey-jersey...
Brian Demers [Wed, 7 Sep 2022 16:46:19 +0000 (12:46 -0400)] 
Merge pull request #129 from apache/dependabot/maven/org.glassfish.jersey-jersey-bom-3.0.8

Bump jersey-bom from 3.0.5 to 3.0.8

3 weeks agoMerge pull request #134 from apache/fix-split-package2
Brian Demers [Wed, 7 Sep 2022 16:46:04 +0000 (12:46 -0400)] 
Merge pull request #134 from apache/fix-split-package2

Renamed scim.spec.protocol package to scim.protocol to remove spit package issue

3 weeks agoRenamed scim.spec.protocol package to scim.protocol to remove spit package issue 134/head
Brian Demers [Wed, 7 Sep 2022 16:27:51 +0000 (12:27 -0400)] 
Renamed scim.spec.protocol package to scim.protocol to remove spit package issue

3 weeks agoMerge pull request #133 from apache/new-scim-core-module
Brian Demers [Wed, 7 Sep 2022 16:22:44 +0000 (12:22 -0400)] 
Merge pull request #133 from apache/new-scim-core-module

new scim core module

3 weeks agoMerge pull request #127 from apache/dependabot/maven/com.fasterxml.jackson-jackson...
Brian Demers [Wed, 7 Sep 2022 16:20:44 +0000 (12:20 -0400)] 
Merge pull request #127 from apache/dependabot/maven/com.fasterxml.jackson-jackson-bom-2.13.4

Bump jackson-bom from 2.13.3 to 2.13.4

3 weeks agoMoving a couple more classes to appropriately named packages 133/head
Brian Demers [Wed, 7 Sep 2022 16:18:19 +0000 (12:18 -0400)] 
Moving a couple more classes to appropriately named packages

3 weeks agoMove filter classes from protocol to spec-schema
Brian Demers [Wed, 7 Sep 2022 16:07:11 +0000 (12:07 -0400)] 
Move filter classes from protocol to spec-schema

The filter related classes have no dependencies on web related classes and are needed from scim-core (which doesn't have web dependencies)

3 weeks agoMove non-web bits from scim-server to new scim-core module
Brian Demers [Wed, 7 Sep 2022 15:20:23 +0000 (11:20 -0400)] 
Move non-web bits from scim-server to new scim-core module

* Rename ScimConfiguration to Initializable to avoid confusion with ScimConfiguration annotation
* Repository methods now throw more generic ResourceException
* ResourceException holds a statusCode instead of a Status to break the dependency on jax-rs

NOTE: it should be possible to remove the need for the exceptions holding a status by adding exception handlers for specific exceptions
e.g. a handler for ConfictResourceException (or something better named) could set the status to 409
This change would be to large to also include in this commit

3 weeks agoMerge pull request #132 from apache/remove-repo-handle-exception
Brian Demers [Wed, 7 Sep 2022 00:50:04 +0000 (20:50 -0400)] 
Merge pull request #132 from apache/remove-repo-handle-exception

Remove web specific method from Repository interface

3 weeks agoMerge pull request #131 from apache/prio-sort-rename
Brian Demers [Wed, 7 Sep 2022 00:47:21 +0000 (20:47 -0400)] 
Merge pull request #131 from apache/prio-sort-rename

Fix typo in PrioritySortingComparator name

3 weeks agoRemove web specific method from Repository interface 132/head
Brian Demers [Wed, 7 Sep 2022 00:46:59 +0000 (20:46 -0400)] 
Remove web specific method from Repository interface

Exception handling should ultimately move to ExceptionMapper implementations

3 weeks agoFix typo in PrioritySortingComparator name 131/head
Brian Demers [Wed, 7 Sep 2022 00:43:25 +0000 (20:43 -0400)] 
Fix typo in PrioritySortingComparator name

This class is now package private

3 weeks agoBump jersey-bom from 3.0.5 to 3.0.8 129/head
dependabot[bot] [Tue, 6 Sep 2022 21:00:49 +0000 (21:00 +0000)] 
Bump jersey-bom from 3.0.5 to 3.0.8

Bumps jersey-bom from 3.0.5 to 3.0.8.

---
updated-dependencies:
- dependency-name: org.glassfish.jersey:jersey-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoMerge pull request #130 from apache/it-module
Brian Demers [Tue, 6 Sep 2022 20:58:45 +0000 (16:58 -0400)] 
Merge pull request #130 from apache/it-module

Add Compliance/IT testing module

3 weeks agoAdd generic integration tests 130/head
Brian Demers [Tue, 6 Sep 2022 20:44:56 +0000 (16:44 -0400)] 
Add generic integration tests

These ITs are based off of Okta's public Runscope tests, (and are provider agnostic)
https://developer.okta.com/docs/guides/scim-provisioning-integration-test/main/

3 weeks agoUse caseExact schema attribute when checking string equality
Brian Demers [Tue, 6 Sep 2022 20:45:55 +0000 (16:45 -0400)] 
Use caseExact schema attribute when checking string equality

3 weeks agoAdd missing WebApplicationExceptionMapper to ScimResourceHelper
Brian Demers [Tue, 6 Sep 2022 20:41:31 +0000 (16:41 -0400)] 
Add missing WebApplicationExceptionMapper to ScimResourceHelper

3 weeks agoBump jackson-bom from 2.13.3 to 2.13.4 127/head
dependabot[bot] [Mon, 5 Sep 2022 17:43:02 +0000 (17:43 +0000)] 
Bump jackson-bom from 2.13.3 to 2.13.4

Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.3...jackson-bom-2.13.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoMerge pull request #126 from apache/improve-server-examples
Brian Demers [Wed, 31 Aug 2022 21:22:44 +0000 (17:22 -0400)] 
Merge pull request #126 from apache/improve-server-examples

Update examples to pass external SCIM testing

4 weeks agoUpdate examples to pass external SCIM testing 126/head
Brian Demers [Wed, 31 Aug 2022 20:57:06 +0000 (16:57 -0400)] 
Update examples to pass external SCIM testing

4 weeks agoMerge pull request #125 from apache/server-config-tweaks
Brian Demers [Wed, 31 Aug 2022 16:04:19 +0000 (12:04 -0400)] 
Merge pull request #125 from apache/server-config-tweaks

Make ServerConfiguration.addAuthenticationSchema fluent

4 weeks agoMake ServerConfiguration.addAuthenticationSchema fluent 125/head
Brian Demers [Wed, 31 Aug 2022 16:00:29 +0000 (12:00 -0400)] 
Make ServerConfiguration.addAuthenticationSchema fluent

4 weeks agoMerge pull request #124 from apache/in-memory-filter
Brian Demers [Tue, 30 Aug 2022 19:48:23 +0000 (15:48 -0400)] 
Merge pull request #124 from apache/in-memory-filter

Add in memory ScimResource predicate

4 weeks agoAdd in memory Filter matcher 124/head
Brian Demers [Tue, 30 Aug 2022 18:25:59 +0000 (14:25 -0400)] 
Add in memory Filter matcher

This implementation can be used for demo purposes.  Actual production implementations will need to translate a FilterExpresion into a query language.

4 weeks agoExtract Schema generation logic from RepositoryRegistry
Brian Demers [Tue, 30 Aug 2022 18:23:00 +0000 (14:23 -0400)] 
Extract Schema generation logic from RepositoryRegistry

4 weeks agoMerge pull request #120 from apache/simplify-attribute-exception
Brian Demers [Mon, 29 Aug 2022 18:19:04 +0000 (14:19 -0400)] 
Merge pull request #120 from apache/simplify-attribute-exception

Reduce exceptions thrown by AttributeUtil to new AttributeException

4 weeks agoMerge pull request #122 from apache/dependabot/maven/org.owasp-dependency-check-maven...
Brian Demers [Mon, 29 Aug 2022 18:18:38 +0000 (14:18 -0400)] 
Merge pull request #122 from apache/dependabot/maven/org.owasp-dependency-check-maven-7.1.2

Bump dependency-check-maven from 7.1.1 to 7.1.2

4 weeks agoMerge pull request #123 from apache/dependabot/maven/ch.qos.logback-logback-classic...
Brian Demers [Mon, 29 Aug 2022 18:18:26 +0000 (14:18 -0400)] 
Merge pull request #123 from apache/dependabot/maven/ch.qos.logback-logback-classic-1.4.0

Bump logback-classic from 1.2.11 to 1.4.0

4 weeks agoBump logback-classic from 1.2.11 to 1.4.0 123/head
dependabot[bot] [Mon, 29 Aug 2022 17:36:55 +0000 (17:36 +0000)] 
Bump logback-classic from 1.2.11 to 1.4.0

Bumps [logback-classic](https://github.com/qos-ch/logback) from 1.2.11 to 1.4.0.
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.11...v_1.4.0)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoBump dependency-check-maven from 7.1.1 to 7.1.2 122/head
dependabot[bot] [Mon, 29 Aug 2022 17:36:41 +0000 (17:36 +0000)] 
Bump dependency-check-maven from 7.1.1 to 7.1.2

Bumps [dependency-check-maven](https://github.com/jeremylong/DependencyCheck) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/jeremylong/DependencyCheck/releases)
- [Changelog](https://github.com/jeremylong/DependencyCheck/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/jeremylong/DependencyCheck/compare/v7.1.1...v7.1.2)

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-maven
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoReduce exceptions thrown by AttributeUtil to new AttributeException 120/head
Brian Demers [Mon, 29 Aug 2022 15:27:26 +0000 (11:27 -0400)] 
Reduce exceptions thrown by AttributeUtil to new AttributeException

4 weeks agoMerge pull request #119 from apache/bulk-resource-test
Brian Demers [Mon, 29 Aug 2022 15:14:21 +0000 (11:14 -0400)] 
Merge pull request #119 from apache/bulk-resource-test

Add tests for BulkResourceImpl

4 weeks agoAdd tests for BulkResourceImpl 119/head
Brian Demers [Fri, 26 Aug 2022 19:01:10 +0000 (15:01 -0400)] 
Add tests for BulkResourceImpl

Few minor fixes found along the way:
* null checks
* Object mapper should be transient
* Missing ReferenceTypes (shown in the Protocol Spec, in the bulk resource section)

4 weeks agoMerge pull request #118 from apache/rename-provider
Brian Demers [Fri, 26 Aug 2022 14:50:18 +0000 (10:50 -0400)] 
Merge pull request #118 from apache/rename-provider

Rename Provider to Repository

5 weeks agoFixed flaky test in FilterBuilderLessThanTest 118/head
Brian Demers [Wed, 24 Aug 2022 14:38:35 +0000 (10:38 -0400)] 
Fixed flaky test in FilterBuilderLessThanTest

5 weeks agoRename Provider to Repository
Brian Demers [Tue, 23 Aug 2022 22:13:33 +0000 (18:13 -0400)] 
Rename Provider to Repository

The term Provider is used in multiple context in this project
- JAX-RS Provider
- Service Provider
- The class that manages the CRUD operations for a ScimResource

The Provider<ScimResource> does a lot more then simply "provide".

5 weeks agoMerge pull request #113 from apache/attribute-accessor
Brian Demers [Tue, 23 Aug 2022 18:53:37 +0000 (14:53 -0400)] 
Merge pull request #113 from apache/attribute-accessor

Don't expose Schema.Attribute.field directly

5 weeks agoMerge pull request #108 from apache/dependabot/maven/org.mockito-mockito-core-4.7.0
Brian Demers [Tue, 23 Aug 2022 18:53:14 +0000 (14:53 -0400)] 
Merge pull request #108 from apache/dependabot/maven/org.mockito-mockito-core-4.7.0

Bump mockito-core from 4.6.1 to 4.7.0

5 weeks agoMerge pull request #106 from apache/dependabot/maven/org.glassfish.jersey-jersey...
Brian Demers [Tue, 23 Aug 2022 18:52:59 +0000 (14:52 -0400)] 
Merge pull request #106 from apache/dependabot/maven/org.glassfish.jersey-jersey-bom-3.0.6

Bump jersey-bom from 3.0.5 to 3.0.6

5 weeks agoMerge pull request #105 from apache/dependabot/maven/org.mockito-mockito-junit-jupite...
Brian Demers [Tue, 23 Aug 2022 18:52:45 +0000 (14:52 -0400)] 
Merge pull request #105 from apache/dependabot/maven/org.mockito-mockito-junit-jupiter-4.7.0

Bump mockito-junit-jupiter from 4.6.1 to 4.7.0

5 weeks agoMerge pull request #107 from apache/dependabot/maven/org.apache.maven.plugins-maven...
Brian Demers [Tue, 23 Aug 2022 18:52:32 +0000 (14:52 -0400)] 
Merge pull request #107 from apache/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.4.1

Bump maven-javadoc-plugin from 3.4.0 to 3.4.1

5 weeks agoMerge pull request #115 from apache/add-meta-annotations
Brian Demers [Tue, 23 Aug 2022 18:52:12 +0000 (14:52 -0400)] 
Merge pull request #115 from apache/add-meta-annotations

Adds ScimAttribute annotation to the fields in the Meta class

5 weeks agoMerge pull request #117 from apache/filter-builder-methods
Brian Demers [Tue, 23 Aug 2022 18:51:55 +0000 (14:51 -0400)] 
Merge pull request #117 from apache/filter-builder-methods

Adds FilterBuilder connivance methods

5 weeks agoMerge pull request #116 from apache/set-auth-schema-easy
Brian Demers [Tue, 23 Aug 2022 18:51:34 +0000 (14:51 -0400)] 
Merge pull request #116 from apache/set-auth-schema-easy

Adds utility methods for setting configuration's authenticationSchema

5 weeks agoMerge pull request #114 from apache/object-mapper-cleanup
Brian Demers [Tue, 23 Aug 2022 18:51:17 +0000 (14:51 -0400)] 
Merge pull request #114 from apache/object-mapper-cleanup

ScimJacksonXmlBindJsonProvider now uses the same ObjectMapper instance

5 weeks agoMerge pull request #111 from apache/jaxrs-pom-dep-cleanup
Brian Demers [Tue, 23 Aug 2022 18:50:59 +0000 (14:50 -0400)] 
Merge pull request #111 from apache/jaxrs-pom-dep-cleanup

Remove JAX-RS related dependencies from scim-spec-schema

5 weeks agoMerge pull request #112 from apache/doc-fixes
Brian Demers [Tue, 23 Aug 2022 18:50:39 +0000 (14:50 -0400)] 
Merge pull request #112 from apache/doc-fixes

Minor doc fixes

5 weeks agoMerge pull request #110 from apache/lombok-gen
Brian Demers [Tue, 23 Aug 2022 18:50:26 +0000 (14:50 -0400)] 
Merge pull request #110 from apache/lombok-gen

Add generated annotations in lombok

5 weeks agoAdds FilterBuilder connivance methods 117/head
Brian Demers [Tue, 23 Aug 2022 16:43:37 +0000 (12:43 -0400)] 
Adds FilterBuilder connivance methods

Exposes `present` method FilterBuilder

Reduces verbosity of building complex filters

Was:

FilterBuilder.create().and(
        FilterBuilder.create().equalTo("key1", "value1").build(),
        FilterBuilder.create().equalTo("key2", "value2").build())
    .build()

Can now be written as:

FilterBuilder.create().and(
        filter -> filter.equalTo("key1", "value1"),
        filter -> filter.equalTo("key2", "value2"))
    .build()

5 weeks agoAdds utility methods for setting configuration's authenticationSchema 116/head
Brian Demers [Tue, 23 Aug 2022 16:36:48 +0000 (12:36 -0400)] 
Adds utility methods for setting configuration's authenticationSchema

Calling `serviceProviderConfiguration.setAuthenticationSchema(oauthBearer())` will now set the `type`, `name`, `description`, and `specUri` fields to an appropriate default

5 weeks agoAdds ScimAttribute annotation to the fields in the Meta class 115/head
Brian Demers [Tue, 23 Aug 2022 16:33:32 +0000 (12:33 -0400)] 
Adds ScimAttribute annotation to the fields in the Meta class

Descriptions taken from the SCIM spec
The ScimResource constructor will attempt to set meta.resourceType when possible

5 weeks agoScimJacksonXmlBindJsonProvider now uses the same ObjectMapper instance 114/head
Brian Demers [Tue, 23 Aug 2022 16:31:35 +0000 (12:31 -0400)] 
ScimJacksonXmlBindJsonProvider now uses the same ObjectMapper instance

In some containers, the how ObjectMapper gets injected varies, using the ObjectMapperFactory insures the correctly configured one is used.

5 weeks agoDon't expose Schema.Attribute.field directly 113/head
Brian Demers [Tue, 23 Aug 2022 16:30:06 +0000 (12:30 -0400)] 
Don't expose Schema.Attribute.field directly

The use of reflection is an implementation detail. This change moves this behind a new interface `AttributeAccessor` which provides similar functional.
In the future, implementations could use bean accessors instead of private fields directly
NOTE: the current implementation still access fields directly.

5 weeks agoMove from server utility to rest package
Brian Demers [Tue, 23 Aug 2022 16:25:01 +0000 (12:25 -0400)] 
Move from server utility to rest package

ReflectionUtils and AttributeUtils are now package private
EtagGenerator is only used by the "rest" package
UriUtilities is no longer used

5 weeks agoMinor doc fixes 112/head
Brian Demers [Tue, 23 Aug 2022 16:18:49 +0000 (12:18 -0400)] 
Minor doc fixes

5 weeks agoRemove JAX-RS related dependencies from scim-spec-schema 111/head
Brian Demers [Tue, 23 Aug 2022 16:18:09 +0000 (12:18 -0400)] 
Remove JAX-RS related dependencies from scim-spec-schema

These dependencies were not used by this module

5 weeks agoAdd generated annotations in lombok 110/head
Brian Demers [Tue, 23 Aug 2022 16:17:23 +0000 (12:17 -0400)] 
Add generated annotations in lombok

6 weeks agoBump mockito-core from 4.6.1 to 4.7.0 108/head
dependabot[bot] [Mon, 15 Aug 2022 17:19:34 +0000 (17:19 +0000)] 
Bump mockito-core from 4.6.1 to 4.7.0

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoBump maven-javadoc-plugin from 3.4.0 to 3.4.1 107/head
dependabot[bot] [Mon, 15 Aug 2022 17:19:28 +0000 (17:19 +0000)] 
Bump maven-javadoc-plugin from 3.4.0 to 3.4.1

Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.4.0...maven-javadoc-plugin-3.4.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoBump jersey-bom from 3.0.5 to 3.0.6 106/head
dependabot[bot] [Mon, 15 Aug 2022 17:19:16 +0000 (17:19 +0000)] 
Bump jersey-bom from 3.0.5 to 3.0.6

Bumps jersey-bom from 3.0.5 to 3.0.6.

---
updated-dependencies:
- dependency-name: org.glassfish.jersey:jersey-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoBump mockito-junit-jupiter from 4.6.1 to 4.7.0 105/head
dependabot[bot] [Mon, 15 Aug 2022 17:19:12 +0000 (17:19 +0000)] 
Bump mockito-junit-jupiter from 4.6.1 to 4.7.0

Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoMerge pull request #103 from apache/constructors
Brian Demers [Mon, 15 Aug 2022 16:31:19 +0000 (12:31 -0400)] 
Merge pull request #103 from apache/constructors

Replace field injection with constructors