<samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
<ul id="e4iaa"></ul>
<blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>

      代寫ACP Assignment 1 Specificaons

      時(shí)間:2024-02-16  來源:  作者: 我要糾錯(cuò)


      ACP Assignment 1 Specificaons (Programming Task)

      19.01.2024

      The first assignment has been designed as an preliminary to tackling larger and more complex situaons in the second assignment.

      Your main tasks can be summarized as follows:

      1. Create a Java-REST-Service

      - Preferred with Spring Boot, though other frameworks can be used as well - Port 8080 is consumed

      - Implement one endpoint each for POST and GET

      - Proper parameter handling

      - Proper return code handling

      - JSON handling

      2. Place the service in a docker image

      - amd64 as target architecture – not arm64 (this is relevant for the Mac users!)

      3. save the docker image in a file called acp_submission_image.tar (it is in TAR format anyhow)

      4. place the file acp_submission_image.tar into your root directory of your soluon

      Your directory would look something like this:

      acp_submission_1

      acp_submission_image.tar

      src (the Java sources...) main

      ... ...

      5. Create a ZIP file of your soluon directory - Image

      - Sources

      - IntelliJ (or whatever IDE you are using) project files

      6. upload the ZIP as your submission in Learn

      ACP Assignment 1 Specificaons (Programming Task)

       

      The REST-Service has to provide the following endpoints:

      1. uuid (GET)

      Return your student id in a HTML page embedded in a <h1></h1> tag.

      2. writevalue?value=theValueToWrite (POST with theValueToWrite being the actual value to write)

      Write a value to the system. Any previous value will be overwrien

      3. readvalue (GET)

      Read the current value from the system and return as text/plain. If not set an empty string is to be returned

      4. callservice (POST with a body consisng of a JSON object)

      The body of the request contains a JSON-object in the following format:

          {

            “externalBaseUrl”: “the URL of the remote server”,

            “parameters”: “the parameters to combine with the URL”

      }

      The endpoint is to construct a URL from the “passed in” data (externalBaseUrl + parameters), call the endpoint with a GET, and return the data in the response as the same type as the original response was (so application/json remains application/json, etc.).

      Should this not be possible, you can degrade to text/plain and pass back what you can.

      Just be careful with construcng a valid URL as the passed in data might be incorrect (consider /, illegal constructs, etc.).

      This is a typical example where a webservice calls other services to for example consolidate data and returns the aggregaon / analysis to the caller.

      For tesng purposes you can use the URL https://ilp-rest.azurewebsites.net/orders/2023-10-10 which will produce an application/json response

       ACP Assignment 1 Specificaons (Programming Task)

       

      The following should be considered when implemenng the REST-service:

      • Do proper checking for URLs, data, etc. Don’t handle anything not accurate (you will receive error data and requests!)

      • Your endpoint names have to match the specificaon

      • Storing data in a REST service either has to be done on a per session, or (as not

      differently specified) could be done on a global basis. Up to you.

      • Test your endpoints using a tool like Postman or curl. Plain Chrome / Firefox, etc. will

      do equally for the GET operaons

      • The filename for the docker image file has to be exactly as defined as well as the

      locaon of it in the ZIP-file. Should you be in doubt, use copy & paste to get the name right

      Should you need help:

      • See the literature links in Week 2 and 3. You should find most informaon there •

      Marking:

      This programming task has a maximum mark of 35 / 100 points in relaon to the enre ACP course.

      The marks will be allocated purely on auto-tests based on the following criteria:

      • Proper runnable docker image

      • Proper behavior (funconality)

      • Proper error handling

      • Proper status codes

      Should you fail to provide a runnable docker image according to the specificaon or provide no source code in the submission, no marking will be possible, and you will receive 0 points.

      If you cannot find an answer to your question, please post it on Piazza, though try

      finding it yourself first, please (as we have only limited capacity)

      Disclaimer: We will not able to answer last minute questions right before the deadline, so

      please make sure you start the assignment in good time

       ACP Assignment 1 Specificaons (Programming Task)
      請(qǐng)加QQ:99515681  郵箱:99515681@q.com   WX:codehelp 

      標(biāo)簽:

      掃一掃在手機(jī)打開當(dāng)前頁
    • 上一篇:代寫ECE438 Communication Networks
    • 下一篇:代寫 CSCI1440/2440 Homework 3
    • 無相關(guān)信息
      昆明生活資訊

      昆明圖文信息
      蝴蝶泉(4A)-大理旅游
      蝴蝶泉(4A)-大理旅游
      油炸竹蟲
      油炸竹蟲
      酸筍煮魚(雞)
      酸筍煮魚(雞)
      竹筒飯
      竹筒飯
      香茅草烤魚
      香茅草烤魚
      檸檬烤魚
      檸檬烤魚
      昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
      昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
      昆明旅游索道攻略
      昆明旅游索道攻略
    • 福建中專招生網(wǎng) NBA直播 短信驗(yàn)證碼平臺(tái) 幣安官網(wǎng)下載 WPS下載

      關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

      Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
      ICP備06013414號(hào)-3 公安備 42010502001045

      主站蜘蛛池模板: 国产在线无码视频一区| 亚洲av日韩av永久无码电影| 无码AV片在线观看免费| 亚洲乱人伦中文字幕无码| 亚洲私人无码综合久久网| 成人免费无码大片A毛片抽搐| 亚洲av无码专区国产不乱码| 人妻少妇看A偷人无码精品| 激情无码人妻又粗又大| av无码精品一区二区三区四区| 日韩精品无码免费专区网站| 无码人妻一区二区三区在线水卜樱 | 无码人妻啪啪一区二区| 人妻丰满av无码中文字幕| 亚洲AV无码一区二区三区网址| 亚洲熟妇无码乱子AV电影| 中文无码AV一区二区三区| 国产成人无码午夜视频在线观看| 亚洲熟妇无码八AV在线播放| 蕾丝av无码专区在线观看| 免费无码不卡视频在线观看| 亚洲AV永久无码精品一百度影院 | 亚洲中文字幕无码中文| 亚洲AV日韩AV永久无码绿巨人 | 久久亚洲中文字幕无码| 91精品无码久久久久久五月天 | 精品无码国产自产拍在线观看蜜 | 伊人天堂av无码av日韩av| 丝袜无码一区二区三区| 亚洲国产精品无码成人片久久| 精品人妻系列无码人妻免费视频| 国精品无码A区一区二区| 东京热加勒比无码少妇| 久久人妻av无码中文专区| 亚洲精品自偷自拍无码| 久久伊人亚洲AV无码网站| 人妻无码中文久久久久专区| 亚洲日韩AV无码一区二区三区人| 色欲AV无码一区二区三区| 久久久久无码精品国产| 东京热HEYZO无码专区|