Prepared initial set of files for project.
authorEric Dubuis <eric.dubuis@bfh.ch>
Sat, 3 Oct 2015 19:58:27 +0000 (21:58 +0200)
committerEric Dubuis <eric.dubuis@bfh.ch>
Sat, 3 Oct 2015 19:58:27 +0000 (21:58 +0200)
17 files changed:
src/checkstyle/checkstyle-header.txt
src/main/java/ch/bfh/ti/srs/core/SrsDummy.java [new file with mode: 0644]
src/main/java/ch/bfh/ti/srs/core/package-info.java [new file with mode: 0644]
src/site/apt/domain_model.apt [new file with mode: 0644]
src/site/apt/eval/s1.apt [new file with mode: 0644]
src/site/apt/eval/s2.apt [new file with mode: 0644]
src/site/apt/eval/s3.apt [new file with mode: 0644]
src/site/apt/eval/s4.apt [new file with mode: 0644]
src/site/apt/eval/sprints.apt [new file with mode: 0644]
src/site/apt/eval/summary.apt [new file with mode: 0644]
src/site/apt/format.apt
src/site/apt/glossary.apt [new file with mode: 0644]
src/site/apt/user_stories.apt [new file with mode: 0644]
src/site/resources/images/fig_example.svg [new file with mode: 0644]
src/site/resources/images/fig_example.uxf [new file with mode: 0644]
src/site/site.xml
src/test/java/ch/bfh/ti/srs/core/SrsDummyTest.java [new file with mode: 0644]

index 415a27f..1eef4f5 100644 (file)
@@ -1,11 +1,8 @@
 ^/\*$
 ^ \* Copyright \(c\) 201[56] Berner Fachhochschule, Switzerland\.$
-^ \* Bern University of Applied Sciences, Engineering and Information Technology,$
-^ \* Biel, Switzerland.$
 ^ \*$
 ^ \* Project Smart Reservation System.$
 ^ \*$
-^ \* Distributable under GPL license\.$
-^ \* See terms of license at gnu\.org\.$
+^ \* Distributable under GPL license\. See terms of license at gnu\.org\.$
 ^ \*/$
 ^package 
