From cd183262ea0b9a5af6d0eb36e5774f0e6de9c9b3 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 15:43:30 +0100 Subject: somw work --- report/deliverable-3/main.synctex.gz | Bin 100133 -> 100352 bytes report/deliverable-3/main.toc | 8 +++--- report/deliverable-3/texts/work.tex | 47 +++++++++++++++++++---------------- 3 files changed, 30 insertions(+), 25 deletions(-) diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz index b03a4b0..e8f3063 100644 Binary files a/report/deliverable-3/main.synctex.gz and b/report/deliverable-3/main.synctex.gz differ diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc index caf3cf6..a480b1b 100644 --- a/report/deliverable-3/main.toc +++ b/report/deliverable-3/main.toc @@ -2,7 +2,7 @@ \contentsline {section}{\numberline {2}Completed Work}{2}{section.2} \contentsline {subsection}{\numberline {2.1}Endpoints}{3}{subsection.2.1} \contentsline {section}{\numberline {3}Continued use of Scrum}{3}{section.3} -\contentsline {subsection}{\numberline {3.1}Sprints}{3}{subsection.3.1} +\contentsline {subsection}{\numberline {3.1}Sprints}{4}{subsection.3.1} \contentsline {subsection}{\numberline {3.2}Scrum board}{4}{subsection.3.2} \contentsline {section}{\numberline {4}File Conversion}{4}{section.4} \contentsline {subsection}{\numberline {4.1}Dealing with Images}{4}{subsection.4.1} @@ -11,18 +11,18 @@ \contentsline {subsubsection}{\numberline {4.1.3}Stitching Base Tiles}{6}{subsubsection.4.1.3} \contentsline {subsubsection}{\numberline {4.1.4}Building Up Hierarchy of Zoom Levels}{6}{subsubsection.4.1.4} \contentsline {subsection}{\numberline {4.2}Leica \& Other Formats}{6}{subsection.4.2} -\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{6}{subsection.4.3} +\contentsline {subsection}{\numberline {4.3}Non image formats (\texttt {.csv} etc.)}{7}{subsection.4.3} \contentsline {section}{\numberline {5}File Management}{7}{section.5} \contentsline {subsection}{\numberline {5.1}Directory Structure}{7}{subsection.5.1} \contentsline {subsection}{\numberline {5.2}File Upload}{7}{subsection.5.2} \contentsline {subsection}{\numberline {5.3}File Download}{7}{subsection.5.3} -\contentsline {section}{\numberline {6}Testing}{7}{section.6} +\contentsline {section}{\numberline {6}Testing}{8}{section.6} \contentsline {subsection}{\numberline {6.1}Using Mocha and Postman}{8}{subsection.6.1} \contentsline {subsection}{\numberline {6.2}Integration Testing}{8}{subsection.6.2} \contentsline {subsubsection}{\numberline {6.2.1}CORS}{8}{subsubsection.6.2.1} \contentsline {section}{\numberline {7}Process Management and Deployment}{8}{section.7} \contentsline {subsection}{\numberline {7.1}Process Manager Selection}{8}{subsection.7.1} -\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{8}{subsection.7.2} +\contentsline {subsection}{\numberline {7.2}pm2 and KeyMetrics}{9}{subsection.7.2} \contentsline {subsection}{\numberline {7.3}Process Limitations}{9}{subsection.7.3} \contentsline {subsection}{\numberline {7.4}Heroku Hosting}{9}{subsection.7.4} \contentsline {subsection}{\numberline {7.5}External System Hosting}{9}{subsection.7.5} diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 789b58a..08cc786 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -13,26 +13,31 @@ Looking back on the tasks set out from the initial specifications we are very sa \end{description} \subsection{Endpoints} +as specified by the agreed protocol \begin{description} -\item[get /\_supported\_protocols\_] Returns the supported protocols -\item[get /log] Allows retreiving of logs (requires admin privileges) -\item[post /log] Allows viewing of logs (requires logging permission) -\item[get /properties] Returns the server configuration -\item[post /properties] Allows changing of the server configuration -\item[get /user\_privileges] Returns all available privileges -\item[get /users] Returns all users -\item[get /users/:username] Returns information on a specific user -\item[post /users/:username] Allows adding of users and changing of user information -\item[get /users/:username/properties] Returns additional configuration options on a specific user -\item[get /current\_user] Returns information of the authenticated user -\item[post /current\_user] Allows changing of information for the authenticated user -\item[get /project\_roles] Returns all project roles -\item[get /projects] Returns all projects -\item[get /projects/:project\_name] Returns information of a specific project -\item[post /projects/:project\_name] Allows changing of information of a specific project -\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project -\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) -\item[get /projects/:project\_name/files/:path] Returns a file -\item[post /projects/:project\_name/files/:path] Uploads a file -\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file +\item[post /oauth/token] Allows authentication, issuing a token. +\item[get /\_supported\_protocols\_] Returns the supported protocols +\item[get /log] Allows retreiving of logs (requires admin privileges)\\ +optional url parameters: \texttt{before=\&after=\&level=} +\item[post /log] Allows viewing of logs (requires logging permission) +\item[get /properties] Returns the server configuration +\item[post /properties] Allows changing of the server configuration +\item[get /user\_privileges] Returns all available privileges +\item[get /users] Returns all users +\item[get /users/:username] Returns information on a specific user +\item[post /users/:username] Allows adding, deleting and changing of user (information)\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /users/:username/properties] Returns additional configuration options on a specific user +\item[get /current\_user] Returns information of the authenticated user +\item[post /current\_user] Allows changing of information for the authenticated user +\item[get /project\_roles] Returns all project roles +\item[get /projects] Returns all projects +\item[get /projects/:project\_name] Returns information of a specific project +\item[post /projects/:project\_name] Allows changing of information of a specific project\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project +\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) +\item[get /projects/:project\_name/files/:path] Returns a file +\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1