Skip to content

Commit

Permalink
fix imports after recent upstream CloudFormation changes (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
whummer authored Mar 7, 2024
1 parent a4c7c50 commit af5c499
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions aws-replicator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ localstack extensions install "git+https://github.com/localstack/localstack-exte

## Change Log

* `0.1.11`: Fix broken imports after recent upstream CloudFormation changes
* `0.1.10`: Add `REPLICATOR_PROXY_DOCKER_FLAGS` option to pass custom flags to proxy Docker containers
* `0.1.9`: Enhance proxy networking and add `REPLICATOR_LOCALSTACK_HOST` config option
* `0.1.8`: Add `REPLICATOR_CLEANUP_PROXY_CONTAINERS` option to skip removing proxy containers for debugging
Expand Down
5 changes: 3 additions & 2 deletions aws-replicator/aws_replicator/server/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from aws_replicator.config import HANDLER_PATH_PROXIES, HANDLER_PATH_REPLICATE
from aws_replicator.server import ui as web_ui
from aws_replicator.server.aws_request_forwarder import AwsProxyHandler
from aws_replicator.server.resource_replicator import ResourceReplicatorFormer2
from aws_replicator.shared.models import AddProxyRequest, ReplicateStateRequest, ResourceReplicator

LOG = logging.getLogger(__name__)
Expand Down Expand Up @@ -111,7 +110,9 @@ def handle_replicate_request(request: ReplicateStateRequest):


def _get_replicator() -> ResourceReplicator:
# TODO deprecated
from aws_replicator.server.resource_replicator import ResourceReplicatorFormer2

# TODO deprecated - fix the implementation of the replicator/copy logic!
# return ResourceReplicatorInternal()
return ResourceReplicatorFormer2()

Expand Down
2 changes: 1 addition & 1 deletion aws-replicator/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = localstack-extension-aws-replicator
version = 0.1.10
version = 0.1.11
summary = LocalStack Extension: AWS replicator
description = Replicate AWS resources into your LocalStack instance
long_description = file: README.md
Expand Down

0 comments on commit af5c499

Please sign in to comment.