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
- digest: sha256:1cd58fa1e708475d153c02dffe6f533307841d900fb784f4d851e0d1edb18754 | |
tags: | |
- v1.0.1 | |
timestamp: '2022-04-08T06:04:17.6509128Z' | |
- digest: sha256:20e981b2e9ff5b2766f9670b9c59b0a71d2026478cb7be188b809cdab548ee9d | |
tags: | |
- rel-ce1a | |
timestamp: '2022-04-08T06:39:13.9341191Z' | |
- digest: sha256:449686cb518342e27d0d00c0193dcb1818a0681ec5dd341dd972b96fbaf674ba | |
tags: |
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
- digest: sha256:1cd58fa1e708475d153c02dffe6f533307841d900fb784f4d851e0d1edb18754 | |
tags: | |
- rel-cew | |
- v1.0.1 | |
timestamp: '2022-04-08T06:04:17.6509128Z' | |
- digest: sha256:20e981b2e9ff5b2766f9670b9c59b0a71d2026478cb7be188b809cdab548ee9d | |
tags: | |
- rel-ce1a | |
timestamp: '2022-04-08T06:39:13.9341191Z' | |
- digest: sha256:449686cb518342e27d0d00c0193dcb1818a0681ec5dd341dd972b96fbaf674ba |
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
@description('key vault name') | |
param keyVaultName string | |
@description('secret name for db admin user') | |
param userSecretName string | |
@description('secret name for db admin password') | |
param passwordSecretName string | |
resource kv 'Microsoft.KeyVault/vaults@2019-09-01' existing = { | |
name: keyVaultName | |
} |
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
import { Component, OnInit } from '@angular/core'; | |
import { Router } from '@angular/router'; | |
import { take } from 'rxjs/operators'; | |
import { ApplicationInsights } from '@microsoft/applicationinsights-web'; | |
import { AngularPlugin } from '@microsoft/applicationinsights-angularplugin-js'; | |
import { ClickAnalyticsPlugin } from '@microsoft/applicationinsights-clickanalytics-js'; | |
import { environment } from 'src/environments/environment'; | |
import { BffServiceService } from './services/bff-service.service'; | |
@Component({ |
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
@Service | |
@Slf4j | |
@RequiredArgsConstructor | |
public class DemoService { | |
private final BackendConfig backendConfig; | |
private final @Qualifier("backendWebClient") WebClient demoClient; | |
public Mono<Object> greeting() { | |
log.info("get greeting"); | |
return demoClient.get().uri(String.format("%s/%s", backendConfig.getDemoBasePath(), "greetings")) |
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
@Service | |
@RequiredArgsConstructor | |
@Slf4j | |
public class DemoService { | |
private final BackendConfig backendConfig; | |
private final RestTemplate rest; | |
public Object greeting() { | |
log.info("get greeting"); | |
var url = String.format("%s%s/greetings", backendConfig.getDemoHost(), backendConfig.getDemoBasePath()); |
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
{ | |
"analyzers": { | |
"core": { | |
"verbose": false, | |
"enabled": true, | |
"rules": { | |
"no-hardcoded-env-urls": { | |
"level": "error", | |
"disallowedhosts": [ | |
"management.core.windows.net", |
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
param administratorLogin string | |
@secure() | |
param administratorLoginPassword string | |
param location string | |
param serverName string | |
param skuCapacity int | |
param skuFamily string | |
param skuName string | |
param skuSizeMB int |
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
param appName string = 'bicep-sample' | |
param vnetName string = '${appName}-vnet' | |
param subnetName string = 'computing' | |
param dbName string = '${appName}-db' | |
param pgAdminUser string | |
param pgAdminPassword string | |
var tags = { | |
app: appName |
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
@description('Name for postgreSQL') | |
param name string | |
@description('resource location') | |
param location string = resourceGroup().location | |
@description('Administrator user name') | |
@secure() | |
param adminUser string | |
@description('Administrator user password') | |
@secure() | |
param adminPassword string |