cfn-bridge 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +50 -0
- data/lib/cloud_formation/bridge/cli.rb +4 -0
- data/lib/cloud_formation/bridge/executor.rb +10 -1
- data/lib/cloud_formation/bridge/names.rb +10 -0
- data/lib/cloud_formation/bridge/request.rb +7 -1
- data/lib/cloud_formation/bridge/resources/base.rb +14 -3
- data/lib/cloud_formation/bridge/resources/base_elasti_cache_resource.rb +58 -0
- data/lib/cloud_formation/bridge/resources/elasti_cache_node_urls.rb +35 -0
- data/lib/cloud_formation/bridge/resources/elasti_cache_replica_cluster.rb +66 -0
- data/lib/cloud_formation/bridge/resources/elasti_cache_replication_group.rb +67 -0
- data/lib/cloud_formation/bridge/util.rb +6 -0
- data/lib/cloud_formation/bridge/version.rb +1 -1
- data/spec/files/create-cache-node-urls-message.json +12 -0
- data/spec/files/create-redis-cache-node-urls-message.json +12 -0
- data/spec/files/create-replica-cluster-message.json +13 -0
- data/spec/files/create-replication-group-message.json +14 -0
- data/spec/files/delete-replica-cluster-message.json +14 -0
- data/spec/files/delete-replication-group-message.json +15 -0
- data/spec/files/describe-cache-cluster-primary.json +57 -0
- data/spec/files/describe-cache-cluster-replica-done.json +68 -0
- data/spec/files/describe-cache-cluster-replica.json +46 -0
- data/spec/files/describe-memcached-cluster.json +73 -0
- data/spec/files/describe-replication-group-primary-and-replica.json +49 -0
- data/spec/files/describe-replication-group-primary-only.json +38 -0
- data/spec/files/outputs-formation.json +0 -4
- data/spec/files/sample-replica-cluster.json +51 -0
- data/spec/files/sample-replication-group.json +34 -0
- data/spec/lib/cloud_formation/bridge/executor_spec.rb +1 -1
- data/spec/lib/cloud_formation/bridge/request_spec.rb +17 -5
- data/spec/lib/cloud_formation/bridge/resources/elasti_cache_node_urls_spec.rb +61 -0
- data/spec/lib/cloud_formation/bridge/resources/elasti_cache_replica_cluster_spec.rb +67 -0
- data/spec/lib/cloud_formation/bridge/resources/elasti_cache_replication_group_spec.rb +65 -0
- data/spec/support/file_support.rb +6 -0
- metadata +40 -2
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: cfn-bridge
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.10
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Maurício Linhares
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014- | 
| 11 | 
            +
            date: 2014-09-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         | 
| @@ -204,19 +204,40 @@ files: | |
| 204 204 | 
             
            - lib/cloud_formation/bridge/poller.rb
         | 
| 205 205 | 
             
            - lib/cloud_formation/bridge/request.rb
         | 
| 206 206 | 
             
            - lib/cloud_formation/bridge/resources/base.rb
         | 
| 207 | 
            +
            - lib/cloud_formation/bridge/resources/base_elasti_cache_resource.rb
         | 
| 207 208 | 
             
            - lib/cloud_formation/bridge/resources/cloud_formation_outputs.rb
         | 
| 209 | 
            +
            - lib/cloud_formation/bridge/resources/elasti_cache_node_urls.rb
         | 
| 210 | 
            +
            - lib/cloud_formation/bridge/resources/elasti_cache_replica_cluster.rb
         | 
| 211 | 
            +
            - lib/cloud_formation/bridge/resources/elasti_cache_replication_group.rb
         | 
| 208 212 | 
             
            - lib/cloud_formation/bridge/resources/subscribe_queue_to_topic.rb
         | 
| 209 213 | 
             
            - lib/cloud_formation/bridge/util.rb
         | 
| 210 214 | 
             
            - lib/cloud_formation/bridge/version.rb
         | 
| 215 | 
            +
            - spec/files/create-cache-node-urls-message.json
         | 
| 216 | 
            +
            - spec/files/create-redis-cache-node-urls-message.json
         | 
| 217 | 
            +
            - spec/files/create-replica-cluster-message.json
         | 
| 218 | 
            +
            - spec/files/create-replication-group-message.json
         | 
| 219 | 
            +
            - spec/files/delete-replica-cluster-message.json
         | 
| 220 | 
            +
            - spec/files/delete-replication-group-message.json
         | 
| 221 | 
            +
            - spec/files/describe-cache-cluster-primary.json
         | 
| 222 | 
            +
            - spec/files/describe-cache-cluster-replica-done.json
         | 
| 223 | 
            +
            - spec/files/describe-cache-cluster-replica.json
         | 
