aboutsummaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authorjw2552018-04-20 23:15:51 +0100
committerjw2552018-04-20 23:15:51 +0100
commit0e486d5178e3a545f3f84273fd1e17354f9899b9 (patch)
treea160e4fd44c8b134f91f64d912765b806e454293 /report
parentwork on scrum (diff)
downloadmedicine-0e486d5178e3a545f3f84273fd1e17354f9899b9.tar.gz
medicine-0e486d5178e3a545f3f84273fd1e17354f9899b9.zip

structure

Diffstat (limited to 'report')
-rw-r--r--report/deliverable-3/main.tex9
-rw-r--r--report/deliverable-3/texts/files.tex1
-rw-r--r--report/deliverable-3/texts/logging.tex38
-rw-r--r--report/deliverable-3/texts/minutes.tex72
-rw-r--r--report/deliverable-3/texts/testing.tex4
-rw-r--r--report/deliverable-3/texts/typings.tex27
6 files changed, 6 insertions, 145 deletions
diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex
index 01defe0..0e78ea1 100644
--- a/report/deliverable-3/main.tex
+++ b/report/deliverable-3/main.tex
@@ -28,19 +28,14 @@
\input{texts/work}
\input{texts/scrum}
\input{texts/conversion}
- % \input{texts/protocol}
- % \input{texts/auth}
- \input{texts/logging}
- \input{texts/process-management}
+ \input{texts/files}
\input{texts/testing}
- \input{texts/typings}
+ \input{texts/process-management}
\input{texts/conclusion}
\appendix
\newpage
\input{appendix/scrumboard}
- \newpage
- \input{appendix/minutes}
\clearpage
diff --git a/report/deliverable-3/texts/files.tex b/report/deliverable-3/texts/files.tex
new file mode 100644
index 0000000..c21bd38
--- /dev/null
+++ b/report/deliverable-3/texts/files.tex
@@ -0,0 +1 @@
+\section{File Management} \ No newline at end of file
diff --git a/report/deliverable-3/texts/logging.tex b/report/deliverable-3/texts/logging.tex
deleted file mode 100644
index d0a7255..0000000
--- a/report/deliverable-3/texts/logging.tex
+++ /dev/null
@@ -1,38 +0,0 @@
-\section{Logging}
-Server logging has now been formalised: the functionality is imported into
-a file and can then be used to log messages at the selection of urgencies
-specified in Protocol BE01~\cite{protocol}.
-
-These outputs have many configuration options, which ideally will be
-incorporated into a global configuration handler in future development.
-
-\subsection{Standard Logging}
-By default, the standard logger logs to three places:
-\begin{enumerate}
- \item Colourised, human-readable messages are printed to the console.
- Any error- or critical-level messages are printed through stderr.
- \item More verbose JSON editions of messages are written to a basic
- logfile.
- \item Critical-level messages are additionally written to an extra
- logfile.
-\end{enumerate}
-
-\subsection{SQL Query Logging}
-A separate logger has been designed for logging the output of
-Sequelize~\cite{sequelize}. Since Protocol BE01 does not specify that they
-should be retreivable, the output queries can be stored with less associated
-metadata. In addition, Sequelize can output the total required time to
-process the query, which is stored in the log for future use as profiling
-data.
-
-\subsection{Motivation}
-Since basic server functionality has been implemented, the errors produced
-will likely be caused by difficult-to-debug problems, such as edge-cases or
-data races. With a verbose and thorough logging system, these problems
-should be much easier to detect and rectify.
-
-In addition, Protocol BE01~\cite{protocol} requires of the backend support
-for receiving and storing logs from other services. The introduction of a
-well-implemented logging system abstracts this from the common use-case of
-logging while keeping powerful functionality of forwarding and fetching logs
-available for when it is needed.
diff --git a/report/deliverable-3/texts/minutes.tex b/report/deliverable-3/texts/minutes.tex
deleted file mode 100644
index 55aab2a..0000000
--- a/report/deliverable-3/texts/minutes.tex
+++ /dev/null
@@ -1,72 +0,0 @@
-\begin{lstlisting}
-
-Group Project Meeting 1 post submission
-Date: 12/02/18
-Topics:
-Reassigning scrum roles
-Creating next set of tasks
-Task allocation
-
-Outcomes:
-* Scrum:
- * scrum master - Hafeez
- * project owner - Calum
-
-*Tasks:
- * Implementing endpoints
- * Implementing file conversions
- * Improving test coverage
- * Writing tests for untested sections
- * Connecting all middleware
- * Decide on how to deal with errors
- * Organising file-system
- * Creating a Linter to maintain a consistent file structure
-
-Group Project Meeting 2 Pre-sprint
-Date 15/02/18
-Topics:
-Define user stories
-Task allocation
-
-Outcomes:
-* Sprint
- * Week long sprint
- * Meeting set for 22/02/18
-
-Group Project Meeting 3 Post-Sprint
-Date 22/02/18
-Topics:
-Analysis of work
-Next task assignment
-
-Outcomes:
-
-Group Project Meeting 4
-Date 24/02/18
-Topics:
-Sprint aims
-Sprint deadline
-
-Outcomes:
- *Decided to hold a sprint now to leave time
- before next submission to finish off all leftover work
-
-Group Project Meeting 5
-Date 03/03/18
-Topics
-Analysis of work todo after sprint
-Work needed to complete before deadline
-
-
-Outcomes:
- * Finishing off of the report
- *Connecting work with another HCI group
- *Finish testing
-
-
-
-
-
-
-
-\end{lstlisting}
diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex
index 6eb94f0..6bc6411 100644
--- a/report/deliverable-3/texts/testing.tex
+++ b/report/deliverable-3/texts/testing.tex
@@ -1,2 +1,4 @@
\section{Testing}
-The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. \ No newline at end of file
+The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation.
+\subsection{Integration Testing}
+\subsubsection{CORS} \ No newline at end of file
diff --git a/report/deliverable-3/texts/typings.tex b/report/deliverable-3/texts/typings.tex
deleted file mode 100644
index 36297b7..0000000
--- a/report/deliverable-3/texts/typings.tex
+++ /dev/null
@@ -1,27 +0,0 @@
-\section{Type Enforcement}
-In order to run JavaScript code as TypeScript code, typings (usually
-supplied in a \file{.d.ts}-extended file) are applied at compile-time to
-make sense of the original source's variable types. For a couple of
-packages that have been used in the submission, these typings are not
-available, due to a lack of desirablilty --- the packages in question are
-niche and as such see little use.
-
-\subsection{mocha-each}
-One such package is \emph{mocha-each}, a utility package for compacting
-Mocha tests for readability and classification~\cite{mocha-each}. Without
-typings, this package cannot be used in TypeScript projects. Due to its
-single-facet use, however, it was simple to design a custom
-\file{.d.ts} file. With small edits to conform to
-guidelines~\cite{@types}, typings for
-mocha-test were contributed to the DefinitelyTyped types repository\footnote{%
-https://github.com/DefinitelyTyped/DefinitelyTyped/%
-tree/master/types/mocha-each}.
-
-\subsection{pmx}
-The package pmx (as previously described in \S\ref{sec:pms}) is useful for
-profiling. Similarly to mocha-each, however, it does not have supported typing.
-Since this package covers a far wider range of functionality, and since said
-functionality is very involved with sensitive run-time engine manipulation,
-typings were written only for the functions being used by the team, and have
-been kept in-house for their incompleteness. The files in question can be found
-in \file{src/profiler}.