Replies: 3 comments 8 replies
-
|
Let's take the first step to make a clear and easy-to-follow plan that everyone can stick to by using JSON schema definitions for each intent. This means we'll lay out all the important fields, their types of data, and possible values using a JSON schema. By keeping this schema in a special Git repository, we make sure everyone in the community can understand it easily and also make it simple to keep it updated. Plus, this method helps users by offering auto-complete options and information about each field right in their favorite IDEs, making it user-friendly and easy to access. We'll talk about where to place our Git repository and how we'll keep it updated, along with how we'll manage different versions of it, in a future discussion. |
Beta Was this translation helpful? Give feedback.
-
Suggestion for Resource JSON Structure
|
| Field | Type | Description |
|---|---|---|
maintainer |
String | The person/team maintaining the resource. |
documentation_link |
String | Link to the resource documentation. |
tags |
Array | Keywords related to the resource. |
name |
String | The name of the resource. |
description |
String | A brief description of the resource. |
flavor Object
| Field | Type | Description |
|---|---|---|
version |
String | The version of the default implementation. |
name |
String | The name of the default implementation. |
advanced Object
[FlavorName]: Specifications and configurations related to a particular flavor.- Type: Object
- Description: Contains attributes and configurations specific to the flavor named
[FlavorName]. - Sub-fields: Vary depending on the flavor.
[FlavorName] Object Example
| Field | Type | Description |
|---|---|---|
attributeA |
String | Description of attribute A. |
attributeB |
String | Description of attribute B. |
Note: The fields within each flavor in the advanced section may vary based on the specific requirements and configurations of that flavor.
Beta Was this translation helpful? Give feedback.
-
|
We need to answer "What qualifies to be in spec?" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Premise:
As we progress in our journey with Infrastructure as Catalog (InCa), having established the ability to create resources using intent definitions, our next pivotal step involves solidifying the manifest definition. The objective of this discussion is to finalize the standard fields that should be present in the manifest to accurately and effectively define an intent.
Introduction:
The manifest is crucial as it acts as a blueprint, guiding the realization of resources in alignment with the predefined intents within InCa, independent of specific environments. Establishing a standardized set of fields for the manifest is vital to ensure consistency, clarity, and accuracy across various implementations.
Key Considerations:
Clarity and Simplicity: The fields should be easy to understand and use, ensuring that users can define intents without ambiguity.
Flexibility: The manifest should accommodate a range of intents and implementations, providing users with the adaptability to define various resources.
Scalability: As projects and implementations evolve, the manifest should be able to support growth and complexity without becoming cumbersome.
Compatibility: Ensure that the manifest fields are compatible with various implementations and do not restrict the use of different technologies or platforms.
Discussion Points:
Field Definitions: What should be the mandatory and optional fields within the manifest to adequately define an intent?
Data Types: What types of data will the fields hold, and how will they be validated?
Hierarchy and Structure: How should the fields be structured to ensure logical and hierarchical definition of the intents?
Implementation Specifics: How will the manifest accommodate implementation-specific details without compromising the generality of the intent?
Environment Overrides: How should the manifest allow for environment-specific overrides while maintaining the integrity of the original intent?
Beta Was this translation helpful? Give feedback.
All reactions