Skip to content

Commit 5c1ff7e

Browse files
Merge pull request #1495 from mia-platform/main
release v13.0.3 to preview
2 parents 025c264 + d09557e commit 5c1ff7e

38 files changed

+1102
-233
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nginx:1.26.0-alpine
1+
FROM nginx:1.27.0-alpine
22

33
LABEL maintainer="Mia Platform Core Team<[email protected]>" \
44
name="Documentation" \

docs/console/project-configuration/manage-environment-variables/manage-environment-variables-with-gitlab.md

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ It is possible to find it in the table of the Envs area.
2626

2727
![envs-table](../img/environments_table.png)
2828

29+
:::info
30+
You can also define a global variable to be used as a default and define a specific variable for only one environment.
31+
In this case only the specified environment will use its value, and the others will use the default value.
32+
33+
When there are both a global variable and a specific one for an environment, the longest matching variable will be selected.
34+
35+
E.g.
36+
You have three environments: `TEST`, `PREPROD` and `PROD`.
37+
You define these two variables: `MY_VAR = foo` and `PROD_MY_VAR = bar`
38+
This is what the environments will receive:
39+
- TEST: `foo`
40+
- PREPROD: `foo`
41+
- PROD: `bar`
42+
:::
2943

3044
:::warning
3145
Remember! It is fundamental to define a prefix if you want to associate a variable to a particular environment, otherwise the variable will be considered global.

docs/console/tutorials/configure-marketplace-components/api-portal.mdx

+11-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: API portal documentation
66

77
import VideoBox from "./../../../src/components/VideoBox";
88

