Hi,

As mentioned above, I looked at the SCIM 1.1 compliance test suite [1]. Due
to the reason that the SCIM 1.1 test suite requires an internet facing SCIM
1.1 server to run the tests against, I setup-ed an Identity Server instance
in AWS [2]. However when the test are run, it fails due to
/ServiceProviderConfigs and /Schemas endpoints. As WSO2 SCIM 1.1 support [3] is
not covering the mentioned two endpoints, tests are failing when run.

However in order to get an idea on how the result representation had been
done in SCIM 1.1 compliance test suit, I mocked the /ServiceProviderConfigs
endpoint [4] and was able to get the following output.


​

Due to the complexity of mocking the /Schemas endpoint and also as the test
on one endpoint ( /ServiceProviderConfigs) could give the nature of the
result representation as seen above, I did not try to mock /Schemas
endpoint and run the test suit again. However I tried by mocking the
endpoint with 501 NOT IMPLEMENTED [5] as the output, but that was not
accepted by the test suit as a valid return object.

However, in my opinion, the SCIM test suit should be flexible in nature to
skip any test which was given the input from the SCIM server as 501 NOT
IMPLEMENTED [5]. I encourage such kind of implementation to be adopted in
the proposed SCIM 2.0 compliance test suit as in that way the test suit
acknowledges the SP's inability to provide those endpoints while making
sure such kind of inability does not compromise the ability to run the test
suit on other endpoints.

[1] - http://www.simplecloud.info/#complianceTest
[2] - https://aws.amazon.com/
[3] - https://github.com/wso2/charon/tree/release-2.0.7
[4] -
https://github.com/Vindulamj/mocked-identity-inbound-provisioning-scim/tree/master/identity-inbound-provisioning-scim-master
[5] - http://www.simplecloud.info/specs/draft-scim-api-01.html#anchor6

*Vindula Jayawardana*
Computer Science and Engineering Dept.
University of Moratuwa
mobile : +713462554
Email : vindul...@gmail.com

<https://www.facebook.com/vindula.jayawardana>
<http://lk.linkedin.com/pub/vindula-jayawardana/a7/315/53b>
<https://plus.google.com/u/0/+VindulaJayawardana/posts>
<https://twitter.com/vindulajay>

*“Respect is how to treat everyone, not just those you want to impress. "*


*-Richard Branson-*



On 10 March 2017 at 16:42, Vindula Jayawardana <vindula...@cse.mrt.ac.lk>
wrote:

> Hi,
>
> Thank you very much for the prompt replies. I will look into the points
> you have mentioned and will keep you updated here.
>
> Thank you.
>
> *Vindula Jayawardana*
> Computer Science and Engineering Dept.
> University of Moratuwa
> mobile : +713462554
> Email : vindul...@gmail.com
>
> <https://www.facebook.com/vindula.jayawardana>
> <http://lk.linkedin.com/pub/vindula-jayawardana/a7/315/53b>
> <https://plus.google.com/u/0/+VindulaJayawardana/posts>
> <https://twitter.com/vindulajay>
>
> *“Respect is how to treat everyone, not just those you want to impress. "*
>
>
> *-Richard Branson-*
>
>
>
> On 9 March 2017 at 21:22, Omindu Rathnaweera <omi...@wso2.com> wrote:
>
>> Hi Vindula,
>>
>> If we can run the existing 1.1 test on IS and see the generated output,
>> that will be a good point to start. However we'll need to host an IS
>> instance publicly to run the tests on it.
>>
>> Regards,
>> Omindu.
>>
>>
>>
>> On Thu, Mar 9, 2017 at 8:52 PM, Gayan Gunawardana <ga...@wso2.com> wrote:
>>
>>> Hi Vindula,
>>>
>>> Thanks for your interest in this project.
>>> Since you have good knowledge about SCIM 2.0 specifications, could you
>>> please look at SCIM 1.1 compliance test and source code [1]. SCIM 2.0
>>> compliance test doesn't need to be same as SCIM 1.1 just get an idea from
>>> SCIM 1.1 compliance test. Further you can extract test scenarios from [2]
>>> as well.
>>>
>>> [1]https://github.com/erdtman/simplecloud.info
>>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Ferdtman%2Fsimplecloud.info&sa=D&sntz=1&usg=AFQjCNGycfiBxzWbdCVjpGlABAw9OXxGaQ>
>>> [2]https://github.com/wso2-extensions/identity-inbound-provi
>>> sioning-scim2/tree/master/tests
>>>
>>> Thanks,
>>> Gayan
>>>
>>> On Thu, Mar 9, 2017 at 7:51 PM, Vindula Jayawardana <
>>> vindula...@cse.mrt.ac.lk> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am Vindula Jayawardana, a final year undergraduate of Computer
>>>> Science and Engineering Department of University of Moratuwa. I am
>>>> interested in applying for the "Proposal 21: [IS] SCIM 2.0 compliance
>>>> test suite" which you have offered for the GSoC project idea pool.
>>>>
>>>> I have a good understanding on SCIM core and protocol specifications
>>>> for both SCIM 1.1 and SCIM 2.0. Based on my knowledge I have written few
>>>> blog posts specifically catering on SCIM [1] and the use cases of SCIM [2].
>>>> Also I have tried SCIM 1.1 and 2.0 APIs of wso2 IS. I went though the
>>>> references provided and would like to know more on the scope of the
>>>> coverage report and detailed analysis view need to be generated as a
>>>> deliverable. Could you kindly guide me on the said matter.
>>>>
>>>> [1] - https://medium.com/@vindulajayawardana/scim-make-it-fast-che
>>>> ap-and-easy-b2bd56492c15#.ec1kncbde
>>>> [2] - https://medium.com/@vindulajayawardana/5-things-that-will-no
>>>> t-be-a-nightmare-anymore-if-you-support-scim-9353d73836a7#.ihcm9aqub
>>>>
>>>> Thank you,
>>>>
>>>> *Vindula Jayawardana*
>>>> Computer Science and Engineering Dept.
>>>> University of Moratuwa
>>>> mobile : +713462554
>>>> Email : vindul...@gmail.com
>>>>
>>>> <https://www.facebook.com/vindula.jayawardana>
>>>> <http://lk.linkedin.com/pub/vindula-jayawardana/a7/315/53b>
>>>> <https://plus.google.com/u/0/+VindulaJayawardana/posts>
>>>> <https://twitter.com/vindulajay>
>>>>
>>>> *“Respect is how to treat everyone, not just those you want to impress.
>>>> "*
>>>>
>>>>
>>>> *-Richard Branson-*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Gayan Gunawardana
>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>> Email: ga...@wso2.com
>>> Mobile: +94 (71) 8020933
>>>
>>
>>
>>
>> --
>> Omindu Rathnaweera
>> Software Engineer, WSO2 Inc.
>> Mobile: +94 771 197 211 <+94%2077%20119%207211>
>>
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to