Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0FBD1043D for ; Wed, 10 Dec 2014 01:32:42 +0000 (UTC) Received: (qmail 94842 invoked by uid 500); 10 Dec 2014 01:32:42 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 94801 invoked by uid 500); 10 Dec 2014 01:32:42 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 94791 invoked by uid 99); 10 Dec 2014 01:32:42 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 01:32:42 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id B75ACAC094A; Wed, 10 Dec 2014 01:32:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: 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 Date: Wed, 10 Dec 2014 01:32:36 -0000 To: commits@directory.apache.org From: kayyagari@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141210013237.B75ACAC094A@hades.apache.org> 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 Apache Directory Project + */ +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 }, {