9-
In this tutorial, we will learn how to configure and use the [_API Portal_](/runtime_suite/api-portal/10_overview.md) and the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) in order to provide the developers with a user-friendly interface that enables them to easily visualize and test endpoints of different microservices in a single place. It is built on top of the [OpenAPI 2.0](https://swagger.io/specification/v2/)/[OpenAPI 3.0](https://swagger.io/specification/) Specification.
9+
In this tutorial, we will learn how to configure and use the [_API Portal_](/runtime_suite/api-portal/10_overview.md) and the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) in order to provide the developers with a user-friendly interface that enables them to easily visualize and test endpoints of different microservices in a single place. It is built on top of the [OpenAPI 2.0](https://swagger.io/specification/v2/)/[OpenAPI 3.0](https://swagger.io/specification/v3/)/[OpenAPI 3.1](https://swagger.io/specification/) Specification.
1010

1111
## What we will build
1212

@@ -57,10 +57,16 @@ This application include the following components:
5757
- you can choose to create a new _API Gateway_ service or choose an already installed service.
5858

5959
and the following endpoints:
60-
- _/documentations/api-portal_ to the [_API Portal_](/runtime_suite/api-portal/10_overview.md) service
61-
- _/documentations/api-portal/api_ to the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) service
62-
- _/documentations/openapi_ to the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) service
63-
- _/documentations/swagger_ to the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) service
60+
- _/documentations/api-portal_ to the [_API Portal_](/runtime_suite/api-portal/10_overview.md) service
61+
- _/api/openapi_ to the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) service which reroutes to `/openapi/v3-1`
62+
- _/api/openapi/raw_ to the [_Swagger Aggregator_](/runtime_suite/swagger-aggregator/10_overview.md) service
63+
64+
:::note
65+
The _/api/openapi_ endpoint reroute depends on which Open API Specification you want to see:
66+
- `/openapi/v3-1` shows a [Open API v3.1](https://swagger.io/specification/)
67+
- `/openapi/v3` shows a [Open API v3](https://swagger.io/specification/v3/)
68+
- `/openapi/v2` shows a [Open API v2 (swagger)](https://swagger.io/specification/v2/)
69+
:::
6470

6571
:::caution
6672
In the Mia-Platform Marketplace are available two different applications to install the _API Portal_ and _Swagger Aggregator_.
Loading
Loading
Binary file not shown.

docs/development_suite/deploy/overview.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,28 @@ It is not recommended to activate the checkbox in a production runtime environme
166166
This feature is only available to Projects that use [**Enhanced Project Workflow**](/development_suite/set-up-infrastructure/enhanced-project-workflow.md).
167167
:::
168168

169-
When using the **Enhanced Project Workflow**, Kubernetes files are generated on deployment. After selecting the desired revision (or version), you can review generated Kubernetes files from the Console or even export these in `tar.gz` format to review them later.
169+
When using the **Enhanced Project Workflow**, Kubernetes files are generated on deployment. After selecting the desired revision (or version), you can:
170170

171-
![ExportAndReview](./img/export-and-review-files.png)
171+
- compare the generated Kubernetes files with the previous version
172+
- review generated Kubernetes files from the Console or download them as a `.tar.gz` archive.
173+
174+
Such functionalities are available through the respective buttons in the `Configuration Files `card.
175+
176+
![Compare and Review](./img/compare_and_review.png)
177+
178+
#### Compare Changes
179+
180+
By clicking on the `Compare changes` button, a diff-editor will show the differences between the configurations of the selected version and the previous one in a side-by-side view.
181+
182+
On the bottom, a button allows you to download the configurations files as a `.tar.gz` archive.
183+
184+
![Compare](./img/compare_changes.png)
185+
186+
#### Review Configurations
172187

173188
While reviewing the files, you can select the one you view to open from the menu on the left. You can see the file content full-screen by clicking the top-right button with four outgoing arrows.
174189

190+
On the bottom, a button allows you to download the configurations files as a `.tar.gz` archive.
175191
![Review](./img/review-configuration-files.png)
176192

177193
## History
596 KB
Loading
70 KB
Loading

docs/release-notes/v13.0.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ Fixed link URL generation with special characters
316316

317317
### New Marketplace Components
318318

319-
#### Mia-Assistant
319+
#### AI RAG Template
320320

321-
The template of `Mia-Assistant`, our brand new AI Chatbot, is now officially available OSS in **Experimental** phase!
321+
The `AI RAG` template, used by our brand new AI Chatbot Mia-Assistant, is now officially available OSS in **Beta** phase!
322322
You can find the repository available [here](https://github.com/mia-platform/ai-rag-template).
323323

324324
### Marketplace Updates

docs/release-notes/v13.0.3.md

+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
id: v13.0.3
3+
title: Version 13.0.3 Release Notes
4+
sidebar_label: v13.0.3
5+
image: "img/release-note-link-preview.png"
6+
---
7+
8+
_June 21st, 2024_
9+
10+
:::info
11+
Mia-Platform Console v13.0.3 is **now in Preview** and will be generally available on July 04th.
12+
13+
Console SaaS users can try out v13.0.3 latest improvements in Preview! Open a Service Request to ask for the creation of a sandbox Company in case you do not have access to any Company.
14+
15+
For self-hosted installations, please read the [following guidelines](#how-to-update-your-console).
16+
:::
17+
18+
## Console
19+
20+
### Compare changes at Deploy on Projects with the enhanced workflow
21+
22+
In all the Projects using the enhanced workflow, it is now possible to compare all changes made in the configuration to be deployed with respect to the previous deployed configuration. Users will then be able to view all configuration files and their respective changes and easily search among them.
23+
24+
![Compare Changes](img/compare_changes.png)
25+
26+
### Restore previous configuration saves on Projects with the enhanced workflow
27+
28+
On Projects with enhanced workflow you can now restore a previous configuration save from the revision history modal.
29+
All you have to do is to open the revision action popover, click on the `History` button and select the menu item "Restore these changes" on the configuration save you want to restore.
30+
31+
![Restore Changes](img/restore-changes.png)
32+
33+
### Vote the answers provided by Mia-Assistant
34+
35+
From now on, you can send positive or negative feedback to the answers generated by Mia-Assistant by simply clicking the thumbs up or down at the end of each answer.
36+
This feedback will then be gathered and analyzed to improve the overall performance of the chatbot.
37+
38+
### Configure Metrics gathering for all the containers of a Microservice
39+
40+
Once you have configured the Runtime Monitoring system for your Project, you can now define the scraping rules for each of your Microservice containers. You can perform such action in the `Monitoring` tab of each Microservice's details page.
41+
For more information, visit the related [documentation page](/development_suite/api-console/api-design/microservice-monitoring.md).
42+
43+
### Bug Fix
44+
45+
This version addressed the following bugs:
46+
47+
* fixed a bug that prevented the correct view of an iFrame extension when switching among two different iFrame extensions;
48+
* fixed a bug that caused a malfunction in the display of the Deploy area when rapidly switching among two different Projects.
49+
50+
## Microfrontend Composer
51+
52+
### Back-Kit Library
53+
54+
The new version `v1.5.4` of the back-kit library is available!
55+
56+
Refer to back-kit [changelog](/microfrontend-composer/back-kit/changelog.md) for finer-grained details of new versions.
57+
58+
#### Improvements
59+
60+
##### Exposed `customEvents` property of form modal and form drawer components
61+
62+
It is now possible to add a new prop to the components `bk-dynamic-form-modal` and `bk-dynamic-form-drawer` called `customEvents` which takes the name of the event that the component will listen to and the mode which can be 'insert' or 'selected'.
63+
64+
## Marketplace
65+
66+
### Marketplace Updates
67+
68+
#### API Portal
69+
70+
We are excited to announce the release of API Portal version `2.0.0`!
71+
72+
73+
This new version features an upgraded interface based on Swagger UI, providing enhanced support for all functionalities of the OpenAPI 3.1 specification. Please note that there are a few breaking changes in this release. We strongly recommend reviewing the [updated documentation](/runtime_suite/api-portal/20_configuration.md#how-to-migrate-to-v2) to understand these changes.
74+
75+
:::caution
76+
Anyone wishing to use API Portal version `2.0.0` to visualize CRUD Service documentation should update the latter to the latest patch of major 6 (`6.10.2` at the time of writing) or to the latest patch of major 7 (`7.0.3` at the time of writing), given the new, improved way of handling OpenAPI specification errors in the API Portal.
77+
:::
78+
79+
#### CRUD Service
80+
81+
The new version `7.0.3` of the CRUD Service is available!
82+
83+
##### Bug Fix
84+
85+
* Fixed projection example in json schema generator
86+
* `serializerCompiler` has been added to use explicitly fastifiy-fast-json, along with `AdditionalCaster`
87+
* `$eq` operator can now be used also for array fields
88+
* `/-/schemas` accept header defaults to `application/json`
89+
* `/schemas` and `/-/schemas` endpoints now return also `required` property
90+
91+
## How to update your Console
92+
93+
For self-hosted installations, please head to the [self hosted upgrade guide](/infrastructure/self-hosted/installation-chart/100_how-to-upgrade.md) or contact your Mia-Platform referent and upgrade to _Console Helm Chart_ `v13.4.0-beta.0`.

docs/release-notes/versions.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ slug: "/release-notes/versions"
77
---
88
| Release | Release notes |
99
|---------|--------------------------------------------|
10+
| v13.0.3 | [Read the release notes](/release-notes/v13.0.3.md) |
1011
| v13.0.2 | [Read the release notes](/release-notes/v13.0.2.md) |
1112
| v13.0.1 | [Read the release notes](/release-notes/v13.0.1.md) |
1213
| v13.0.0 | [Read the release notes](/release-notes/v13.0.0.md) |

docs/runtime_suite/api-portal/10_overview.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ DO NOT MODIFY IT BY HAND.
1010
Instead, modify the source file and run the aggregator to regenerate this file.
1111
-->
1212

13-
The API Portal service will present you a graphical interface for your [Open Api specification document](https://swagger.io/resources/open-api/). This service is responsible for contacting an endpoint where your swagger Open Api document should be provided.
13+
![api-portal](./img/api-portal.png)
1414

15-
This interface will semantically describe the APIs in a readable structure text format and will also allow you to interact and test each of them by clicking on the "Try it" button.
15+
The **API Portal** microservice will present you a graphical interface for your [Open Api specification document](https://swagger.io/resources/open-api/). This service is responsible for contacting an endpoint where your swagger Open Api document should be provided.
16+
17+
This interface will semantically describe the APIs in a readable structure text format and will also allow you to interact and test each of them by clicking on the "Try it out" button.
1618

1719
:::note
1820
The available Open Api document is automatically generated and kept in sync by [Swagger Aggregator](../swagger-aggregator/overview).
@@ -24,3 +26,9 @@ The Open Api documentation lets you know exactly how your APIs will work and beh
2426
:::note
2527
API Portal generates the [Documentation Portal](../../console/project-configuration/documentation-portal) section of the Console where all services and CRUDs routes are shown and can be tested.
2628
:::
29+
30+
## Features
31+
32+
Other than showing your [Open Api specification document](https://swagger.io/resources/open-api/), the **API Portal** allows to filter it. It can be filtered by tags, methods and endpoint name.
33+
34+
It's also possible to change the category which is a map of the [subswaggers](../../development_suite/api-console/advanced-section/swagger-aggregator/configuration#subswaggers) related to the [Swagger Aggregator](../swagger-aggregator/overview) microservice.

0 commit comments

Comments
 (0)