Difference between revisions of "ACS2017"

From air
Jump to navigation Jump to search
Line 34: Line 34:
   
 
Possible extensions for the homework : https://air.imag.fr/index.php/Contributions_open-source_au_projet_JHipster
 
Possible extensions for the homework : https://air.imag.fr/index.php/Contributions_open-source_au_projet_JHipster
  +
  +
Extended Bugtracker JDL
  +
<pre>
  +
DEFAULT_MIN = 1
  +
DEFAULT_MAX = 3
  +
  +
entity Project {
  +
name String required minlength(6) pattern(/[A-Z]+/)
  +
}
  +
  +
entity Label {
  +
label String required minlength(3)
  +
}
  +
  +
entity Ticket {
  +
title String required,
  +
description String,
  +
priority Integer min(DEFAULT_MIN) max(DEFAULT_MAX)
  +
dueDate LocalDate,
  +
done Boolean
  +
}
  +
  +
relationship ManyToMany {
  +
Ticket{label(label)} to Label{ticket}
  +
}
  +
  +
relationship ManyToOne {
  +
Ticket{project(name)} to Project
  +
}
  +
  +
relationship ManyToOne {
  +
Ticket{assignedTo(login)} to User{ticket}
  +
}
  +
  +
dto * with mapstruct
  +
angularSuffix * with bt
  +
paginate Ticket with pagination
  +
  +
</pre>
   
 
=Links=
 
=Links=

Revision as of 10:57, 24 October 2017

This page is the entry point of the ACS (Architectures, Components and Services) course of the MOSIG AISSE curriculum.

Schedule

DD : Didier DONSEZ JBS : Jean-Bernard STEFANI

  • 03/10 : JBS : Introduction
  • 10/10 : DD : Introduction to JHipster and presentation of the homework.
  • 17/10 : DD : Introduction to Services .
    • Service-Oriented Architecture
      • OSGi, WS, UPnP
  • 24/10 : Homework
    • Docker and JHispter installation party and code review : Bring your ladtop.
  • 31/10 : Holidays
  • ??/11 : DD : Introduction to REST and and Micro Services
    • REST Principles (Richardson Maturity Model, HATEOS)
      • OpenAPI 2.0 (3.0 en fonction de l’avancé des outils Swagger)
    • Micro-services Patterns (API Gateway, …)

TBD

Homework

Homework introduction slides https://docs.google.com/presentation/d/14xH8_LrpsI95kIs3CjgMnKzNrHji38kthC5Lvxpjys4/edit?usp=sharing

Have a glance on the JDL examples https://github.com/jhipster/jdl-samples/

JHipster key technologies

Possible extensions for the homework : https://air.imag.fr/index.php/Contributions_open-source_au_projet_JHipster

Extended Bugtracker JDL

DEFAULT_MIN = 1
DEFAULT_MAX = 3

entity Project {
	name String required minlength(6) pattern(/[A-Z]+/)
}

entity Label {
	label String required minlength(3)
}

entity Ticket {
	title String required,
	description String,
	priority Integer min(DEFAULT_MIN) max(DEFAULT_MAX) 
	dueDate LocalDate,
	done Boolean
}

relationship ManyToMany {
	Ticket{label(label)} to Label{ticket}
}

relationship ManyToOne {
	Ticket{project(name)} to Project
}

relationship ManyToOne {
	Ticket{assignedTo(login)} to User{ticket}
}

dto * with mapstruct
angularSuffix * with bt
paginate Ticket with pagination

Links