mirror of https://github.com/dapr/docs.git
Added full code snippets of secrets management
Signed-off-by: Amulya Varote <amulyavarote@Amulyas-MacBook-Pro.local>
This commit is contained in:
parent
6662f1a322
commit
ec61461b00
|
@ -160,17 +160,23 @@ import io.dapr.client.DaprClient;
|
|||
import io.dapr.client.DaprClientBuilder;
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> e257da8d (Added full code snippets of secrets management)
|
||||
=======
|
||||
>>>>>>> 5b6521a2 (Added full code snippets of secrets management)
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import java.util.*;
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> 7bfd5715 (Modified based on the review comments - 2)
|
||||
=======
|
||||
>>>>>>> e257da8d (Added full code snippets of secrets management)
|
||||
=======
|
||||
>>>>>>> 5b6521a2 (Added full code snippets of secrets management)
|
||||
|
||||
//code
|
||||
@SpringBootApplication
|
||||
|
@ -197,17 +203,23 @@ public class OrderProcessingServiceApplication {
|
|||
#dependencies
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> e257da8d (Added full code snippets of secrets management)
|
||||
=======
|
||||
>>>>>>> 5b6521a2 (Added full code snippets of secrets management)
|
||||
import random
|
||||
from time import sleep
|
||||
import requests
|
||||
import logging
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> 7bfd5715 (Modified based on the review comments - 2)
|
||||
=======
|
||||
>>>>>>> e257da8d (Added full code snippets of secrets management)
|
||||
=======
|
||||
>>>>>>> 5b6521a2 (Added full code snippets of secrets management)
|
||||
from dapr.clients import DaprClient
|
||||
from dapr.clients.grpc._state import StateItem
|
||||
from dapr.clients.grpc._request import TransactionalStateOperation, TransactionOperationType
|
||||
|
@ -228,11 +240,14 @@ with DaprClient() as client:
|
|||
logging.info(sorted(secret.secrets.items()))
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> 03751403 (Modified based on the review comments - 1)
|
||||
=======
|
||||
>>>>>>> e257da8d (Added full code snippets of secrets management)
|
||||
=======
|
||||
>>>>>>> 5b6521a2 (Added full code snippets of secrets management)
|
||||
```
|
||||
{{% /codetab %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue