Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update version to 2.9.0 #509

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ underline=$(tput smul)
notunderline=$(tput rmul)
notbold=$(tput sgr0)

version () { echo "awssdlf/2.8.0"; }
version () { echo "awssdlf/2.9.0"; }

usage () { echo "
--version -- Prints the SDLF version
Expand Down
2 changes: 1 addition & 1 deletion sdlf-cicd/deploy-generic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ die() {
exit 1
}

version () { echo "awssdlf/2.8.0"; }
version () { echo "awssdlf/2.9.0"; }

usage () { echo "
Serverless Data Lake Framework (SDLF) is a collection of infrastructure-as-code artifacts to deploy data architectures on AWS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import boto3
from boto3.dynamodb.conditions import Attr, Key
from boto3.dynamodb.types import TypeSerializer
from botocore.client import Config
from botocore.exceptions import ClientError

from ..commons import deserialize_dynamodb_item, init_logger, serialize_dynamodb_item
Expand All @@ -25,7 +26,8 @@ class DynamoInterface:
def __init__(self, configuration, log_level=None, dynamodb_client=None):
self.log_level = log_level or os.getenv("LOG_LEVEL", "INFO")
self._logger = init_logger(__name__, self.log_level)
self.dynamodb_client = dynamodb_client or boto3.client("dynamodb")
session_config = Config(user_agent="awssdlf/2.9.0")
self.dynamodb_client = dynamodb_client or boto3.client("dynamodb", config=session_config)

self._config = configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class S3Interface:
def __init__(self, log_level=None, s3_client=None):
self.log_level = log_level or os.getenv("LOG_LEVEL", "INFO")
self._logger = init_logger(__name__, self.log_level)
self._session_config = Config(user_agent="awssdlf/2.3.0")
self._session_config = Config(user_agent="awssdlf/2.9.0")
self._s3_client = s3_client or boto3.client("s3", config=self._session_config)

def download_object(self, bucket, key):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import uuid

import boto3
from botocore.client import Config
from botocore.exceptions import ClientError

from ..commons import init_logger
Expand All @@ -13,7 +14,8 @@ def __init__(self, queue_name, log_level=None, sqs_client=None):
self.log_level = log_level or os.getenv("LOG_LEVEL", "INFO")
self._logger = init_logger(__name__, self.log_level)
sqs_endpoint_url = "https://sqs." + os.getenv("AWS_REGION") + ".amazonaws.com"
self._sqs_client = sqs_client or boto3.client("sqs", endpoint_url=sqs_endpoint_url)
session_config = Config(user_agent="awssdlf/2.9.0")
self._sqs_client = sqs_client or boto3.client("sqs", endpoint_url=sqs_endpoint_url, config=session_config)

self._message_queue = self._sqs_client.get_queue_url(QueueName=queue_name)["QueueUrl"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from datetime import date, datetime

import boto3
from botocore.client import Config

from ..commons import init_logger

Expand All @@ -12,7 +13,10 @@ def __init__(self, log_level=None, states_client=None):
self.log_level = log_level or os.getenv("LOG_LEVEL", "INFO")
self._logger = init_logger(__name__, self.log_level)
stepfunctions_endpoint_url = "https://states." + os.getenv("AWS_REGION") + ".amazonaws.com"
self._states_client = states_client or boto3.client("stepfunctions", endpoint_url=stepfunctions_endpoint_url)
session_config = Config(user_agent="awssdlf/2.9.0")
self._states_client = states_client or boto3.client(
"stepfunctions", endpoint_url=stepfunctions_endpoint_url, config=session_config
)

@staticmethod
def json_serial(obj):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__title__ = "SDLF"
__version__ = "2.8.0"
__version__ = "2.9.0"
2 changes: 1 addition & 1 deletion sdlf-dataset/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.dataset"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand Down
2 changes: 1 addition & 1 deletion sdlf-foundations/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.foundations"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand Down
4 changes: 2 additions & 2 deletions sdlf-foundations/src/lambda/catalog/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
from botocore.config import Config
from botocore.exceptions import ClientError

session_config = Config(user_agent_extra="awssdlf/2.8.0")
session_config = Config(user_agent_extra="awssdlf/2.9.0")

logger = logging.getLogger()
logger.setLevel(logging.INFO)
dynamodb = boto3.client("dynamodb")
dynamodb = boto3.client("dynamodb", config=session_config)
catalog_table = os.getenv("OBJECTMETADATA_TABLE")


Expand Down
2 changes: 1 addition & 1 deletion sdlf-pipeline/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.pipeline"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand Down
4 changes: 2 additions & 2 deletions sdlf-stage-ecsfargate/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.stage-ecsfargate"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand All @@ -18,7 +18,7 @@ exclude = ["**/*.yaml"]
python = "^3.12"
aws-cdk-lib = "^2.159.1"
constructs = ">=10.0.0,<11.0.0"
sdlf-pipeline = "^2.8.0"
sdlf-pipeline = "^2.9.0"

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions sdlf-stage-emrserverless/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.stage-emrserverless"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand All @@ -18,7 +18,7 @@ exclude = ["**/*.yaml"]
python = "^3.12"
aws-cdk-lib = "^2.159.1"
constructs = ">=10.0.0,<11.0.0"
sdlf-pipeline = "^2.8.0"
sdlf-pipeline = "^2.9.0"

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions sdlf-stage-glue/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.stage-glue"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand All @@ -18,7 +18,7 @@ exclude = ["**/*.yaml"]
python = "^3.12"
aws-cdk-lib = "^2.159.1"
constructs = ">=10.0.0,<11.0.0"
sdlf-pipeline = "^2.8.0"
sdlf-pipeline = "^2.9.0"

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions sdlf-stage-lambda/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.stage-lambda"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand All @@ -18,7 +18,7 @@ exclude = ["**/*.yaml"]
python = "^3.11"
aws-cdk-lib = "^2.159.1"
constructs = ">=10.0.0,<11.0.0"
#sdlf-pipeline = "^2.8.0"
#sdlf-pipeline = "^2.9.0"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion sdlf-team/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sdlf.team"
version = "2.8.0"
version = "2.9.0"
description = "AWS Serverless Data Lake Framework"
authors = ["Amazon Web Services"]
license = "MIT-0"
Expand Down
Loading