Skip to content

Commit

Permalink
updating plainHTTP to plainHttp
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwahiremat committed Dec 11, 2023
1 parent 03ae959 commit 431e72a
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"templateKind": "bicep",
"templatePath": "br:localhost:8000/recipes/cosmosdb",
"plainHTTP": true,
"plainHttp": true,
"parameters": {
"throughput": {
"maxValue": 400,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"redis-recipe": {
"templateKind": "bicep",
"templatePath": "br:ghcr.io/sampleregistry/radius/recipes/rediscaches",
"plainHTTP": true
"plainHttp": true
}
},
"Applications.Dapr/stateStores":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"parameters" : {
"throughput": 400
},
"plainHTTP":true
"plainHttp":true
},
"terraform-recipe": {
"templateKind": "terraform",
Expand Down
12 changes: 6 additions & 6 deletions pkg/corerp/api/v20231001preview/zz_generated_models_serde.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/corerp/datamodel/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type EnvironmentRecipeProperties struct {
TemplatePath string `json:"templatePath"`
TemplateVersion string `json:"templateVersion,omitempty"`
Parameters map[string]any `json:"parameters,omitempty"`
PlainHTTP bool `json:"plainHTTP,omitempty"`
PlainHTTP bool `json:"plainHttp,omitempty"`
}

// Recipe represents input properties for recipe getMetadata api.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"mongo-azure": {
"templateKind": "bicep",
"templatePath": "ghcr.io/radius-project/dev/recipes/mongodatabases/azure:1.0",
"plainHTTP": false,
"plainHttp": false,
"parameters": {
"throughput": 400
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"templateKind": "bicep",
"templatePath": "ghcr.io/radius-project/dev/recipes/functionaltest/parameters/mongodatabases/azure:1.0",
"plainHTTP": false,
"plainHttp": false,
"parameters": {
"mongodbName": {
"type" : "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2796,7 +2796,7 @@
"type": "object",
"description": "Represents Bicep recipe properties.",
"properties": {
"plainHTTP": {
"plainHttp": {
"type": "boolean",
"description": "Connect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS)."
}
Expand All @@ -2812,7 +2812,7 @@
"type": "object",
"description": "Represents Bicep recipe properties.",
"properties": {
"plainHTTP": {
"plainHttp": {
"type": "boolean",
"description": "Connect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS)."
}
Expand Down Expand Up @@ -4753,7 +4753,7 @@
"description": "The key/value parameters to pass to the recipe template at deployment.",
"properties": {}
},
"plainHTTP": {
"plainHttp": {
"type": "boolean",
"description": "Connect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS)."
}
Expand Down
4 changes: 2 additions & 2 deletions typespec/Applications.Core/environments.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ model BicepRecipeProperties extends RecipeProperties {
templateKind: "bicep";

@doc("Connect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS).")
plainHTTP?: boolean;
plainHttp?: boolean;
}

@doc("Represents Terraform recipe properties.")
Expand Down Expand Up @@ -142,7 +142,7 @@ model RecipeGetMetadataResponse {
parameters: {};

@doc("Connect to the Bicep registry using HTTP (not-HTTPS). This should be used when the registry is known not to support HTTPS, for example in a locally-hosted registry. Defaults to false (use HTTPS/TLS).")
plainHTTP?: boolean;
plainHttp?: boolean;
}

@armResourceOperations
Expand Down

0 comments on commit 431e72a

Please sign in to comment.