// FindServiceApplicationGroup get application group for service with id serviceID
FindServiceApplicationGroup get application group for service with id serviceID
// FindServiceApplicationGroup get application group for service with id serviceID
func (agmr *AppGroupOracleRepository) FindServiceApplicationGroup(serviceID string) ApplicationGroup {
	rows, err := agmr.Tx.Query(GET_APPLICATION_GROUP_FOR_SERVICE,
		serviceID,
	)
	if err != nil {
		return ApplicationGroup{}
	}
	appGroups := RowsToAppGroup(rows, false)
	if len(appGroups) == 0 {
		return ApplicationGroup{}
	}
	return appGroups[0]
}
func ( agmr * AppGroupOracleRepository ) FindServiceApplicationGroup ( serviceID string ) ApplicationGroup { rows , err := agmr . Tx . Query ( GET_APPLICATION_GROUP_FOR_SERVICE , serviceID , ) if err != nil { return ApplicationGroup { } } appGroups := RowsToAppGroup ( rows , false ) if len ( appGroups ) == 0 { return ApplicationGroup { } } return appGroups [ 0 ] }
FindServiceApplicationGroup get application group for service with id serviceID
FindServiceApplicationGroup get application group for service with id serviceID