| 224 | 
            +
            - spec/files/describe-memcached-cluster.json
         | 
| 225 | 
            +
            - spec/files/describe-replication-group-primary-and-replica.json
         | 
| 226 | 
            +
            - spec/files/describe-replication-group-primary-only.json
         | 
| 211 227 | 
             
            - spec/files/outputs-formation.json
         | 
| 212 228 | 
             
            - spec/files/sample-create-message.json
         | 
| 213 229 | 
             
            - spec/files/sample-delete-message.json
         | 
| 230 | 
            +
            - spec/files/sample-replica-cluster.json
         | 
| 231 | 
            +
            - spec/files/sample-replication-group.json
         | 
| 214 232 | 
             
            - spec/files/subscribe-to-sns-formation.json
         | 
| 215 233 | 
             
            - spec/files/test-formation.json
         | 
| 216 234 | 
             
            - spec/lib/cloud_formation/bridge/executor_spec.rb
         | 
| 217 235 | 
             
            - spec/lib/cloud_formation/bridge/poller_spec.rb
         | 
| 218 236 | 
             
            - spec/lib/cloud_formation/bridge/request_spec.rb
         | 
| 219 237 | 
             
            - spec/lib/cloud_formation/bridge/resources/cloud_formation_outputs_spec.rb
         | 
| 238 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_node_urls_spec.rb
         | 
| 239 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_replica_cluster_spec.rb
         | 
| 240 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_replication_group_spec.rb
         | 
| 220 241 | 
             
            - spec/lib/cloud_formation/bridge/resources/subscribe_queue_to_topic_spec.rb
         | 
| 221 242 | 
             
            - spec/spec_helper.rb
         | 
| 222 243 | 
             
            - spec/support/cloud_formation_creator.rb
         | 
| @@ -246,15 +267,32 @@ signing_key: | |
| 246 267 | 
             
            specification_version: 4
         | 
| 247 268 | 
             
            summary: Implements custom operations for CF calls
         | 
| 248 269 | 
             
            test_files:
         | 
| 270 | 
            +
            - spec/files/create-cache-node-urls-message.json
         | 
| 271 | 
            +
            - spec/files/create-redis-cache-node-urls-message.json
         | 
| 272 | 
            +
            - spec/files/create-replica-cluster-message.json
         | 
| 273 | 
            +
            - spec/files/create-replication-group-message.json
         | 
| 274 | 
            +
            - spec/files/delete-replica-cluster-message.json
         | 
| 275 | 
            +
            - spec/files/delete-replication-group-message.json
         | 
| 276 | 
            +
            - spec/files/describe-cache-cluster-primary.json
         | 
| 277 | 
            +
            - spec/files/describe-cache-cluster-replica-done.json
         | 
| 278 | 
            +
            - spec/files/describe-cache-cluster-replica.json
         | 
| 279 | 
            +
            - spec/files/describe-memcached-cluster.json
         | 
| 280 | 
            +
            - spec/files/describe-replication-group-primary-and-replica.json
         | 
| 281 | 
            +
            - spec/files/describe-replication-group-primary-only.json
         | 
| 249 282 | 
             
            - spec/files/outputs-formation.json
         | 
| 250 283 | 
             
            - spec/files/sample-create-message.json
         | 
| 251 284 | 
             
            - spec/files/sample-delete-message.json
         | 
| 285 | 
            +
            - spec/files/sample-replica-cluster.json
         | 
| 286 | 
            +
            - spec/files/sample-replication-group.json
         | 
| 252 287 | 
             
            - spec/files/subscribe-to-sns-formation.json
         | 
| 253 288 | 
             
            - spec/files/test-formation.json
         | 
| 254 289 | 
             
            - spec/lib/cloud_formation/bridge/executor_spec.rb
         | 
| 255 290 | 
             
            - spec/lib/cloud_formation/bridge/poller_spec.rb
         | 
| 256 291 | 
             
            - spec/lib/cloud_formation/bridge/request_spec.rb
         | 
| 257 292 | 
             
            - spec/lib/cloud_formation/bridge/resources/cloud_formation_outputs_spec.rb
         | 
| 293 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_node_urls_spec.rb
         | 
| 294 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_replica_cluster_spec.rb
         | 
| 295 | 
            +
            - spec/lib/cloud_formation/bridge/resources/elasti_cache_replication_group_spec.rb
         | 
| 258 296 | 
             
            - spec/lib/cloud_formation/bridge/resources/subscribe_queue_to_topic_spec.rb
         | 
| 259 297 | 
             
            - spec/spec_helper.rb
         | 
| 260 298 | 
             
            - spec/support/cloud_formation_creator.rb
         |