\ No newline at end of file
diff --git a/src/main/java/ch/bfh/ti/srs/core/SrsDummy.java b/src/main/java/ch/bfh/ti/srs/core/SrsDummy.java
new file mode 100644 (file)
index 0000000..1ed916c
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2015 Berner Fachhochschule, Switzerland.
+ *
+ * Project Smart Reservation System.
+ *
+ * Distributable under GPL license. See terms of license at gnu.org.
+ */
+package ch.bfh.ti.srs.core;
+
+/**
+ * @author Eric Dubuis
+ */
+public class SrsDummy {
+       public static final String PART = "Hello, ";
+
+       public String sayHello(String who) {
+               return PART + who;
+       }
+
+       public static void main(String[] args) {
+               SrsDummy srs = new SrsDummy();
+               String result = srs.sayHello("dude");
+               System.out.println(result);
+       }
+}
diff --git a/src/main/java/ch/bfh/ti/srs/core/package-info.java b/src/main/java/ch/bfh/ti/srs/core/package-info.java
new file mode 100644 (file)
index 0000000..986afd6
--- /dev/null
@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2015 Berner Fachhochschule, Switzerland.
+ *
+ * Project Smart Reservation System.
+ *
+ * Distributable under GPL license. See terms of license at gnu.org.
+ */
+package ch.bfh.ti.srs.core;
diff --git a/src/site/apt/domain_model.apt b/src/site/apt/domain_model.apt
new file mode 100644 (file)
index 0000000..7c554e5
--- /dev/null
@@ -0,0 +1,25 @@
+               ----------
+               Domain Model
+               ----------
+               due1
+               ----------
+               October 03, 2015
+
+Domain Model
+
+       This document describes the domain model ("Fachmodell") of the Smart Reservation
+System (SRS). It introduces the most important entities ("Fachklassen") and the
+associations among them. It also introduces the respective multiplicities.
+
+       Note that only a few attributes are showed in the diagram, but no operations.
+
+* 1. Domain Model
+
+       The model that was developed so far...
+
+       Figure goes here...
+
+
+* 2. Open Issues
+
+       Add here any open issues, if any.
diff --git a/src/site/apt/eval/s1.apt b/src/site/apt/eval/s1.apt
new file mode 100644 (file)
index 0000000..a451417
--- /dev/null
@@ -0,0 +1,111 @@
+               -------------
+               Deliverable 1
+               -------------
+               Eric Dubuis
+               -------------
+               October 3, 2015
+
+
+Introduction
+
+       This document describes the tasks to be performed for, and the constituents
+of the Deliverable 1. Such a document would usually not exist in a real
+project documentation. (Similar information would be found elsewhere, for
+example, in the Iteration Plan document, however.)
+
+               [Note:] Do not edit or modify this document. This document is
+                               managed by your lecturer.
+
+
+Goals
+
+       Deliverable 1 simulates the very first sprint according to Scrum. Hence,
+the project finds itself in a very early stage of the whole development process.
+An initial version of the project's {{{../vision.html}Vision}} document exists only.
+
+       The goals of the provisioning of Deliverable 1 are:
+
+       * To think about stakeholders;
+
+       * To think about and articulate first and most important user stories;
+
+       * To think about and illustrate a domain model.
+
+       []
+
+
+Your Tasks
+
+       Besides setting up your infrastructure (according to instructions given
+by the lecturer), you work on the Deliverable 1. The constituents of D1
+(short for Deliverable 1) are:
+
+       [[1]]   A list of stakeholders; format: Name and
+                       brief description. Recommended place: the {{{../glossary.html}Glossary}}.
+
+       [[]]    An initial set of user stories.
+
+
+       [[]]    A context (use case) diagram.
+
+       [[]]    A domain model. Domain classes (name, a few attributes at most, no
+                       operations), associations and multiplicities. No navigabilities.
+
+       [[]]    A glossary.
+
+       []
+
+
+Components of this Deliverable
+
+       Your deliverable will consist of your committed project on the Git master
+branch. You will merge the deliverable from you development branch <sprint1>
+(or <s1> if you prefer) to the master branch and tag it <d1>.
+
+       The constituents of your D1 shall consist of:
+
+       [[1]]   A document consisting of:
+
+                       * The user stories;
+                       
+                       * The context diagramm.
+
+       [[]]    A set of stakeholders, preferably in the {{{../glossary.html}Glossary}}.
+
+       [[]]    A Domain Model document (title, brief introduction, and the domain model).
+
+       []
+
+
+Evaluation
+
+       10 points at most are attributed to this deliverable.
+
+*-------------------------------------------+---------------*-----------------*
+| Item                                                                         | Max. points   | Points received |
+*-------------------------------------------+---------------*-----------------*
+| Document containing the user stories\                |               1               |                                 |
+| and roles.                                                           |                               |                                 |
+|                                                                                      |                               |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Domain Model Document\                                       |               3               |                                 |
+| (associations, multiplicities)                                                       |                                 |
+|                                                                                      |                               |                                 |
+|                                                                                      |                               |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Sensible stakeholders (in glossary)\         |               2               |                                 |
+|                                                                                      |                               |                                 |
+|                                                                                      |                               |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Total                                                                                |               5               |                                 |
+*-------------------------------------------+---------------*-----------------*
+Distribution of points for this deliverable.
+
+       Ideally, the (extension of the) glossary, the document with the User stories and the
+Domain Model Document is well integrated into the project documentation.
+If you don't use APT, then PDF files will do as well.
+
+
+Deadline
+
+       This deliverable is due: TBD.
diff --git a/src/site/apt/eval/s2.apt b/src/site/apt/eval/s2.apt
new file mode 100644 (file)
index 0000000..cfe5aee
--- /dev/null
@@ -0,0 +1,49 @@
+               -------------
+               Deliverable 2
+               -------------
+               Eric Dubuis
+               -------------
+               November 12, 2014
+
+Deliverable 2
+
+* Introduction
+
+       This document describes the tasks to be performed for, and the constituents
+of the Deliverable 2. Such a document would usually not exist in a real
+project documentation. (Similar information would be found elsewhere, for
+example, in the Iteration Plan document, however.)
+
+               [Note:] Do not edit or modify this document. This document is
+                               managed by your lecturer.
+
+
+* Goals
+
+       TBD.
+
+
+* Your Tasks
+
+       TBD.
+
+
+* Components of this Deliverable
+
+       TBD.
+
+
+* Evaluation
+
+       10 points at most are attributed to this deliverable.
+
+       TBD.
+
+
+
+* Deadline
+
+       This deliverable is due: TBD.
+
+       [Note:] Deadline is Friday evening. However, you can provide
+                       your deliverable till the following Sunday evening, 12 pm.
diff --git a/src/site/apt/eval/s3.apt b/src/site/apt/eval/s3.apt
new file mode 100644 (file)
index 0000000..7abe002
--- /dev/null
@@ -0,0 +1,50 @@
+               -------------
+               Deliverable 3
+               -------------
+               Eric Dubuis
+               -------------
+               November 3, 2014
+
+
+Deliverable 3
+
+* Introduction
+
+       This document describes the tasks to be performed for, and the constituents
+of, the Deliverable 3. Such a document would usually not exist in a real
+project documentation. (Similar information would be found elsewhere, for
+example, in the Iteration Plan document, however.)
+
+               [Note:] Do not edit or modify this document. This document is
+                               managed by your lecturer.
+
+
+* Goals
+
+       TBD.
+
+
+* Your Tasks
+
+       TBD.
+
+
+* Documentation
+
+       TBD.
+
+* Components of this Deliverable
+
+       TBD.
+
+
+* Evaluation
+
+       15 points at most are attributed to this deliverable.
+
+       TBD.
+
+
+* Deadline
+
+       This deliverable is due: TBD.
diff --git a/src/site/apt/eval/s4.apt b/src/site/apt/eval/s4.apt
new file mode 100644 (file)
index 0000000..782404e
--- /dev/null
@@ -0,0 +1,62 @@
+               -------------
+               Deliverable 4
+               -------------
+               Eric Dubuis
+               -------------
+               January 11, 2015
+
+
+Deliverable 4
+
+* Introduction
+
+       This document describes the tasks to be performed for, and the constituents
+of the Deliverable 4. Such a document would usually not exist in a real
+project documentation. (Similar information would be found elsewhere, for
+example, in the Iteration Plan document, however.)
+
+               [Note:] Do not edit or modify this document. This document is
+                               managed by your lecturer.
+
+
+* Goals
+
+       TBD.
+
+
+* On the System Architecture Document (SAD)
+
+       TBD.
+
+
+* On Package Structure
+
+       A sketch of a possible package structure is given in the
+following UML package diagram.
+
+       TBD.
+
+* On Persistence Mechanisms
+
+       TBD.
+
+
+* Components of this Deliverable
+
+       TBD.
+
+
+* Evaluation
+
+       15 points at most are attributed to this deliverable.
+
+       TBD.
+
+
+
+* Deadline
+
+       This deliverable is due: TBD.
+
+               [Note:] Deadline is Friday evening. However, you can provide
+                       your deliverable till the following Sunday evening, 12 pm.
diff --git a/src/site/apt/eval/sprints.apt b/src/site/apt/eval/sprints.apt
new file mode 100644 (file)
index 0000000..39a815d
--- /dev/null
@@ -0,0 +1,46 @@
+               -----------
+               Sprint Plan
+               -----------
+               Eric Dubuis
+               --------------
+               October 3, 2015
+               --------------
+
+
+Sprint Plan of Project Smart Reservation System
+
+* Introduction
+
+       The goal of this project is to simulate the incremental, iterative,
+and agile software development process SCRUM. It is incremental in the sense
+that functionality (and, thus, business value) is provided in an
+incremental manner. It is iterative in so far that many development
+activities (use case modeling, design, coding, testing, documentation, ...)
+occur repeatedly. It is agile such that changes in customer requirements
+can be handled (rather) easily.
+
+
+* Schedule of Sprints
+
+       The following sprints and deliverables are planned:
+
+*-----------------------------------------------+---------------*-----------------*
+| Sprint/Deliverable                                                   | Due date              | Points                  |
+*-----------------------------------------------+---------------*-----------------*
+| Sprint 1/{{{./s1.html}Deliverable 1 (D1)}}   | TBD                   |                5                |
+*-----------------------------------------------+---------------*-----------------*
+| Sprint 2/{{{./s2.html}Deliverable 2 (D2)}}   | TBD                   |               15                |
+*-----------------------------------------------+---------------*-----------------*
+| Sprint 3/{{{./s3.html}Deliverable 3 (D3)}}   | TBD                   |               15                |
+*-----------------------------------------------+---------------*-----------------*
+| Sprint 4/{{{./s4.html}Deliverable 4 (D4)}}   | TBD                   |               15                |
+*-----------------------------------------------:---------------*-----------------*
+|                                                                              Total   |                               |               50                |
+*-----------------------------------------------+---------------*-----------------*
+Planning of sprints and deliverables.
+
+
+       [Note:] Each deadline is Friday evening. However, you can provide
+                       your deliverables till the following Sunday evening, 12 pm.
+
+
diff --git a/src/site/apt/eval/summary.apt b/src/site/apt/eval/summary.apt
new file mode 100644 (file)
index 0000000..e52a79e
--- /dev/null
@@ -0,0 +1,40 @@
+               -----------------------
+               Summary of Deliverables
+               -----------------------
+               Eric Dubuis
+               -----------------------
+               TBD
+
+
+Summary of Deliverables
+
+* Introduction
+
+       This document provides a summary of the evaluated deliverables.
+
+               [Note:] Do not edit or modify this document. This document is
+                               managed by your lecturer.
+
+
+
+* Summary
+
+       50 points at most can be achieved by the four required deliverables.
+
+*-------------------------------------------+---------------*-----------------*
+| Item                                                                         | Max. points   | Points received |
+*-------------------------------------------+---------------*-----------------*
+| Deliverable D1.                                                      |               10              |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Deliverable D2.                                                      |               10              |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Deliverable D3.                                                      |               15              |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Deliverable D4.                                                      |               15              |                                 |
+*-------------------------------------------+---------------*-----------------*
+| Total                                                                                |               50              |                                 |
+*-------------------------------------------+---------------*-----------------*
+Distribution of points for this deliverable.
+
+
+       Overall comment: TBP.
index e3e31cc..1b96a06 100644 (file)
@@ -8,6 +8,9 @@
 The APT format
 ~~~~~~~~~~~~~~
 
