cloud_controller/app/models/service.rb
def synthesize_service_type
    case self.name
    when /mysql/
      'database'
    when /postgresql/
      'database'
    when /redis/
      'key-value'
    when /mongodb/
      'key-value'
    else
      'generic'
    end
  end
# Service types no longer exist, synthesize one if possible to be legacy api compliant
Service types no longer exist, synthesize one if possible to be legacy api compliant
Service types no longer exist synthesize one if possible to be legacy api compliant
def synthesize_service_type
    case self.name
    when /mysql/
      'database'
    when /postgresql/
      'database'
    when /redis/
      'key-value'
    when /mongodb/
      'key-value'
    else
      'generic'
    end
  end
def synthesize_service_type case self . name when / mysql / 'database' when / postgresql / 'database' when / redis / 'key-value' when / mongodb / 'key-value' else 'generic' end end
Service types no longer exist, synthesize one if possible to be legacy api compliant
Service types no longer exist synthesize one if possible to be legacy api compliant