File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
- Improve App Hosting compute service account flow for source deploys. (#8785 )
2
2
- Fixed an issue with ` ext:configure ` where params without default values could not be set. (#8810 )
3
+ - Fixed an issue where the Data Connect emulator wasn't provided application default credentials. (#8819 )
Original file line number Diff line number Diff line change @@ -560,6 +560,8 @@ export async function startAll(
560
560
await startEmulator ( extensionEmulator ) ;
561
561
}
562
562
563
+ const account = getProjectDefaultAccount ( options . projectRoot ) ;
564
+
563
565
if ( emulatableBackends . length ) {
564
566
if ( ! listenForEmulator . functions || ! listenForEmulator . eventarc || ! listenForEmulator . tasks ) {
565
567
// We did not know that we need Functions and Eventarc earlier but now we do.
@@ -601,8 +603,6 @@ export async function startAll(
601
603
) ;
602
604
}
603
605
604
- const account = getProjectDefaultAccount ( options . projectRoot ) ;
605
-
606
606
// TODO(b/213241033): Figure out how to watch for changes to extensions .env files & reload triggers when they change.
607
607
const functionsEmulator = new FunctionsEmulator ( {
608
608
projectId,
@@ -887,6 +887,7 @@ export async function startAll(
887
887
enable_output_generated_sdk : true , // TODO: source from arguments
888
888
enable_output_schema_extensions : true ,
889
889
debug : options . debug ,
890
+ account,
890
891
} ;
891
892
892
893
if ( exportMetadata . dataconnect ) {
Original file line number Diff line number Diff line change @@ -363,7 +363,6 @@ export class DataConnectEmulator implements EmulatorInstance {
363
363
// If Firebase CLI is logged in, always pass in the credentials to FDC emulator.
364
364
const defaultCredPath = await getCredentialPathAsync ( account ) ;
365
365
if ( defaultCredPath ) {
366
- logger . log ( "DEBUG" , `Setting GAC to ${ defaultCredPath } ` ) ;
367
366
credsEnv . GOOGLE_APPLICATION_CREDENTIALS = defaultCredPath ;
368
367
}
369
368
}
You can’t perform that action at this time.
0 commit comments