+       [Note:] Complementary information has been added to this document
+                       without specific notice. -- E. Dubuis
+
   In the following section, boxes containing text in typewriter-like font are
   examples of APT source.
 
@@ -232,7 +235,7 @@ Verbatim text contained in list item 2, but not in sub-list item 2
       [[2]] Numbered item 2.
 +-----------------------------------------+
 
-  A numbered list item begins with a label beetween two square brackets. The
+  A numbered list item begins with a label between two square brackets. The
   label of the first item establishes the numbering scheme for the whole list:
 
       [<<<[[1\]\]>>>] Decimal numbering: 1, 2, 3, 4, etc.
@@ -282,31 +285,22 @@ Verbatim
 *** Figure
 ~~~~~~~~~~
 
-+---------------------------+
-[Figure name] Figure caption
-+---------------------------+
++------------+
+[Figure name] Optional caption 
++------------+
 
   A figure block is not indented. It begins with the figure name between
-  square brackets. The figure name is optionally followed by some text: the
-  figure caption.
-
-  The figure name is the pathname of the file containing the figure but
-  without an extension. Example: if your figure is contained in
-  <<</home/joe/docs/mylogo.jpeg>>>, the figure name is
-  <<</home/joe/docs/mylogo>>>.
-
-  If the figure name comes from a relative pathname (recommended practice)
-  rather than from an absolute pathname, this relative pathname is taken to be
-  relative to the directory of the current APT document (a la HTML)
-  rather than relative to the current working directory.
-
-  Why not leave the file extension in the figure name? This is better
-  explained by an example. You need to convert an APT document to PostScript
-  and your figure name is <<</home/joe/docs/mylogo>>>. A APT processor will
-  first try to load <<</home/joe/docs/mylogo.eps>>>. When the desired format
-  is not found, a APT processor tries to convert one of the existing
-  formats. In our example, the APT processor tries to convert
-  <<</home/joe/docs/mylogo.jpeg>>> to encapsulated PostScript.
+  square brackets. The optional caption generates an <<<alt>>> attribute
+  in the generated HTML <<<img>>> tag containing the caption text.
+
+  The figure name is the pathname of the file containing the figure including
+  its extension. Example: If your figure is contained in file
+  <<<src/site/resources/images/fig_example.svg>>>, the figure name is
+  <<<images/fig_example.svg>>>. Here, <<<src>>> denotes the source
+  directory from within your project directory.
+
+[images/fig_example.svg]Sample use case diagram.
+
 
 *** Table
 ~~~~~~~~~
