Backlog 1 - raisercostin/software-wiki GitHub Wiki

TODO Shortlist

  • programatically load/save users to ForgeRock in ForgeRockUsersDao class.
    • choose json library/or manual
    • choose http library

Done

Sprints

Sprint 1-4

  • read username and email columns
  • read ignoring a header
  • read with swapped columns but with same names: username, email, ...
  • Import 100 users from a csv file ( http://edoceo.com/utilitas/csv-file-format )
    • Project built with maven.
    • Make a test with junit that checks user creation.
    • Make test pass.
    • csv library ~ stackoverflow.com > Questions > 10462507 > Any-good-library-to-read-and-write-csv-files
    • read users from a file
    • write users to a file
  • Export 100 users to a csv file.
  • Generate 100 users to a csv file.

Sprint 2

  • - add the project to user/<username> branch. The project means: pom.xml, java sources and java test sources.
  • - to read Chapter 2 from Test Driven Development

Sprint 3

Sprint 4

  • configure Travis Continuous Integration Server
  • CsvExporter and CsvExporter2 to merge (according to DRY)
  • add headers with username/email to csv, to survive column addition/deletion/move
    username,count,email,bla bla,dada
    a,1,ae,a,a
    b,2,be,b,b
    c,3,ce,c,c
    
  • optional - try to merge after file/folder renames/movement.

Sprint 5

  • Comenzi:
cat c:\tools\cmder\config\.history
#git checkout -b user/andrei origin/user/costin
mvn eclipse:eclipse
git checkout origin/user/costindfsasdfas
git checkout -b user/andrei origin/user/costingdsfgfdsgd
git checkout master
git merge user/costin
git commit -am "refactored"
curl
curl -X GET --header 'Accept: application/json' --header 'X-Requested-With: Swagger-UI' 'http://dcs-xps:8080/openidm/managed/user?_queryId=query-all'
 --header "X-OpenIDM-Username: openidm-admin" \
 --header "X-OpenIDM-Password: openidm-admin"
mvn eclipse:eclipse -DdownloadSources
#git checkout -b user/andrei origin/user/costingdsfgfdsgd
#git checkout -b user/andrei origin/user/costingit pull
git add -A
git status
git commit -am "improve features"
git push
git pull
git branch -a
curl -X GET ^
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'If-None-Match: *' --header 'X-Requested-With: Swagger-UI' -d '{ \
 "_id": "200", \
 "mail": "raisercostin+dcsi3%40gmail.com", \
 "userName": "costin3", \
 "sn": "sn200", \
 "givenName": "costin3name" \
---------------------------
cmd

Ideas

First time running

  1. Go to the project path using:
    cd %PATH%
  2. Be aware that the project was cleaned so you should compile it first.
    mvn compile exec:java -Dexec.mainClass=ro.dcsi.internship.App
  3. Setup the project to work with your IDE. For eclipse, use:
    mvn eclipse:eclipse

Backlog

⚠️ **GitHub.com Fallback** ⚠️