private Publisher < List < String > > convertServiceIds ( ListServicesResult listServicesResult ) { List < ServiceSummary > services = listServicesResult . getServices ( ) ; List < String > serviceIds = new ArrayList <> ( ) ; for ( ServiceSummary service : services ) { serviceIds . add ( service . getId ( ) ) ; } return Publishers . just ( serviceIds ) ; }
Converts the services IDs returned for usage in MN .