-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add configs for workers (worker.yaml), direct hosting (hosts.ya…
…ml) and deployment result (deployed.yaml). Add command for worker deployment. Add command for showing versions of used dependencies. Fix issue with circular imports [fixes DXJ-246 DXJ-247 DXJ-259 DXJ-249 DXJ-270] (#141) * feat: add configs for workers (worker.yaml), direct hosting (hosts.yaml) and deployment result (deployed.yaml). Add command for worker deployment Add command for showing versions of used dependencies Fix issue with circular imports [fixes DXJ-246 DXJ-247 DXJ-259 DXJ-249 DXJ-270] * hopefully fix tests * change posttest to pretest * Update package.json * readme * unhide and fix description for workers deploy command * correct description for workers.yaml * fix contributing.md
- Loading branch information
1 parent
95a70ec
commit 2659d9d
Showing
107 changed files
with
7,995 additions
and
1,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## version Type | ||
|
||
`number` | ||
|
||
## version Constraints | ||
|
||
**constant**: the value of this property must be equal to: | ||
|
||
```json | ||
0 | ||
``` |
3 changes: 3 additions & 0 deletions
3
...erties-workers-items-properties-installation_spells-items-properties-host_id.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## host\_id Type | ||
|
||
`string` |
3 changes: 3 additions & 0 deletions
3
...rties-workers-items-properties-installation_spells-items-properties-spell_id.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## spell\_id Type | ||
|
||
`string` |
3 changes: 3 additions & 0 deletions
3
...ties-workers-items-properties-installation_spells-items-properties-worker_id.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## worker\_id Type | ||
|
||
`string` |
65 changes: 65 additions & 0 deletions
65
...nfigs/deployed-properties-workers-items-properties-installation_spells-items.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
## items Type | ||
|
||
`object` ([Details](deployed-properties-workers-items-properties-installation_spells-items.md)) | ||
|
||
# items Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :----------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| [host\_id](#host_id) | `string` | Required | cannot be null | [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-host_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/host_id") | | ||
| [spell\_id](#spell_id) | `string` | Required | cannot be null | [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-spell_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/spell_id") | | ||
| [worker\_id](#worker_id) | `string` | Required | cannot be null | [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-worker_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/worker_id") | | ||
|
||
## host\_id | ||
|
||
|
||
|
||
`host_id` | ||
|
||
* is required | ||
|
||
* Type: `string` | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-host_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/host_id") | ||
|
||
### host\_id Type | ||
|
||
`string` | ||
|
||
## spell\_id | ||
|
||
|
||
|
||
`spell_id` | ||
|
||
* is required | ||
|
||
* Type: `string` | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-spell_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/spell_id") | ||
|
||
### spell\_id Type | ||
|
||
`string` | ||
|
||
## worker\_id | ||
|
||
|
||
|
||
`worker_id` | ||
|
||
* is required | ||
|
||
* Type: `string` | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers-items-properties-installation_spells-items-properties-worker_id.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells/items/properties/worker_id") | ||
|
||
### worker\_id Type | ||
|
||
`string` |
3 changes: 3 additions & 0 deletions
3
docs/configs/deployed-properties-workers-items-properties-installation_spells.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## installation\_spells Type | ||
|
||
`object[]` ([Details](deployed-properties-workers-items-properties-installation_spells-items.md)) |
3 changes: 3 additions & 0 deletions
3
docs/configs/deployed-properties-workers-items-properties-name.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## name Type | ||
|
||
`string` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## items Type | ||
|
||
`object` ([Details](deployed-properties-workers-items.md)) | ||
|
||
# items Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :------------------------------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| [name](#name) | `string` | Required | cannot be null | [deployed.yaml](deployed-properties-workers-items-properties-name.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/name") | | ||
| [installation\_spells](#installation_spells) | `array` | Required | cannot be null | [deployed.yaml](deployed-properties-workers-items-properties-installation_spells.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells") | | ||
|
||
## name | ||
|
||
|
||
|
||
`name` | ||
|
||
* is required | ||
|
||
* Type: `string` | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers-items-properties-name.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/name") | ||
|
||
### name Type | ||
|
||
`string` | ||
|
||
## installation\_spells | ||
|
||
A list of installation spells | ||
|
||
`installation_spells` | ||
|
||
* is required | ||
|
||
* Type: `object[]` ([Details](deployed-properties-workers-items-properties-installation_spells-items.md)) | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers-items-properties-installation_spells.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers/items/properties/installation_spells") | ||
|
||
### installation\_spells Type | ||
|
||
`object[]` ([Details](deployed-properties-workers-items-properties-installation_spells-items.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## workers Type | ||
|
||
`object[]` ([Details](deployed-properties-workers-items.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## deployed.yaml Type | ||
|
||
`object` ([deployed.yaml](deployed.md)) | ||
|
||
# deployed.yaml Properties | ||
|
||
| Property | Type | Required | Nullable | Defined by | | ||
| :------------------ | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------- | | ||
| [version](#version) | `number` | Required | cannot be null | [deployed.yaml](deployed-properties-version.md "https://fluence.dev/schemas/deployed.yaml#/properties/version") | | ||
| [workers](#workers) | `array` | Optional | cannot be null | [deployed.yaml](deployed-properties-workers.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers") | | ||
|
||
## version | ||
|
||
|
||
|
||
`version` | ||
|
||
* is required | ||
|
||
* Type: `number` | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-version.md "https://fluence.dev/schemas/deployed.yaml#/properties/version") | ||
|
||
### version Type | ||
|
||
`number` | ||
|
||
### version Constraints | ||
|
||
**constant**: the value of this property must be equal to: | ||
|
||
```json | ||
0 | ||
``` | ||
|
||
## workers | ||
|
||
A list of deployed workers | ||
|
||
`workers` | ||
|
||
* is optional | ||
|
||
* Type: `object[]` ([Details](deployed-properties-workers-items.md)) | ||
|
||
* cannot be null | ||
|
||
* defined in: [deployed.yaml](deployed-properties-workers.md "https://fluence.dev/schemas/deployed.yaml#/properties/workers") | ||
|
||
### workers Type | ||
|
||
`object[]` ([Details](deployed-properties-workers-items.md)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...onfig-properties-overrides-module-overrides-properties-environment-variables.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## envs Type | ||
|
||
`object` ([Environment variables](fluence-properties-services-service-config-properties-overrides-module-overrides-properties-environment-variables.md)) |
3 changes: 3 additions & 0 deletions
3
...services-service-config-properties-overrides-module-overrides-properties-get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## get Type | ||
|
||
`string` |
3 changes: 3 additions & 0 deletions
3
...ervice-config-properties-overrides-module-overrides-properties-loggerenabled.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## loggerEnabled Type | ||
|
||
`boolean` |
Oops, something went wrong.