You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software-catalog/items-manifest/example.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ import SchemaViewer from "../snippets/schema_viewer.mdx";
9
9
10
10
Examples works no differently than [templates](/software-catalog/items-manifest/template.md), in the sense that they too provide an **archive** with base configurations. Unlike templates, examples should come with some features already implemented and tailored to help the user better familiarize with the development environment.
11
11
12
+
:::tip
13
+
Any additional information presented in the [template section](/software-catalog/items-manifest/template.md) will work for example items.
14
+
:::
15
+
12
16
To [create or edit](/software-catalog/items-management/overview.md) an example, you need to provide a [manifest](/software-catalog/items-manifest/overview.md), whose `resources` property should adhere to the following JSON schema.
Copy file name to clipboardExpand all lines: docs/software-catalog/items-manifest/extension.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ sidebar_label: Extension
7
7
import { catalogWellKnownItems } from "@mia-platform/console-types";
8
8
import SchemaViewer from "../snippets/schema_viewer.mdx";
9
9
10
-
Extensions are **custom pages** that enhances Console capabilities by integrating it into the sidebar navigation. Since extensions have their own [dedicated section](/console/company-configuration/extensions.md), they are left out by the [Software Catalog UI][ui]. Extensions can still be managed with [miactl][miactl], and API calls.
10
+
Extensions are **custom pages** that enhances Console capabilities by integrating it into the sidebar navigation.
11
11
12
12
To [create or edit](/software-catalog/items-management/overview.md) an extension, you need to provide a [manifest](/software-catalog/items-manifest/overview.md), whose `resources` property should adhere to the following JSON schema.
## Monitor a Custom Kubernetes Resource in the Runtime area
24
+
25
+
If you've upgraded to Console release `v13.3.0`, you can now view the status of your Current Kubernetes Resources directly in the Runtime section. To enable this feature, [publish a new version](/software-catalog/items-management/ui.md#create-a-new-version) of your infrastructure resource that include the fields `runtime`.
26
+
27
+
## Generate dynamic form to customize validation
28
+
29
+
If you have upgraded the Console to version `v13.6.1`, you can now generate a dynamic form. This documentation serves as a guide for users to understand and effectively utilize the dynamic form fields generated from a JSON schema. By following the examples and descriptions provided, users can create forms that are both functional and user-friendly, ensuring a smooth data entry experience.
30
+
31
+
:::info
32
+
In the next versions of the Console we want to add dynamic form generation also in the details section.
33
+
:::
34
+
35
+
The Frontend of the Console generate the Form using the roles below:
Items can be organized in categories with the field `catagoryId`. The available categories are pre-defined, and can be found [here](https://raw.githubusercontent.com/mia-platform-marketplace/public-catalog/refs/heads/main/assets/categories.json).
24
+
21
25
## Permissions
22
26
23
27
To create or edit items, users must have the [role](/development_suite/identity-and-access-management/console-levels-and-permission-management.md#identity-capabilities-inside-console) of **Company Owner** or **Project Administrator** in the Company the item belongs to.
The values of the `defaultLabels`, `defaultAnnotations`, and `defaultEnvironmentVariables` fields can contain **placeholders** that will be replaced with the actual values when a Console user creates the service.
24
+
25
+
Here is an exhaustive list of the placeholders that can be used:
26
+
27
+
-`%MICROSERVICE_NAME%`: the name of the created microservice.
28
+
-`%PROJECT_ID%`: the human-readable ID of the project. It is a dash-separated string generated by the Console when a project is created, based on the project name.
29
+
-`%COMPANY_ID%`: the ID of the company that owns the project.
30
+
-`%TENANT_ID%`: alias for `%COMPANY_ID%`.
31
+
32
+
:::info
33
+
Any unrecognized placeholder will be left as is in the final value.
34
+
:::
35
+
36
+
As example, consider a plugin with the following `defaultEnvironmentVariables`:
37
+
38
+
```json
39
+
[
40
+
{
41
+
"name": "SOME_ENV_VAR",
42
+
"value": "ms name: %MICROSERVICE_NAME%; project id: %PROJECT_ID%; company id: %COMPANY_ID%"
43
+
}
44
+
]
45
+
```
46
+
47
+
Given a Project with the id `my-project`, and a Company with the ID `my-company`, if user creates a microservice named `my-ms` from such plugin, the result will be:
48
+
49
+
```json
50
+
{
51
+
"name": "SOME_ENV_VAR",
52
+
"value": "ms name: my-ms; project id: my-project; company id: my-company"
0 commit comments