This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from open-component-model/adapt-e2e-to-cuelang
updating e2e to adapt to mpas-product-controller with cuelang
- Loading branch information
Showing
13 changed files
with
78 additions
and
173 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 was deleted.
Oops, something went wrong.
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,20 @@ | ||
// # Configuration Instructions | ||
|
||
// This is the api service of the podinfo microservices application. | ||
|
||
// The following parameters are available for configuration: | ||
|
||
// | Parameter | Type | Default | Description | | ||
// |-----------|---------|------------------|----------------------------------------| | ||
// | replicas | integer | 2 | Number of replicas for the application | | ||
// | cacheAddr | string | tcp://redis:6379 | Address of the cache server | | ||
|
||
#SchemaVersion: "v1.0.0" | ||
|
||
// an object named after the target resource is expected in order to pick parameters from it. | ||
backend: { | ||
// this field has a default value of 2 and must be less than 4 | ||
replicas: *2 | int & >0 & <4 | ||
// this field is required and must match the regex | ||
cacheAddr: *"tcp://redis:6379" | string & =~"^tcp://[a-z.-]+:\\d+" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
// # Configuration Instructions | ||
|
||
// This is the web frontend for the podinfo microservices application. | ||
|
||
// The following parameters are available for configuration: | ||
|
||
// | Parameter | Type | Default | Description | | ||
// |-----------|---------|---------------|--------------------------------------------| | ||
// | color | string | red | The background color of the website | | ||
// | message | string | Hello, world! | The message to display | | ||
// | replicas | integer | 1 | The number of replicas for the application | | ||
|
||
#SchemaVersion: "v1.0.0" | ||
|
||
// an object named after the target resource is expected in order to pick parameters from it. | ||
frontend: { | ||
color: *"red" | "blue" | "green" | "yellow" | ||
// this field is required | ||
message: *"Hello, world!" | string | ||
// this field has a default value of 1 and must be an integer between 1 and 2 | ||
replicas: *1 | int & >0 & <2 | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
// # Configuration Instructions | ||
|
||
// This is the cache for the podinfo microservices application. | ||
|
||
// The following parameters are available for configuration: | ||
|
||
// | Parameter | Type | Default | Description | | ||
// |-----------|------|---------|--------------------------------------| | ||
// | replicas | int | 1 | The number of replicas for the cache | | ||
|
||
#SchemaVersion: "v1.0.0" | ||
|
||
// an object named after the target resource is expected in order to pick parameters from it. | ||
redis: { | ||
// this field has a default value of 1 and must equal to 1 | ||
replicas: *1 | 1 | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -21,4 +21,3 @@ podinfo: { | |
// this field is optional | ||
serviceAccountName?: string | ||
} | ||
|