Skip to content

Commit

Permalink
address rynowak@ feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Will Tsai <[email protected]>
  • Loading branch information
willtsai committed Aug 9, 2023
1 parent 8ea0f20 commit ef72366
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ An `Applications.Link/daprPubSubBrokers` resource represents a [Dapr pub/sub](ht
| type | n | The Dapr component type. Set only when resourceProvisioning is 'manual'. | `pubsub.kafka` |
| metadata | n | Metadata object for the Dapr component. Schema must match [Dapr component](https://docs.dapr.io/reference/components-reference/supported-pubsub/). Set only when resourceProvisioning is 'manual'. | `{ brokers: kafkaRoute.properties.url }` |
| version | n | The version of the Dapr component. See [Dapr components](https://docs.dapr.io/reference/components-reference/supported-pubsub/) for available versions. Set only when resourceProvisioning is 'manual'. | `v1` |
| componentName | n | _(read-only)_ The name of the Dapr component that is generated and applied to the underlying system. Used by the Dapr SDKs or APIs to access the Dapr component. | `myapp-mypubsub` |
| componentName | n | _(read-only)_ The name of the Dapr component that is generated and applied to the underlying system. Used by the Dapr SDKs or APIs to access the Dapr component. | `mypubsub` |

#### Recipe

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The `mongodb.com/MongoDatabase` link is a [portable link]({{< ref links-resource
| [recipe](#recipe) | n | Configuration for the Recipe which will deploy the backing infrastructure. | [See below](#recipe)
| [resources](#resources) | n | An array of resources which underlay this resource. For example, an Azure CosmosDB database ID if the MongoDB resource is leveraging CosmosDB. | [See below](#resources)
| database | n | Database name of the target MongoDB | `mongodb-prod`
| host | n | The MongoDB host name. | `mongodb://mongodb0.example.com:4242`
| host | n | The MongoDB host name. | `mongodb0.example.com`
| port | n | The MongoDB port. | `4242`
| username | n | The username for the MongoDB. | `'myusername'`
| [secrets](#secrets) | n | Secrets used when building the link from values. | [See below](#secrets)
Expand All @@ -67,7 +67,7 @@ The `mongodb.com/MongoDatabase` link is a [portable link]({{< ref links-resource

| Property | Required | Description | Example(s) |
|----------|:--------:|-------------|------------|
| connectionString | n | The connection string for the MongoDb. Write only. | `mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]`
| connectionString | n | The connection string for the MongoDb. Write only. | `mongodb://myDBReader:D1fficultP%[email protected]:4242/?authSource=admin`
| password | n | The password for the MongoDB. Write only. | `mypassword`

### Methods
Expand Down Expand Up @@ -99,9 +99,9 @@ Other Radius resources, such as [containers]({{< ref "container" >}}), may conne

| Environment variable | Example(s) |
|----------------------|------------|
| CONNECTION_MYCONNECTION_HOST | `mongodb://mongodb0.example.com:4242` |
| CONNECTION_MYCONNECTION_HOST | `mongodb0.example.com` |
| CONNECTION_MYCONNECTION_PORT | `4242` |
| CONNECTION_MYCONNECTION_DATABASE | `mongodb-prod` |
| CONNECTION_MYCONNECTION_USERNAME | `myusername` |
| CONNECTION_MYCONNECTION_PASSWORD | `mypassword` |
| CONNECTION_MYCONNECTION_CONNECTIONSTRING | `mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]` |
| CONNECTION_MYCONNECTION_CONNECTIONSTRING | `mongodb://myDBReader:D1fficultP%[email protected]:4242/?authSource=admin` |

0 comments on commit ef72366

Please sign in to comment.