// InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services
// through Metadata Client and Core Data Client.
// Service Client Initializer also needs to check the service status of Metadata and Core Data Services,
// because they are important dependencies of Device Service.
// The initialization process should be pending until Metadata Service and Core Data Service are both available.
InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services
through Metadata Client and Core Data Client.
Service Client Initializer also needs to check the service status of Metadata and Core Data Services,
because they are important dependencies of Device Service.
The initialization process should be pending until Metadata Service and Core Data Service are both available.
// InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services // through Metadata Client and Core Data Client . // Service Client Initializer also needs to check the service status of Metadata and Core Data Services // because they are important dependencies of Device Service . // The initialization process should be pending until Metadata Service and Core Data Service are both available .
func InitDependencyClients() error {
	if err := validateClientConfig(); err != nil {
		return err
	}
	initializeLoggingClient()
	if err := checkDependencyServices(); err != nil {
		return err
	}
	initializeClients()
	common.LoggingClient.Info("Service clients initialize successful.")
	return nil
}
func InitDependencyClients ( ) error { if err := validateClientConfig ( ) ; err != nil { return err } initializeLoggingClient ( ) if err := checkDependencyServices ( ) ; err != nil { return err } initializeClients ( ) common . LoggingClient . Info ( " " ) return nil }
InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services
through Metadata Client and Core Data Client.
InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services through Metadata Client and Core Data Client .