< Home

About

In this page:

Version Improvement Details and Features

Accessible Links

Development Details


Content:

Version Improvement Details and Features

  • - Version 1.1.1

  • - can register as a person for the WorkSuggest application
  • - Version 1.1.5

  • - usere can access a basic panel related to his id which shows basic user details
  • - Version 1.1.6

  • - The site has a more pleasant start page
  • - security with one username pass works but
    gives access to all users' panels: http://localhost:8080/worksuggest_artifact_war_exploded/person/2
  • - Version 1.1.6.3

  • - utilized https://grokonez.com/spring-framework/spring-security/spring-security-customize-login-handler
  • - admin log in will now take to admin page. user log in (but not from database) will take to user panel, i.e. person/1
  • - the control panel shows all (but not limited to person's) work suggest lists
  • - Version 1.2

  • - Logged in person can see a list of tasks. Tasks belong to all various work lists.
  • - Version 1.4.1

  • - Many-to-many relation seems to work (and is given its own Controller for all testing)
    The relation is between Persons and Tasks.
  • - Version 1.5

  • - ActiveMQ, as beautiful and usefully described in tutorials:
    https://www.devglan.com/spring-boot/spring-boot-jms-activemq-example
    https://java2blog.com/spring-boot-activemq-example/
    is working as a MessageCreator and MessageReceiver.
    For example, a message is sent to Queue at:
    http://localhost:8080/worksuggest_war_exploded/person/1/suggest_a_task/
  • - Version 1.6

  • - A Task Status can be written and added for a given task.
    example link: http://localhost:8080/worksuggest_war_exploded/person/1/task/1/addTaskStatus/
  • - There is now an "Add Task Status" button available with every task in the Control Panel
  • - Task Statuses can now be updated.
    An example link would be:
    http://localhost:8080/worksuggest_war_exploded/person/1/task/1/updateTaskStatus/63/
  • - Work Suggest Lists can be viewed separately at their own link, eg:
    http://localhost:8080/worksuggest_war_exploded/person/1/worksuggestlist/2/
  • - Persons can be added to specific tasks. A list of persons with ids and usernames
    are provided, as in:
    http://localhost:8080/worksuggest_war_exploded/person/1/task/1/addPerson/
    The person id can then be entered for an association with the task
    (many-to-many relation as in /show-the-persons-for-one-task/{task_id}
  • - Version 1.7

  • - Persons usernames appear with every task in the panel, as added for the task
  • - Admin control panel can be logged into. It shows a list of work suggeste lists.
  • - Admin can now confirm WorkSuggest Lists. New lists
  • - Admin can now set WorkSuggest Lists status to "Being Reviewed" and can change between
    "Confirm" and "Being Reviewed"
  • - Version 1.8.0

  • - failed but did try sending email using Outlook, Gmail, and a person mail account from the app
  • - Uses Spring components
  • - Version 1.8.1

  • - Administration tasks are now logged to database table "log" via JMS
  • - It is possible to log any user POST event also via a message in a format:
    this.jmsMessagingTemplate.convertAndSend(this.queue, "User added Task Status for task " + task_id );
  • - Version 1.8.2

  • - Most recent task status is now visible with every task. This can be seen in the user control panel.
  • - All task statuses for every task can now be accessed and viewed.
  • - Task Statuses are visibly updateable
  • - User bar is now present on all user pages
  • - Work Suggest Lists can be created and submitted
  • - Whn adding tasks, the work suggest list can be selected with the task
  • - Admin can remove Work Suggest Lists


Accessible Links


####################### admin front end
http://localhost:8080/worksuggest_war_exploded/admin/worksuggestlist/1/remove/
http://localhost:8080/worksuggest_war_exploded/admin/
http://localhost:8080/worksuggest_war_exploded/admin/setListToReviewing/1
http://localhost:8080/worksuggest_war_exploded/admin/confirmList/1
#######################









####################### user front end
@GetMapping("/person/{person_id}/task/{task_id}/remove/")

@GetMapping("/person/{person_id}/worksuggestlist/suggest/")
@PostMapping("/person/{person_id}/worksuggestlist/suggest/")

@GetMapping("/person/{person_id}/worksuggestlist/{worksuggest_id}/")
http://localhost:8080/worksuggest_war_exploded/person/1/worksuggestlist/2/

@PostMapping("/person/{person_id}/task/{task_id}/addPerson/")
@GetMapping("/person/{person_id}/task/{task_id}/addPerson/")
http://localhost:8080/worksuggest_war_exploded/person/1/task/1/addPerson/


@GetMapping("/person/{person_id}/task/{task_id}/allTaskStatuses")

@PostMapping("/person/{person_id}/task/{task_id}/updateTaskStatus/{taskstatus_id}/")
@GetMapping("/person/{person_id}/task/{task_id}/updateTaskStatus/{taskstatus_id}/")
as in http://localhost:8080/worksuggest_war_exploded/person/1/task/1/updateTaskStatus/63/

@GetMapping("/person/{person_id}/task/{task_id}/updateTaskStatus/{taskstatus_id}/")

@PostMapping("/person/{person_id}/task/{task_id}/addTaskStatus/")
@GetMapping("/person/{person_id}/task/{task_id}/addTaskStatus/")


***shows empty @GetMapping("/person/{person_id}/task/{task_id})

@PostMapping("/person/{person_id}/add_a_task")
@GetMapping("/person/{person_id}/add_a_task")
@RequestMapping(value = "/register_as_person", method = RequestMethod.GET)
@RequestMapping(value="/register_as_person", method= RequestMethod.POST)
@GetMapping(value = "/person/{personId}")



Development Details

Special Thanks to
Course Instructor at Java Complex Programming Course
And
the Java Developer Programme Coordinator
at IT Högskolan Göteborg


Developer: Bob Bamshad Lotfabadi
Email address: development@bamshad.se
January, February, March 2020
Technique and Tools:
  • WildFly Application Server
  • Java Spring Boot
  • MySQL
  • Thymeleaf
  • HTML and CSS
< Home