class MetadataTranslationService {

    public void translateMetadata(String serviceId, Map<String, String> metadata) {
        // Version check
        String version = metadata.get(VERSION);
        if (version == null) {
            translateV1toV2(metadata);
        }

        updateZosmfAuthentication(serviceId, metadata);
    }

}