diff --git a/src/site/apt/glossary.apt b/src/site/apt/glossary.apt
new file mode 100644 (file)
index 0000000..63b79bc
--- /dev/null
@@ -0,0 +1,35 @@
+               ----------
+               Glossary
+               ----------
+               ----------
+
+
+Glossary for the Smart Reservation System
+
+       This is the Glossary for the project Smart Reservation System. Here, the
+most important terms are captured and briefly described. It is maintained
+by the development team.
+       
+       [Administrator]         A user who manage the application. He is in charge to create 
+                                               accounts for editors and authors. He also creates an modify new newsletters.
+       
+       [...]                           ...
+                                                       
+       [Product owner]         The product owner has all rights about the project.
+
+       [SRS]                           Smart Reservation System - A software system enabling
+                                               associations and enterprises to book and share rooms.
+       
+       [SSD]                           System Sequence Diagram - This is a way to express the behavior of a
+                                               system of objects.
+       
+       [Stakeholder]           A person or entity having an interest in the system.
+                                               See -> Subscriber; see ...
+                                       
+       [...]                           ...
+
+                                       
+
+       
+
+       
diff --git a/src/site/apt/user_stories.apt b/src/site/apt/user_stories.apt
new file mode 100644 (file)
index 0000000..a496a9b
--- /dev/null
@@ -0,0 +1,47 @@
+               ----------
+               User Stories
+               ----------
+               due1
+               ----------
+               October 03, 2015
+
+User Stories
+
+       This document describes the (initial) set of user stories as well as the
+roles users have when using the Smart Reservation System (SRS).
+
+* 1. Roles
+
+       Describe the roles you have identified. I recommend to use a definition
+list:
+
+       [Role 1] Description of Role 1.
+
+
+* 2. User Stories
+
+       Describe the user stories you have identified so far. Provide a table,
+and number the stories. Provide a short text for each user story by using
+the format as presented in the script. In the last column, provide one
+or more criteria which can be used to validate whether the user story is
+correctly implemented.
+
+
+
+*-----------+---------------------------------------+---------------------------+
+| <<No>>       | <<Description>>                                               | <<Validation>>                        |
+*-----------+---------------------------------------+---------------------------+
+| 01           | As <Regular User>, I would like to    | Validation 01 goes here...|
+|                      | book a resource \| room etc. ...              |                                                       |
+*-----------+---------------------------------------+---------------------------+
+| 02           | As <Role x>, I would like to                  | Validation 02 goes here...|
+|                      | ...                                                                   |                                                       |
+*-----------+---------------------------------------+---------------------------+
+| 03           | ...                                                                   | Validation 03 goes here...|
+|                      |                                                                               |                                                       |
+*-----------+---------------------------------------+---------------------------+
+
+
+* 3. Open Issues
+
+       Add here any open issues, if any.
diff --git a/src/site/resources/images/fig_example.svg b/src/site/resources/images/fig_example.svg
new file mode 100644 (file)
index 0000000..a7016a6
--- /dev/null
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
+          'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
+<svg fill-opacity="1" xmlns:xlink="http://www.w3.org/1999/xlink" color-rendering="auto" color-interpolation="auto" text-rendering="auto" stroke="black" stroke-linecap="square" width="380" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" viewBox="200 180 380 250" height="250" xmlns="http://www.w3.org/2000/svg" font-family="&apos;Dialog&apos;" font-style="normal" stroke-linejoin="miter" font-size="12" stroke-dashoffset="0" image-rendering="auto"
+><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs"
+  /><g
+  ><defs id="defs1"
+    ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath1"
+      ><path d="M0 0 L2147483647 0 L2147483647 2147483647 L0 2147483647 L0 0 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath2"
+      ><path d="M0 0 L0 100 L60 100 L60 0 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath3"
+      ><path d="M0 -0.5 L0 99.5 L60 99.5 L60 -0.5 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath4"
+      ><path d="M0 0 L0 40 L120 40 L120 0 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath5"
+      ><path d="M-0.5 -0.5 L-0.5 39.5 L119.5 39.5 L119.5 -0.5 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath6"
+      ><path d="M0 0 L0 180 L200 180 L200 0 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath7"
+      ><path d="M-0.5 -0.5 L-0.5 179.5 L199.5 179.5 L199.5 -0.5 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath8"
+      ><path d="M0 0 L0 100 L170 100 L170 0 Z"
+      /></clipPath
+      ><clipPath clipPathUnits="userSpaceOnUse" id="clipPath9"
+      ><path d="M0 0 L0 50 L160 50 L160 0 Z"
+      /></clipPath
+    ></defs
+    ><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(220,310)" stroke-opacity="0" stroke="rgb(255,255,255)"
+    ><circle r="7" clip-path="url(#clipPath2)" cx="30.5" cy="7.5" stroke="none"
+    /></g
+    ><g transform="translate(220,310.5)"
+    ><circle fill="none" r="7" clip-path="url(#clipPath3)" cx="30.5" cy="7.5"
+      /><path fill="none" d="M9.5 21.5 L51.5 21.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 14.5 L30.5 42.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 42.5 L16.5 70.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 42.5 L44.5 70.5" clip-path="url(#clipPath3)"
+      /><text x="7" font-size="14" y="87.8174" clip-path="url(#clipPath3)" font-family="sans-serif" stroke="none" xml:space="preserve"
+      >Actor2</text
+    ></g
+    ><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(220,200)" stroke-opacity="0" stroke="rgb(255,255,255)"
+    ><circle r="7" clip-path="url(#clipPath2)" cx="30.5" cy="7.5" stroke="none"
+    /></g
+    ><g transform="translate(220,200.5)"
+    ><circle fill="none" r="7" clip-path="url(#clipPath3)" cx="30.5" cy="7.5"
+      /><path fill="none" d="M9.5 21.5 L51.5 21.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 14.5 L30.5 42.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 42.5 L16.5 70.5" clip-path="url(#clipPath3)"
+      /><path fill="none" d="M30.5 42.5 L44.5 70.5" clip-path="url(#clipPath3)"
+      /><text x="7" font-size="14" y="87.8174" clip-path="url(#clipPath3)" font-family="sans-serif" stroke="none" xml:space="preserve"
+      >Actor1</text
+    ></g
+    ><g fill="rgb(0,255,0)" fill-opacity="0.4902" transform="translate(400,310)" stroke-opacity="0.4902" stroke="rgb(0,255,0)"
+    ><ellipse rx="59.25" ry="19.25" clip-path="url(#clipPath4)" cx="59.75" cy="19.75" stroke="none"
+    /></g
+    ><g transform="translate(400.5,310.5)"
+    ><ellipse rx="59.25" fill="none" ry="19.25" clip-path="url(#clipPath5)" cx="59.75" cy="19.75"
+      /><text x="23" font-size="14" y="24.9087" clip-path="url(#clipPath5)" font-family="sans-serif" stroke="none" font-weight="bold" xml:space="preserve"
+      >Use case 2</text
+    ></g
+    ><g fill="rgb(255,0,0)" fill-opacity="0.4902" transform="translate(400,240)" stroke-opacity="0.4902" stroke="rgb(255,0,0)"
+    ><ellipse rx="59.25" ry="19.25" clip-path="url(#clipPath4)" cx="59.75" cy="19.75" stroke="none"
+    /></g
+    ><g transform="translate(400.5,240.5)"
+    ><ellipse rx="59.25" fill="none" ry="19.25" clip-path="url(#clipPath5)" cx="59.75" cy="19.75"
+      /><text x="23" font-size="14" y="24.9087" clip-path="url(#clipPath5)" font-family="sans-serif" stroke="none" font-weight="bold" xml:space="preserve"
+      >Use case 1</text
+    ></g
+    ><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(360,200)" stroke-opacity="0" stroke="rgb(255,255,255)"
+    ><rect x="0.5" width="198.5" height="178.5" y="0.5" clip-path="url(#clipPath6)" stroke="none"
+    /></g
+    ><g transform="translate(360.5,200.5)"
+    ><rect fill="none" x="0.5" width="198.5" height="178.5" y="0.5" clip-path="url(#clipPath7)"
+      /><text x="75" font-size="14" y="17.8174" clip-path="url(#clipPath7)" font-family="sans-serif" stroke="none" font-weight="bold" xml:space="preserve"
+      >System</text
+    ></g
+    ><g font-family="sans-serif" font-size="14" transform="translate(260,260)"
+    ><path fill="none" d="M10.5 80.5 L150.5 10.5" clip-path="url(#clipPath8)"
+    /></g
+    ><g font-family="sans-serif" font-size="14" transform="translate(260,320)"
+    ><path fill="none" d="M10.5 30.5 L140.5 10.5" clip-path="url(#clipPath9)"
+    /></g
+    ><g font-family="sans-serif" font-size="14" transform="translate(260,230)"
+    ><path fill="none" d="M10.5 10.5 L140.5 30.5" clip-path="url(#clipPath9)"
+    /></g
+  ></g
+></svg
+>
diff --git a/src/site/resources/images/fig_example.uxf b/src/site/resources/images/fig_example.uxf
new file mode 100644 (file)
index 0000000..8b8d4e5
--- /dev/null
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<diagram program="umlet" version="13.0">
+  <zoom_level>10</zoom_level>
+  <element>
+    <id>UMLClass</id>
+    <coordinates>
+      <x>360</x>
+      <y>200</y>
+      <w>200</w>
+      <h>180</h>
+    </coordinates>
+    <panel_attributes>*System*</panel_attributes>
+    <additional_attributes/>
+  </element>
+  <element>
+    <id>UMLUseCase</id>
+    <coordinates>
+      <x>400</x>
+      <y>240</y>
+      <w>120</w>
+      <h>40</h>
+    </coordinates>
+    <panel_attributes>*Use case 1*
+bg=red</panel_attributes>
+    <additional_attributes/>
+  </element>
+  <element>
+    <id>UMLUseCase</id>
+    <coordinates>
+      <x>400</x>
+      <y>310</y>
+      <w>120</w>
+      <h>40</h>
+    </coordinates>
+    <panel_attributes>*Use case 2*
+bg=green</panel_attributes>
+    <additional_attributes/>
+  </element>
+  <element>
+    <id>UMLActor</id>
+    <coordinates>
+      <x>220</x>
+      <y>200</y>
+      <w>60</w>
+      <h>100</h>
+    </coordinates>
+    <panel_attributes>Actor1</panel_attributes>
+    <additional_attributes/>
+  </element>
+  <element>
+    <id>UMLActor</id>
+    <coordinates>
+      <x>220</x>
+      <y>310</y>
+      <w>60</w>
+      <h>100</h>
+    </coordinates>
+    <panel_attributes>Actor2</panel_attributes>
+    <additional_attributes/>
+  </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>260</x>
+      <y>230</y>
+      <w>160</w>
+      <h>50</h>
+    </coordinates>
+    <panel_attributes/>
+    <additional_attributes>10.0;10.0;140.0;30.0</additional_attributes>
+  </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>260</x>
+      <y>320</y>
+      <w>160</w>
+      <h>50</h>
+    </coordinates>
+    <panel_attributes/>
+    <additional_attributes>10.0;30.0;140.0;10.0</additional_attributes>
+  </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>260</x>
+      <y>260</y>
+      <w>170</w>
+      <h>100</h>
+    </coordinates>
+    <panel_attributes/>
+    <additional_attributes>10.0;80.0;150.0;10.0</additional_attributes>
+  </element>
+</diagram>
index 5f0f991..e312898 100644 (file)
         </breadcrumbs>
 
                <menu name="Process Documentation">
