{"action":"opened","issue":{"url":"https://api.github.com/repos/paulcwarren/spring-content/issues/49","repository_url":"https://api.github.com/repos/paulcwarren/spring-content","labels_url":"https://api.github.com/repos/paulcwarren/spring-content/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/paulcwarren/spring-content/issues/49/comments","events_url":"https://api.github.com/repos/paulcwarren/spring-content/issues/49/events","html_url":"https://github.com/paulcwarren/spring-content/issues/49","id":373364649,"node_id":"MDU6SXNzdWUzNzMzNjQ2NDk=","number":49,"title":"content-s3-spring-boot-starte and S3ObjectId","user":{"login":"FeDLviv","id":22416797,"node_id":"MDQ6VXNlcjIyNDE2Nzk3","avatar_url":"https://avatars2.githubusercontent.com/u/22416797?v=4","gravatar_id":"","url":"https://api.github.com/users/FeDLviv","html_url":"https://github.com/FeDLviv","followers_url":"https://api.github.com/users/FeDLviv/followers","following_url":"https://api.github.com/users/FeDLviv/following{/other_user}","gists_url":"https://api.github.com/users/FeDLviv/gists{/gist_id}","starred_url":"https://api.github.com/users/FeDLviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeDLviv/subscriptions","organizations_url":"https://api.github.com/users/FeDLviv/orgs","repos_url":"https://api.github.com/users/FeDLviv/repos","events_url":"https://api.github.com/users/FeDLviv/events{/privacy}","received_events_url":"https://api.github.com/users/FeDLviv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T08:31:57Z","updated_at":"2018-10-24T08:31:57Z","closed_at":null,"author_association":"NONE","body":"Hi Paul.\r\n\r\nThank you so much for your hard work.\r\n\r\nFrom API reference\r\n> Ultimately, the S3 store uses instances of S3ObjectId to identify and place content. It is therefore also possible to create S3 stores using this type as the @ContentId type.\r\n\r\nMy dependencies\r\n```\r\n  ...\r\n  springBootVersion = '2.0.6.RELEASE'\r\n  contentVersion = '0.3.0'\r\n  ...\r\n```\r\n\r\n```java\r\n@Entity\r\n@Data\r\npublic class FileEntity {\r\n\r\n    @Id\r\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\r\n    private long id;\r\n\r\n    @Column(name = \"description\", length = 50)\r\n    private String description;\r\n\r\n    @ContentId\r\n    private S3ObjectId contentId;\r\n//    private String contentId;\r\n\r\n//    @Bucket\r\n//    private String bucket;\r\n\r\n    @ContentLength\r\n    private long contentLength;\r\n\r\n    @Column(name = \"mime_type\", nullable = false, length = 100)\r\n    private String contentMimeType;\r\n\r\n}\r\n```\r\n\r\nBut... when I change type object (String -> S3ObjectId)... I get an exception:\r\n`org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.util.UUID] to type [com.amazonaws.services.s3.model.S3ObjectId]`\r\n\r\n"}}
{"actor":{"display_login":"FeDLviv"}}