Skip to content

Provides a definition and a simple implementation of Mail in OpenAPI format

License

Notifications You must be signed in to change notification settings

DavidRobertKeller/mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abstract

Objectives:

  • provides a definition of Mail in OpenAPI format
  • provides a simple implementation of a MailStore

Some definitions:

Electronic mail (email)

Actor :

  • sender
  • recipient
  • in copy
  • in copy invisible Actions
  • create
  • read
  • update
  • delete
  • send
  • forward

Certified mail (cmail)

Actor :

  • sender
  • recipient
  • in copy
  • in copy invisible Actions
  • create
  • read
  • update
  • delete
  • send
  • forward

Registered mail (rmail)

Actor :

  • sender
  • recipient
  • in copy
  • in copy invisible Actions
  • create
  • read
  • update
  • delete
  • send
  • forward
  • refuse
  • abandon (when time is up)

Business mail (bmail)

Actor :

  • sender
  • recipient
  • in copy
  • in copy invisible Actions
  • create
  • read
  • update
  • delete
  • send
  • forward

Physical mail (pmail)

type : letter, parcel Actor :

  • sender
  • recipient Actions
  • create
  • read
  • update
  • delete
  • send
  • forward Attachment:
  • physical items that cannot be digitalized : DVD, Plan, Token, etc
  • physical items that can be digitalized : letter, delivery slip, etc.

Install and run

Keycloak:

  • download https://downloads.jboss.org/keycloak/9.0.0/keycloak-9.0.0.zip
  • mkdir D:\application
  • unzip keycloak-9.0.0.zip
  • cd D:\application\keycloak-9.0.0\bin
  • standalone.sh -Djboss.socket.binding.port-offset=1000
  • open http://localhost:9080/auth/admin/
  • log as admin
  • create realm 'mail'
  • create client 'mail-user' ** Client Protocol : 'openid-connect' ** Valid Redirect URIs : '' ** Web Origins : ''
  • create client-scope : user
  • add client-scope "user" to client "mail-user" in the default "Assigned Default Client Scope"
  • create role : user

Resource Server:

Bibliography

Standart:

Spring and Keycloak:

About CORS :

About

Provides a definition and a simple implementation of Mail in OpenAPI format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages