This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
141 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
19 changes: 19 additions & 0 deletions
19
...k/src/main/groovy/com/agorapulse/micronaut/aws/kinesis/DefaultKinesisConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.agorapulse.micronaut.aws.kinesis | ||
|
||
import com.amazonaws.services.kinesis.AmazonKinesis | ||
import groovy.transform.CompileStatic | ||
import io.micronaut.context.annotation.ConfigurationProperties | ||
import io.micronaut.context.annotation.Requires | ||
|
||
import javax.inject.Named | ||
|
||
/** | ||
* Default Kinesis configuration, published with <code>default</code> named qualifier. | ||
*/ | ||
@Named('default') | ||
@CompileStatic | ||
@ConfigurationProperties('aws.kinesis') | ||
@Requires(classes = AmazonKinesis) | ||
class DefaultKinesisConfiguration extends KinesisConfiguration { | ||
|
||
} |
10 changes: 2 additions & 8 deletions
10
...-aws-sdk/src/main/groovy/com/agorapulse/micronaut/aws/kinesis/KinesisConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...oovy/com/agorapulse/micronaut/aws/kinesis/worker/DefaultKinesisClientConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.agorapulse.micronaut.aws.kinesis.worker | ||
|
||
import com.amazonaws.services.kinesis.clientlibrary.lib.worker.KinesisClientLibConfiguration | ||
import groovy.transform.CompileStatic | ||
import io.micronaut.context.annotation.ConfigurationProperties | ||
import io.micronaut.context.annotation.Requires | ||
import io.micronaut.context.annotation.Value | ||
|
||
import javax.inject.Named | ||
|
||
/** | ||
* Default configuration for Kinesis listener. | ||
*/ | ||
@CompileStatic | ||
@Named('default') | ||
@ConfigurationProperties('aws.kinesis.listener') | ||
@Requires(classes = KinesisClientLibConfiguration) | ||
@SuppressWarnings('NoWildcardImports') | ||
class DefaultKinesisClientConfiguration extends KinesisClientConfiguration { | ||
|
||
DefaultKinesisClientConfiguration( | ||
@Value('${aws.kinesis.application.name:}') String applicationName, | ||
@Value('${aws.kinesis.worker.id:}') String workerId | ||
) { | ||
super(applicationName, workerId) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...in/groovy/com/agorapulse/micronaut/aws/s3/DefaultSimpleStorageServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.agorapulse.micronaut.aws.s3 | ||
|
||
import com.amazonaws.services.s3.AmazonS3 | ||
import groovy.transform.CompileStatic | ||
import io.micronaut.context.annotation.ConfigurationProperties | ||
import io.micronaut.context.annotation.Requires | ||
|
||
import javax.inject.Named | ||
|
||
/** | ||
* Default simple storage service configuration. | ||
*/ | ||
@Named('default') | ||
@CompileStatic | ||
@ConfigurationProperties('aws.s3') | ||
@Requires(classes = AmazonS3) | ||
class DefaultSimpleStorageServiceConfiguration extends SimpleStorageServiceConfiguration { | ||
|
||
} |
10 changes: 2 additions & 8 deletions
10
.../src/main/groovy/com/agorapulse/micronaut/aws/s3/SimpleStorageServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ovy/com/agorapulse/micronaut/aws/sns/DefaultSimpleNotificationServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.agorapulse.micronaut.aws.sns | ||
|
||
import com.amazonaws.services.sns.AmazonSNS | ||
import groovy.transform.CompileStatic | ||
import io.micronaut.context.annotation.ConfigurationProperties | ||
import io.micronaut.context.annotation.Requires | ||
|
||
import javax.inject.Named | ||
|
||
/** | ||
* Default simple queue service configuration. | ||
*/ | ||
@Named('default') | ||
@CompileStatic | ||
@ConfigurationProperties('aws.sns') | ||
@Requires(classes = AmazonSNS) | ||
class DefaultSimpleNotificationServiceConfiguration extends SimpleNotificationServiceConfiguration { | ||
|
||
} |
10 changes: 2 additions & 8 deletions
10
...ain/groovy/com/agorapulse/micronaut/aws/sns/SimpleNotificationServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ain/groovy/com/agorapulse/micronaut/aws/sqs/DefaultSimpleQueueServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.agorapulse.micronaut.aws.sqs | ||
|
||
import com.amazonaws.services.sqs.AmazonSQS | ||
import groovy.transform.CompileStatic | ||
import io.micronaut.context.annotation.ConfigurationProperties | ||
import io.micronaut.context.annotation.Requires | ||
|
||
import javax.inject.Named | ||
|
||
/** | ||
* Default configuration for Simple Queue Service. | ||
*/ | ||
@Named('default') | ||
@CompileStatic | ||
@ConfigurationProperties('aws.sqs') | ||
@Requires(classes = AmazonSQS) | ||
class DefaultSimpleQueueServiceConfiguration extends SimpleQueueServiceConfiguration { | ||
|
||
} |
10 changes: 2 additions & 8 deletions
10
...k/src/main/groovy/com/agorapulse/micronaut/aws/sqs/SimpleQueueServiceConfiguration.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.