test_class.declarator: source = ArtifactoryComponentSource.builder().artifactId("com.olacabs")
              .groupId("test").artifactoryUrl("http://test").version("0.1").build()
test_class.modifier: private static
test_class.original_string: private static ComponentSource source = ArtifactoryComponentSource.builder().artifactId("com.olacabs")
              .groupId("test").artifactoryUrl("http://test").version("0.1").build();
test_class.type: ComponentSource
test_class.var_name: source
test_class.declarator: sourceString =
              "{\"type\":\"artifactory\",\"artifactoryUrl\":\"http://test\",\"groupId\":"
                      + "\"test\",\"artifactId\":\"com.olacabs\",\"version\":\"0.1\"}"
test_class.modifier: private static
test_class.original_string: private static String sourceString =
              "{\"type\":\"artifactory\",\"artifactoryUrl\":\"http://test\",\"groupId\":"
                      + "\"test\",\"artifactId\":\"com.olacabs\",\"version\":\"0.1\"}";
test_class.type: String
test_class.var_name: sourceString
test_class.file: fabric-manager/src/test/java/com/olacabs/fabric/manager/converter/ComponentSourceConverterTest.java
test_class.identifier: ComponentSourceConverterTest
test_case.body: @Test
      public void shouldConvertStringToEntityAttribute() throws JsonProcessingException {
          final ComponentSourceConverter converter = new ComponentSourceConverter();
          final ComponentSource componentSource = converter.convertToEntityAttribute(sourceString);
          assertEquals(new ObjectMapper().writeValueAsString(componentSource), sourceString);
      }
test_case.class_method_signature: ComponentSourceConverterTest.shouldConvertStringToEntityAttribute()
test_case.full_signature: @Test public void shouldConvertStringToEntityAttribute()
test_case.identifier: shouldConvertStringToEntityAttribute
test_case.invocations: convertToEntityAttribute assertEquals writeValueAsString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldConvertStringToEntityAttribute()
focal_class.declarator: mapper
focal_class.modifier: private final
focal_class.original_string: private final ObjectMapper mapper;
focal_class.type: ObjectMapper
focal_class.var_name: mapper
focal_class.file: fabric-manager/src/main/java/com/olacabs/fabric/manager/converter/ComponentSourceConverter.java
focal_class.identifier: ComponentSourceConverter
focal_class.interfaces: implements AttributeConverter<ComponentSource, String>
focal_class.class_method_signature: ComponentSourceConverter.ComponentSourceConverter()
focal_class.full_signature: public  ComponentSourceConverter()
focal_class.identifier: ComponentSourceConverter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ComponentSourceConverter()
focal_class.class_method_signature: ComponentSourceConverter.ComponentSourceConverter(final ObjectMapper mapper)
focal_class.full_signature: public  ComponentSourceConverter(final ObjectMapper mapper)
focal_class.identifier: ComponentSourceConverter
focal_class.modifiers: public
focal_class.parameters: (final ObjectMapper mapper)
focal_class.signature:  ComponentSourceConverter(final ObjectMapper mapper)
focal_class.class_method_signature: ComponentSourceConverter.convertToDatabaseColumn(final ComponentSource componentSource)
focal_class.full_signature: @Override public String convertToDatabaseColumn(final ComponentSource componentSource)
focal_class.identifier: convertToDatabaseColumn
focal_class.modifiers: @Override public
focal_class.parameters: (final ComponentSource componentSource)
focal_class.return: String
focal_class.signature: String convertToDatabaseColumn(final ComponentSource componentSource)
focal_class.class_method_signature: ComponentSourceConverter.convertToEntityAttribute(final String source)
focal_class.full_signature: @Override public ComponentSource convertToEntityAttribute(final String source)
focal_class.identifier: convertToEntityAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (final String source)
focal_class.return: ComponentSource
focal_class.signature: ComponentSource convertToEntityAttribute(final String source)
focal_method.body: @Override
      public ComponentSource convertToEntityAttribute(final String source) {
          try {
              return mapper.readValue(source, ComponentSource.class);
          } catch (final IOException e) {
              log.error("Unable to parse component source - {}", e.getMessage(), e);
              throw new FabricManagerException(e);
          }
      }
focal_method.class_method_signature: ComponentSourceConverter.convertToEntityAttribute(final String source)
focal_method.full_signature: @Override public ComponentSource convertToEntityAttribute(final String source)
focal_method.identifier: convertToEntityAttribute
focal_method.invocations: readValue error getMessage
focal_method.modifiers: @Override public
focal_method.parameters: (final String source)
focal_method.return: ComponentSource
focal_method.signature: ComponentSource convertToEntityAttribute(final String source)