GithubHelp home page GithubHelp logo

cmpe273-fall16's People

Contributors

sithu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmpe273-fall16's Issues

LAB1 : Addition of Port in the URL in step 10

Dear Professor, @sithu

We will need to add the port '5000' to the IP of docker image for results.
Ex:
http://192.168.99.100:5000/

Also, For mac users - Before running any docker commands in CLI, we might want to run the below command :
eval "$(docker-machine env default)"

Getting ssl handshake error

shafidayatar ~/.../cmpe_273/assigntment1:python assignment1_check.py -sid xxxxxxxxx -an assignment1 -u http://172.17.0.8:5000 -fn mohamed\ shafi -ln dayatar -e [email protected]
Test successful
Ending the test script. Grade: 10/10
Traceback (most recent call last):
File "assignment1_check.py", line 206, in
submit_to_lambda()
File "assignment1_check.py", line 93, in submit_to_lambda
r = requests.post('https://ytxt3nsddb.execute-api.us-west-2.amazonaws.com/working', json.dumps(data_to_send))
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 88, in post
return request('post', url, data=data, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Assignment 1: Expense ID - Integer or String

@sithu
Dear Professor,
The 'Expense ID' as mentioned in POST response is String.
Do we have to return it as String - (We may have to change the datatype if DB uses Integer)?
Similarly for 'Expense Amount'.

@nagkumar91
if we return ID as String, In the test script line 115 - It tries to add Integer and string (from response) and causes failure.

Can you please advice the response datatype for such cases?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.