// UngroupedApps handles GET /apps-groups/ungrouped api endpoint. Gets all services that don't have an application group
UngroupedApps handles GET /apps-groups/ungrouped api endpoint. Gets all services that don't have an application group
// UngroupedApps handles GET / apps - groups / ungrouped api endpoint . Gets all services that don ' t have an application group
func UngroupedApps(c *routing.Context) error {
	appGroupService, err := getAppGroupService(c)
	if err != nil {
		return http.Error(c, err.Error(), 400, ServiceDiscoveryServiceName())
	}
	servicesThatMatch := appGroupService.UngroupedServices()
	servicesThatMatchJSON, _ := json.Marshal(servicesThatMatch)
	return http.Ok(c, string(servicesThatMatchJSON), ServiceDiscoveryServiceName())
}
func UngroupedApps ( c * routing . Context ) error { appGroupService , err := getAppGroupService ( c ) if err != nil { return http . Error ( c , err . Error ( ) , 400 , ServiceDiscoveryServiceName ( ) ) } servicesThatMatch := appGroupService . UngroupedServices ( ) servicesThatMatchJSON , _ := json . Marshal ( servicesThatMatch ) return http . Ok ( c , string ( servicesThatMatchJSON ) , ServiceDiscoveryServiceName ( ) ) }
UngroupedApps handles GET /apps-groups/ungrouped api endpoint.
UngroupedApps handles GET / apps - groups / ungrouped api endpoint .
// Get application group service