Coder Social home page Coder Social logo

Comments (4)

rstepanenko avatar rstepanenko commented on July 3, 2024

Hi, could you please help me a bit and research where in the AWS SDK API these things are set/configured? I will then try to add appropriate calls to the plugin initialization.

from grails-data-mapping.

k2s avatar k2s commented on July 3, 2024

Hi, I am using another plugin http://grails.org/plugin/aws-sdk to communicate with S3 and I like how configuration works there. It is documented here http://benorama.github.io/grails-aws-sdk/guide/single.html#configuration. There are much more options which should be configurable not only region.

Maybe, would it be possible for your plugin to read grails.plugin.awssdk config or to utilize awssdk plugin in other way ?

In fact central functionality provided by awssdk plugin is in https://github.com/benorama/grails-aws-sdk/blob/master/grails-app/services/grails/plugin/awssdk/AmazonWebService.groovy to create communication to services with getServiceClient(String service, String regionName = '', Boolean async = false) method.

from grails-data-mapping.

bobbywarner avatar bobbywarner commented on July 3, 2024

@rstepanenko setRegion method on AmazonWebServiceClient: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/AmazonWebServiceClient.html#setRegion(com.amazonaws.regions.Region)

from grails-data-mapping.

rstepanenko avatar rstepanenko commented on July 3, 2024

Just pushed f2dc0c8 - you can set 'endpoint' property in the same fashion you set secretKey for simpledb plugin. If not specified plugin will behave as it did before this change. I did not publish updated version plugin, please for now use local version.

from grails-data-mapping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.