You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2014/12/10 02:32:36 UTC
svn commit: r1644296 - in /directory/escimo/branches/json-schema-experiment:
common/src/main/java/org/apache/directory/scim/UpsertContext.java
schema/src/main/resources/group-schema.json
Author: kayyagari
Date: Wed Dec 10 01:32:36 2014
New Revision: 1644296
URL: http://svn.apache.org/r1644296
Log:
o added a context class for updates/inserts
o updated the groups schema
Added:
directory/escimo/branches/json-schema-experiment/common/src/main/java/org/apache/directory/scim/UpsertContext.java
Modified:
directory/escimo/branches/json-schema-experiment/schema/src/main/resources/group-schema.json
Added: directory/escimo/branches/json-schema-experiment/common/src/main/java/org/apache/directory/scim/UpsertContext.java
URL: http://svn.apache.org/viewvc/directory/escimo/branches/json-schema-experiment/common/src/main/java/org/apache/directory/scim/UpsertContext.java?rev=1644296&view=auto
==============================================================================
--- directory/escimo/branches/json-schema-experiment/common/src/main/java/org/apache/directory/scim/UpsertContext.java (added)
+++ directory/escimo/branches/json-schema-experiment/common/src/main/java/org/apache/directory/scim/UpsertContext.java Wed Dec 10 01:32:36 2014
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+package org.apache.directory.scim;
+
+import javax.ws.rs.core.UriInfo;
+
+/**
+ * TODO UpsertContext.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class UpsertContext
+{
+ private ProviderService providerService;
+
+ private UriInfo uriInfo;
+
+}
Modified: directory/escimo/branches/json-schema-experiment/schema/src/main/resources/group-schema.json
URL: http://svn.apache.org/viewvc/directory/escimo/branches/json-schema-experiment/schema/src/main/resources/group-schema.json?rev=1644296&r1=1644295&r2=1644296&view=diff
==============================================================================
--- directory/escimo/branches/json-schema-experiment/schema/src/main/resources/group-schema.json (original)
+++ directory/escimo/branches/json-schema-experiment/schema/src/main/resources/group-schema.json Wed Dec 10 01:32:36 2014
@@ -45,7 +45,7 @@
"multiValued":false,
"description":"The identifier of the member of this Group.",
"readOnly":false,
- "required":false,
+ "required":true,
"caseExact":false
},
{
@@ -54,7 +54,7 @@
"multiValued":false,
"description":"The URI of the corresponding to the member resource of this Group.",
"readOnly":false,
- "required":false,
+ "required":true,
"caseExact":false
},
{