Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 3f43400

Browse files
Merge pull request #30 from datacrop/system
Getting ready for release v0.3.0
2 parents fa1f5d8 + 37567c4 commit 3f43400

File tree

282 files changed

+40784
-213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+40784
-213
lines changed

CHANGELOG.md

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,71 @@
11
# Changes Log
22
All notable changes to this project (DataCROP Model Repository) will be documented in this file.
33

4+
---
5+
### [Release v0.3.0] - 2022-11-08
6+
7+
#### :chart_with_upwards_trend: Business Goal
8+
* Implementation of endpoints pertaining to Iot Systems (Asset Management). Version for MongoDB. ~ [Milestone](https://github.com/datacrop/maize-model-repository/milestone/1)
9+
10+
#### :rocket: Added
11+
12+
* `model-repository-server`
13+
- [#10](https://github.com/datacrop/maize-model-repository/issues/10), [#11](https://github.com/datacrop/maize-model-repository/issues/11), [#13](https://github.com/datacrop/maize-model-repository/issues/13), [#14](https://github.com/datacrop/maize-model-repository/issues/14), [#15](https://github.com/datacrop/maize-model-repository/issues/15), [#16](https://github.com/datacrop/maize-model-repository/issues/16), [#24](https://github.com/datacrop/maize-model-repository/issues/24)
14+
Implementation of classes pertaining to IoT Systems and Locations on modules "commons", "mongodb", "persistence", "services" and "api". ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
15+
16+
- [#17](https://github.com/datacrop/maize-model-repository/issues/17), [#18](https://github.com/datacrop/maize-model-repository/issues/18)
17+
Implemented automated tests pertaining to IoT Systems and Locations on modules "mongodb" and "api". ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
18+
19+
- [#27](https://github.com/datacrop/maize-model-repository/issues/27)
20+
Added Dockerfile and .dockerignorefile to define containerization. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
21+
22+
* `deployment-scripts`
23+
- [#28](https://github.com/datacrop/maize-model-repository/issues/28)
24+
Created two docker-compose files: one to deploy only the databases for development and one to deploy locally a MongoDB - API pair. (The API is being pulled from DockerHub.) ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
25+
26+
* `documentation`
27+
- [#19](https://github.com/datacrop/maize-model-repository/issues/19)
28+
Created Postman collection and environment. Exported and placed in documentation file. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
29+
30+
- [#20](https://github.com/datacrop/maize-model-repository/issues/20)
31+
Created API documentation pertaining to IoT Systems and Locations in .docx and .pdf format. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
32+
33+
- [#21](https://github.com/datacrop/maize-model-repository/issues/21)
34+
Configured automatic creation of Swagger UI. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
35+
36+
- [#23](https://github.com/datacrop/maize-model-repository/issues/23)
37+
Generated documentation using the Javadoc tool. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
38+
39+
* `samples`
40+
- [#29](https://github.com/datacrop/maize-model-repository/issues/29)
41+
Created first request and response sample Systems in .json format. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
42+
43+
#### :pencil2: Updated
44+
45+
* `quick-dev-tools`
46+
- [#28](https://github.com/datacrop/maize-model-repository/issues/28)
47+
Renamed to "deployment-scripts". ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
48+
49+
#### :wrench: Fixed
450
---
551
### [Release v0.2.0] - 2022-10-30
652

753
#### :chart_with_upwards_trend: Business Goal
8-
* Instantiation of the Spring Boot Project with multiple properties files for different databases. ~ [Milestone 2](https://github.com/datacrop/maize-model-repository/milestone/2)
54+
* Instantiation of the Spring Boot Project with multiple properties files for different databases. ~ [Milestone](https://github.com/datacrop/maize-model-repository/milestone/2)
955

1056
#### :rocket: Added
1157

1258
* `model-repository-server`
1359
- [#8](https://github.com/datacrop/maize-model-repository/issues/8)
1460
Instantiated the Spring Boot Project as a Maven Project with six modules: API, services, persistence, mysql, mongo, commons. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
1561
- [#9](https://github.com/datacrop/maize-model-repository/issues/9)
16-
Created the following application.properties files: one generic, one for Mongo configurations, one for H2 JPA database and one for MySQL JPA database.
62+
Created the following application.properties files: one generic, one for Mongo configurations, one for H2 JPA database and one for MySQL JPA database.
1763
* `quick-dev-tools\docker-compose.yml`
1864
- [#9](https://github.com/datacrop/maize-model-repository/issues/9)
1965
Created docker-compose.yml file for local installation of a MongoDB and a MySQL container for development purposes. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
2066

2167

22-
#### :pencil2: Changed
68+
#### :pencil2: Updated
2369

2470
#### :wrench: Fixed
2571
---
@@ -53,7 +99,7 @@ Created the following application.properties files: one generic, one for Mongo c
5399
Created a documentation file describing the component's purpose, contents and status. ([@AngelaMariaDespotopoulou](https://github.com/AngelaMariaDespotopoulou))
54100

55101

56-
#### :pencil2: Changed
102+
#### :pencil2: Updated
57103

58104
#### :wrench: Fixed
59105

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DataCROP Model Repository ~ Maize :corn: (V3.0)
22
Implementation of databases based on the DataCROP Maize :corn: (V3.0) digital models.
33
<p align="center">
4-
<a href="https://github.com/datacrop/maize-model-repository/releases"><img src="https://img.shields.io/badge/latest%20release-v0.2.0-blueviolet" alt="Release"></a>
4+
<a href="https://github.com/datacrop/maize-model-repository/releases"><img src="https://img.shields.io/badge/latest%20release-v0.3.0-blueviolet" alt="Release"></a>
55
<a href="https://github.com/datacrop/maize-model-repository/blob/main/LICENSE"><img src="https://img.shields.io/github/license/datacrop/maize-model-repository" alt="License"></a>
66
</p>
77

deployment-scripts/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# DataCROP Model Repository ~ Maize :corn: (V3.0)
2+
Implementation of databases based on the DataCROP Maize :corn: (V3.0) digital models.
3+
<p align="center">
4+
<a href="https://github.com/datacrop/maize-model-repository/releases"><img src="https://img.shields.io/badge/latest%20release-v0.3.0-blueviolet" alt="Release"></a>
5+
<a href="https://github.com/datacrop/maize-model-repository/blob/main/LICENSE"><img src="https://img.shields.io/github/license/datacrop/maize-model-repository" alt="License"></a>
6+
</p>
7+
8+
<p align="center">
9+
<img src="../pictures/release.jpg" width="600px" />
10+
</p>
11+
12+
## Directory contents
13+
The present directory contains scripts for easy deployment of components for both development and production environments. Here follows a summary of the current directory's contents:
14+
* **[docker-compose-api-and-mongo.yml](docker-compose-api-and-mongo.yml)**: this file contains configurations that deploy the Model Repository to be used along with a MongoDB instance.
15+
* **[docker-compose-databases-only.yml](docker-compose-databases-only.yml)**: this file contains configurations to locally deploy a MongoDB and a MySQL instance for development purposes.
16+
17+
## Deployment using Docker-Compose (example)
18+
1. Command to **deploy** the stack on localhost:
19+
> docker-compose -f docker-compose-api-and-mongo.yml -p modelrepo up -d
20+
21+
2. To test deployment, the Swagger interface must appear here:
22+
> <a href="" onclick="return false">http://localhost:8087/swagger-ui/index.html#/</a>
23+
24+
3. Command to **undeploy** the stack:
25+
> docker-compose -f docker-compose-api-and-mongo.yml -p modelrepo down
26+
27+
4. Command to clear the unused images/volumes for **housekeeping** (be <u>sure you really want to</u> before doing this):
28+
29+
> docker system prune -a

deployment-scripts/docker-compose-mongo.yml renamed to deployment-scripts/docker-compose-api-and-mongo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
restart: on-failure
2020

2121
maize-model-repository:
22-
image: 'datacrop/maize-model-repository:0.2.0'
22+
image: 'datacrop/maize-model-repository:0.3.0'
2323
container_name: model-repository
2424
depends_on:
2525
- mongo-storage

deployment-scripts/javadoc.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

documentation/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# DataCROP Model Repository ~ Maize :corn: (V3.0)
2+
Implementation of databases based on the DataCROP Maize :corn: (V3.0) digital models.
3+
<p align="center">
4+
<a href="https://github.com/datacrop/maize-model-repository/releases"><img src="https://img.shields.io/badge/latest%20release-v0.3.0-blueviolet" alt="Release"></a>
5+
<a href="https://github.com/datacrop/maize-model-repository/blob/main/LICENSE"><img src="https://img.shields.io/github/license/datacrop/maize-model-repository" alt="License"></a>
6+
</p>
7+
8+
<p align="center">
9+
<img src="../pictures/documentation.png" width="500px" />
10+
</p>
11+
12+
## Documentation
13+
The present directory contains the documentation of the API exposed by the Model Repository's backend component. Here follows a summary of the directory's contents:
14+
* **[document](document)**: Documentation of the API endpoints in .docx and .pdf formats.
15+
* **[javadocs](javadocs)**: Automatically generated [Java code documentation](https://en.wikipedia.org/wiki/Javadoc) in website format.
16+
* **[postman](postman)**: Exports of [Postman](https://www.postman.com/) collection (requests and examples) and environment.
17+
* **[swagger](swagger)**: Export of api-docs.json document for [Swagger](https://swagger.io/) and screenshot of the deployed result.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)