SCIM 2.0 spec implementation in Go. Still very much work in progress
- /Users - GET, POST, PUT, DELETE
- /Groups - GET, POST, PUT, DELETE
- This use MongoDB as the persistent store. Install MongoDB and run it with the default port 127.0.0.1:27017. It'll use a db called "users" to store user info
- Set $GOPATh and execute following
- $ go get bitbucket.org/chintana/goscim
- $ go install bitbucket.org/chintana/goscim
- $ goscim
- Create user
curl -X POST --data @create-user.json http://localhost:8080/Users
- Retrieve user. Use userId from previous create step
curl http://localhost:8080/Users/52ae1f8c-ff8b-dd32-ab40-2e8d6f5a06ed
- Update user. User an existing userId
curl -X PUT --data update-user.json http://localhost:8080/Users/52ae1f8c-ff8b-dd32-ab40-2e8d6f5a06ed
- Delete user
curl -X DELETE http://localhost:8080/Users/52ae1f8c-ff8b-dd32-ab40-2e8d6f5a06ed
-
Create group
-
Retrieve group
-
Update group
-
Delete group
- Make functionality spec complete
- Make hard coded entries into a config file
- Generate/document using Swagger