+                       <!--
+                               To add a menu item that links to a HTML page, provide
+                               an entry of the form:
+                                 <item name="AName" href="path_from_apt_dir_to_file.html" />
+                               
+                               To add a menu item that links to a PDF file, provide
+                               an entry of the form:
+                                 <item name="AName" href="path_from_resources/pdf_dir_to_file.pdf" />
+                       -->
                        <item name="About" href="index.html" />
                        <item name="The Vision" href="doc/vision.pdf" />
+                       <item name="User Stories" href="user_stories.html" />
+                       <item name="Domain Model" href="domain_model.html" />
+                       <!--
+                       <item name="System Sequence Diagram" href="system_sequence_diagram.html" />
+                       <item name="Detailed Design Document" href="detailed_design_document.html" />
+                       <item name="System Architecture Document" href="system_architecture_document.html" />
+                       <item name="Other Specs" href="other_specs.html" />
+                       -->
+                       <item name="Glossary" href="glossary.html" />
+               </menu>
+               <menu name="Project Evaluation">
+                       <item name="Sprint Plan" href="eval/sprints.html" />
+                       <item name="Deliverable 1" href="eval/S1.html" />
+                       <item name="Deliverable 2" href="eval/s2.html" />
+                       <item name="Deliverable 3" href="eval/s3.html" />
+                       <item name="Deliverable 4" href="eval/s4.html" />
+                       <item name="Evaluation" href="eval/summary.html" />
                </menu>
                <menu name="Resources">
                        <item name="The APT Format" href="format.html" />
@@ -32,4 +58,9 @@
 
        </body>
 
+       <skin>
+               <groupId>org.apache.maven.skins</groupId>
+               <artifactId>maven-fluido-skin</artifactId>
+               <version>1.4</version>
+       </skin>
 </project>
diff --git a/src/test/java/ch/bfh/ti/srs/core/SrsDummyTest.java b/src/test/java/ch/bfh/ti/srs/core/SrsDummyTest.java
new file mode 100644 (file)
index 0000000..c56ac68
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2015 Berner Fachhochschule, Switzerland.
+ *
+ * Project Smart Reservation System.
+ *
+ * Distributable under GPL license. See terms of license at gnu.org.
+ */
+package ch.bfh.ti.srs.core;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+
+/**
+ * @author Eric Dubuis
+ */
+public class SrsDummyTest {
+
+       @Test
+       public void test() {
+               SrsDummy srs = new SrsDummy();
+               String result = srs.sayHello("tester");
+               assertEquals(SrsDummy.PART + "tester", result);
+       }
+}