Python Programing Task



Data and System Integration


Assessment and Submission Details




Task 2 consists of a demo code package and a technical report for the integration plan. Submit your work as a .zip file, which contains the code files (another .zip file) and your report (a .docx file), to Blackboard Task 2. Please follow the submission instructions described in this document.

The assignment will be marked out of a total of 100 marks and forms 30% of the total assessment for the course. ALL assignments will be checked for plagiarism by Safe Assign system provided by Blackboard automatically.

Refer to your Course Outline or the Course Web Site for a copy of the “Student Misconduct, Plagiarism and Collusion” guidelines.

Assignment submission extensions will only be made using the official Faculty of Arts, Business and Law Guidelines.

Requests for an extension to an assignment MUST be made to the course coordinator prior to the date of submission and requests made on the day of submission or after the submission date will only be considered in exceptional circumstances.


Case Study: Industrial Internet for GE

After evaluating various platforms, GE finally decided to adopt a Service Oriented Architecture (SOA) for its future IT infrastructure. GE was impressed with your Template based, Reference Architecture approach set out in your Task 1 ‘Industrial Internet’ Report and has accepted your recommendations regarding:

·         Computing and storage infrastructure design,

·         Application / service integration, and

·         Information integration.

However GE Executives would like to gain a deeper understanding of the Technologies behind your recommendation and have asked for a small specific demonstration of these technologies along with a brief explanation of the concepts and principles of how it works.

Because GE have medical clinic related applications in many clinics around Australia, GE Executives would like a demonstration of keeping track of demographic information for each medical clinic location. The demo enables GE employees to browser search the locations of medical clinics in Google Maps using a postcode and retrieve an example of current demographic information along with the map. There are three major components in the demo system:


1.   Data integration demo. In this demo, there are two data source files: “clinics.csv” contains the information about fictional clinics, and “locations.xml” contains the information about the location coordinates for each clinic. A Python scrip file with the name “data_merger.py” should be implemented to read these two data files. Using the Python petl framework you are required to:


a.  clean the data in the “clinics.csv”. This involves using python and Regex to standardize email addresses so they are usable as a html link, and

b.  output the merged and cleaned data into a CSV file with the name

clinic_locations.csv”.

2.   Restful Web service server demo. In this demo, you are required to build a Restful Web service which supports a ‘get location’ query from the client browser similar to

“/get location? postcode=xxxx”. The server Web Service will return a JSON object with five attributes (clinicname, latitude, longitude, email and state). The data for this JSON object will be retrieved from the “clinic_locations.csv” file created in component 1. The framework Bottle is required for this implementation. A Python scrip file with the name “clinic_locator.py” will contain this RESTful Web Service Demo.


3.   Mashup demo. In this demo, you are required to build a mashup application which accepts a postcode as the input. If a medical clinic in that suburb can be found, then its location is displayed in Google Map. Otherwise, the default clinic (with postcode 2000) is displayed. A HTML file “clinic_map.html” should be implemented. In this file, a text field is provided at the page top to accept user’s input of postcode. In addition, a Submit button will trigger the “getlocation” Web Service to retrieve its corresponding latitude and longitude, and highlight and centre the location in Google map.



In addition to highlighting the positon on the map, a user is able to click on the marker bubble and see an information window containing:


a.   Suburb specific demographic information or a link to that information, and


b.   A link to the email address for that clinic. After clicking on the email link, the user’s email application must pop up and automatically insert the subject line

“Clinic Enquiry”.

Important Note: For ease of demonstration to GE executives, your code must be self-contained. In addition to using Standards based HTML and Python, petl, Bottle and parser are the only additional frameworks you should need. If you use others they must be provided and not require installation.

In addition to the above Demo code (70%) you are required to include a Report (30%) explaining the key concepts around the demo design and implementation. Moreover, you need to explain how to run your demo/code.

Please use the following outline in your report:


1.        Introduction


2.        Data merging and cleaning



3.        Restful Web services


4.        Mashups


5.        Demo running instructions


6.        Conclusion

      




To get solution visit our website www.sourcessay.com

Comments

Popular posts from this blog

Assignment Help: Add Valuable Factors In Your Learning Skills

Language Techniques Every Student Must Know

The Helpful Essay Writing Guide: Structure, Outline, Tips And Format