
    

    <?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://ocw.cs.pub.ro/courses/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://ocw.cs.pub.ro/courses/feed.php">
        <title>CS Open CourseWare ii:labs:s2:05:tasks</title>
        <description></description>
        <link>http://ocw.cs.pub.ro/courses/</link>
        <image rdf:resource="http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico" />
       <dc:date>2026-05-02T02:45:38+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/00?rev=1714408117&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/01?rev=1747805913&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/02?rev=1714408262&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/03?rev=1714405395&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/04?rev=1714408331&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/05?rev=1714405420&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/06?rev=1714405433&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/07?rev=1714405445&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico">
        <title>CS Open CourseWare</title>
        <link>http://ocw.cs.pub.ro/courses/</link>
        <url>http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico</url>
    </image>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/00?rev=1714408117&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T19:28:37+03:00</dc:date>
        <title>00. [00p] Getting started</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/00?rev=1714408117&amp;do=diff</link>
        <description>00. [00p] Getting started

[this archive]APIAPI



In order to solve the tasks, you need to have Docker installed, or you need to use Play with Docker, as described in lab 4.</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/01?rev=1747805913&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-21T08:38:33+03:00</dc:date>
        <title>01. [30p] Running a multi-container application</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/01?rev=1747805913&amp;do=diff</link>
        <description>01. [30p] Running a multi-container application

Subtasks

	*  based on the sources and the Dockerfile in the backend folder from the lab archive, build an image with the name lab5-api-image
	*  create a bridge network called lab5-db-network
	*  create another bridge network called lab5-adminer-network
	*  create a volume named lab5-db-volume
	*  from the parent folder of backend, launch a container in the background for a database with the following features:
		*  a bind mount will be attached …</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/02?rev=1714408262&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T19:31:02+03:00</dc:date>
        <title>02. [10p] Testing a web application using Postman</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/02?rev=1714408262&amp;do=diff</link>
        <description>02. [10p] Testing a web application using Postman

The application started earlier is a web application that does not have a graphical interface (i.e., a frontend). For this reason, it can only be tested by sending HTTP requests using a tool such as Postman. We will now show how to use Postman to connect to a web application backend.</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/03?rev=1714405395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:43:15+03:00</dc:date>
        <title>03. [10p] Testing for data persistence</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/03?rev=1714405395&amp;do=diff</link>
        <description>03. [10p] Testing for data persistence

Subtasks

	*  stop and delete the three containers started at exercise 1
	*  start them again using the same commands given at exercise 1
	*  send a POST request using Postman and verify that the book you added at exercise 2 is still in the library</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/04?rev=1714408331&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T19:32:11+03:00</dc:date>
        <title>04. [10p] Administrating a database</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/04?rev=1714408331&amp;do=diff</link>
        <description>04. [10p] Administrating a database

Subtasks

	*  go to the Adminer interface on &lt;http://localhost:8080&gt; (or see lab 4 if you are working on Play with Docker)
	*  log into the database using the following details:
		*  System: PostgreSQL
		*  Server: lab5-db
		*  Username: admin
		*  Password: admin
		*  Database: books</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/05?rev=1714405420&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:43:40+03:00</dc:date>
        <title>05. [10p] Cleaning up</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/05?rev=1714405420&amp;do=diff</link>
        <description>05. [10p] Cleaning up

Subtasks

	*  stop and remove the three containers created previously
	*  remove the two networks created previously
	*  remove the volume created previously</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/06?rev=1714405433&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:43:53+03:00</dc:date>
        <title>06. [20p] Working with Docker Compose</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/06?rev=1714405433&amp;do=diff</link>
        <description>06. [20p] Working with Docker Compose

Subtasks

	*  write the entire configuration from exercise 1 in a Docker Compose file called docker-compose.yml
	*  deploy the configuration from the docker-compose.yml file using docker-compose -f docker-compose.yml up
	*  use Postman and Adminer to verify that everything works just as before
	*  stop all the containers using docker-compose -f docker-compose.yml down
	*  remove the remaining volume</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/07?rev=1714405445&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:44:05+03:00</dc:date>
        <title>07. [10p] Splitting the Docker Compose file</title>
        <link>http://ocw.cs.pub.ro/courses/ii/labs/s2/05/tasks/07?rev=1714405445&amp;do=diff</link>
        <description>07. [10p] Splitting the Docker Compose file

Subtasks

	*  split the docker-compose.yml file from exercise 6 into two separate YAML files:
		*  one of them will contain the API and database services
		*  the other one will contain the Adminer service</description>
    </item>
</rdf:RDF>
