Project

General

Profile

« Previous | Next » 

Revision 60726

UTF-8 encode requests for the creation of an MDStore on the MDsM

View differences:

CreateMDStoreHadoopJobNode.java
46 46
                .buildAndExpand(params)
47 47
                .toUri();
48 48

  
49
        log.info("create mdstore request: " + uri.toString());
49
        final String requestUri = uri.toASCIIString();
50
        log.info("create mdstore request: " + requestUri);
50 51

  
51 52
        final RestTemplate restTemplate = new RestTemplate();
52
        final MDStoreWithInfo result = restTemplate.getForObject(uri, MDStoreWithInfo.class);
53
        final MDStoreWithInfo result = restTemplate.getForObject(requestUri, MDStoreWithInfo.class);
53 54

  
54 55
        log.info("created mdstore: " + new Gson().toJson(result));
55 56

  

Also available in: Unified diff