README.md 835 Bytes
Newer Older
Aksel Baardsen's avatar
Aksel Baardsen committed
1
2
# Assignment 1

3
4
Assignment 1 in IMT2681 Cloud Technologies:
https://git.gvk.idi.ntnu.no/course/imt2681/imt2681-2019/wikis/Assignment-1
Aksel Baardsen's avatar
Aksel Baardsen committed
5
6
7

Deployed at Heroku:
https://rocky-meadow-62766.herokuapp.com/
Aksel Baardsen's avatar
Aksel Baardsen committed
8
9
10
11
12
13

NOTE:
- /diag/ needs a trailing '/'
- /country/{xx} does not accept a trailing '/'
- /country/{xx}{?limit} does accept a trailing '/'
- /species/code does not accept a trailing '/'
14
15
- Heroku stops the application after a certain time, so uptime is often '0' - '3' when you are the first request in a while

Aksel Baardsen's avatar
Aksel Baardsen committed
16
Assumptions/Interpretation of task (where specifications were scarce):
17
- Species 'year' is only asking for the 'year' key, not 'bracketYear' too
Aksel Baardsen's avatar
Aksel Baardsen committed
18
- The specified json values should be string if surrounded by "", and numbers if only '<>' surrounds it (only /diag/'s uptime and /country/'s []speciesKey are numbers; float in my case)