Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
patch garnet framework integration with latest version (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: asanode-aws <[email protected]>
  • Loading branch information
dwendland and asanode-aws authored Dec 20, 2023
1 parent e68acc7 commit 3c78188
Show file tree
Hide file tree
Showing 80 changed files with 5,523 additions and 2,724 deletions.
2 changes: 1 addition & 1 deletion examples/aws-garnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
AWS Garnet Framework is an open-source framework aimed at simplifying the creation and operation of interoperable platforms across diverse domains, including Smart Cities, Energy, Agriculture, and more.
Compliant with the NGSI-LD open standard and harnessing NGSI-LD compliant Smart Data Models, this solution promotes openness and efficiency.
At its core, AWS Garnet Framework integrates the FIWARE Context Broker, an integral component that facilitates data management.
[In the official project GitHub repository](https://github.com/aws-samples/aws-stf-core), you'll find the necessary resources to deploy both the FIWARE Context Broker and the Garnet IoT module as separate AWS Cloud Development Kit (CDK) nested stacks, offering a flexible and modular approach to enhance and integrate existing solutions over time.
[In the official project GitHub repository](https://github.com/awslabs/garnet-framework), you'll find the necessary resources to deploy both the FIWARE Context Broker and the Garnet IoT module as separate AWS Cloud Development Kit (CDK) nested stacks, offering a flexible and modular approach to enhance and integrate existing solutions over time.

For the context of Data Spaces, the AWS Garnet Framwork can be extended with the capabilities of the FIWARE Data Spaces Connector, which can instrument an existing deployment of the FIWARE Context Broker, as seen in other examples of this repository.

Expand Down
6 changes: 3 additions & 3 deletions examples/aws-garnet/scenario-1-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ kubectl create namespace ips
helm repo add dsc https://fiware-ops.github.io/data-space-connector/
```

* Install the Helm Chart using the provided file `./yaml/values-dsc-awl-load-balancer-controller-scenario1.yaml` [available in this repository](./yaml/values-dsc-awl-load-balancer-controller-scenario1.yaml)
* Install the Helm Chart using the provided file `./yaml/values-dsc-aws-load-balancer-controller-scenario1.yaml` [available in this repository](./yaml/values-dsc-aws-load-balancer-controller-scenario1.yaml)

```shell
helm install -n ips -f ./yaml/values-dsc-awl-load-balancer-controller-scenario1.yaml ips-dsc dsc/data-space-connector
helm install -n ips -f ./yaml/values-dsc-aws-load-balancer-controller-scenario1.yaml ips-dsc dsc/data-space-connector
```

### Deployment of AWS Garnet Framework IoT Module
An AWS CDK project modified from the AWS Garnet Framwork main project is available in [this repository](./aws-garnet-iot-module/). The project was modified so ONLY the AWS Garnet Framwrork IoT Module is deployed once the CDK stacks are deployed. To integrate this module to the Context Broker deployed in the Amazon EKS Cluster, 2 main parameters must be set in the `./aws-garnet-iot-module/parameters.ts` file :
An AWS CDK project modified from the AWS Garnet Framework main project is available in [this repository](./aws-garnet-iot-module/). The project was modified so ONLY the AWS Garnet Framwrork IoT Module is deployed once the CDK stacks are deployed. To integrate this module to the Context Broker deployed in the Amazon EKS Cluster, 2 main parameters must be set in the `./aws-garnet-iot-module/parameters.ts` file :

```shell
// FIWARE DATA SPACE CONNECTOR PARAMETERS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MIT No Attribution

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
## Garnet Framework
## Garnet Framework

**Garnet replaces the Smart Territory Framework.**
> Garnet Framework replaces the Smart Territory Framework
__Explore the [documentation website of Garnet Framework](https://garnet-framework.dev/docs) to get started.__

Garnet is an open-source framework for building scalable, reliable and interoperable platforms leveraging open standards, FIWARE open source technology and AWS Cloud services.

It supports the development and integration of smart and efficient solutions across multiple domains such as Smart Cities, Regions and Campuses, Energy and Utilities, Agriculture, Smart Building and Manufacturing.
It supports the development and integration of smart and efficient solutions across multiple domains such as Smart Cities, Regions and Campuses, Energy and Utilities, Agriculture, Smart Building, Automotive and Manufacturing.

Garnet facilitates the creation and connection of smart solutions. It helps you avoid vendor lock-in and break silos. It makes it easier to bring data together into one single space from heterogeneous sources, both internal and external, and extract insights from it.
Garnet facilitates the creation and connection of smart solutions. It provides you, off-the-shelf, geospatial and subscriptions capabilities, datalake, device management and digital twin capabilities. It helps you avoid vendor lock-in and break silos. It makes it easier to build knowledge graphs, bring data together into one single space from heterogeneous sources, both internal and external, and extract actionable insights from your data.

Using Garnet, you can easily integrate existing solutions and add new capabilities and modules over time.

There are only three types of components in a platform and solutions built using Garnet: Data Producers, Data Consumers and Garnet as the core platform.

Garnet is the core component of your platform. It all starts with it.

## Getting Started

Explore the [documentation website of Garnet Framework](https://garnet-framework.dev/docs) to get started.

## Security

See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.

## License

This library is licensed under the MIT-0 License. See the LICENSE file.

__Documentation website coming soon.__
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ const app = new App();

new GarnetStack(app, 'Garnet', {
stackName: 'Garnet',
description: 'Garnet Framework is an open-source framework for building scalable, reliable and interoperable platforms - (uksb-1tupboc26)',
env: { region: Parameters.aws_region }
})
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,47 @@
]
},
"context": {
"@aws-cdk/customresources:installLatestAwsSdkDefault": false,
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
"@aws-cdk/core:stackRelativeExports": true,
"@aws-cdk/aws-rds:lowercaseDbIdentifier": true,
"@aws-cdk/aws-lambda:recognizeVersionProps": true,
"@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": true,
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
"@aws-cdk/core:checkSecretUsage": true,
"@aws-cdk/core:target-partitions": [
"aws",
"aws-cn"
]
],
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
"@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
"@aws-cdk/aws-iam:minimizePolicies": true,
"@aws-cdk/core:validateSnapshotRemovalPolicy": true,
"@aws-cdk/aws-codepipeline:crossAccountKeyAliasStackSafeResourceName": true,
"@aws-cdk/aws-s3:createDefaultLoggingPolicy": true,
"@aws-cdk/aws-sns-subscriptions:restrictSqsDescryption": true,
"@aws-cdk/aws-apigateway:disableCloudWatchRole": true,
"@aws-cdk/core:enablePartitionLiterals": true,
"@aws-cdk/aws-events:eventsTargetQueueSameAccount": true,
"@aws-cdk/aws-iam:standardizedServicePrincipals": true,
"@aws-cdk/aws-ecs:disableExplicitDeploymentControllerForCircuitBreaker": true,
"@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": true,
"@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": true,
"@aws-cdk/aws-route53-patters:useCertificate": true,
"@aws-cdk/customresources:installLatestAwsSdkDefault": false,
"@aws-cdk/aws-rds:databaseProxyUniqueResourceName": true,
"@aws-cdk/aws-codedeploy:removeAlarmsFromDeploymentGroup": true,
"@aws-cdk/aws-apigateway:authorizerChangeDeploymentLogicalId": true,
"@aws-cdk/aws-ec2:launchTemplateDefaultUserData": true,
"@aws-cdk/aws-secretsmanager:useAttachedSecretResourcePolicyForSecretTargetAttachments": true,
"@aws-cdk/aws-redshift:columnId": true,
"@aws-cdk/aws-stepfunctions-tasks:enableEmrServicePolicyV2": true,
"@aws-cdk/aws-ec2:restrictDefaultSecurityGroup": true,
"@aws-cdk/aws-apigateway:requestValidatorUniqueId": true,
"@aws-cdk/aws-kms:aliasNameRef": true,
"@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig": true,
"@aws-cdk/core:includePrefixInUniqueNameGeneration": true,
"@aws-cdk/aws-efs:denyAnonymousAccess": true,
"@aws-cdk/aws-opensearchservice:enableOpensearchMultiAzWithStandby": true,
"@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion": true,
"@aws-cdk/aws-efs:mountTargetOrderInsensitiveLogicalId": true,
"@aws-cdk/aws-rds:auroraClusterChangeScopeOfInstanceParameterGroupWithEachParameters": true,
"@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier": true,
"@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials": true
}
}
Loading

0 comments on commit 3c78188

Please sign in to comment.