Skip to content

Commit

Permalink
fix: remove hello.nrfcloud.com/map integration
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 23, 2024
1 parent f58b1e3 commit c8d1dcf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 101 deletions.
1 change: 0 additions & 1 deletion cdk/BackendLambdas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ type BackendLambdas = {
onNetworkSurveyLocated: PackedLambda
parseSinkMessages: PackedLambda
updatesToLwM2M: PackedLambda
publishLwM2MShadowsToJSON: PackedLambda
memfaultPublishReboots: PackedLambda
memfaultPollForReboots: PackedLambda
}
2 changes: 0 additions & 2 deletions cdk/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ new BackendApp({
updatesToLwM2M: await pack('updatesToLwM2M'),
memfaultPublishReboots: await pack('memfaultPublishReboots'),
memfaultPollForReboots: await pack('memfaultPollForReboots'),
// For hello.nrfcloud.com/map
publishLwM2MShadowsToJSON: await pack('publishLwM2MShadowsToJSON'),
},
layer: await packLayer({
id: 'baseLayer',
Expand Down
87 changes: 0 additions & 87 deletions cdk/resources/hello.nrfcloud.com/PublicLwM2MShadows.ts

This file was deleted.

11 changes: 0 additions & 11 deletions cdk/stacks/BackendStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { Wirepas5GMeshGateway } from '../resources/Wirepas5GMeshGateway.js'
import { STACK_NAME } from './stackName.js'
import { NRPlusGateway } from '../resources/NRPlusGateway.js'
import { LwM2M } from '../resources/LwM2M.js'
import { PublicLwM2MShadows } from '../resources/hello.nrfcloud.com/PublicLwM2MShadows.js'
import { Memfault } from '../resources/Memfault.js'

export class BackendStack extends Stack {
Expand Down Expand Up @@ -108,11 +107,6 @@ export class BackendStack extends Stack {

const wirepasGateway = new Wirepas5GMeshGateway(this)

const lwm2mPublicShadows = new PublicLwM2MShadows(this, {
lambdaSources,
baseLayer,
})

const memfault = new Memfault(this, {
assetTrackerStackName,
baseLayer,
Expand Down Expand Up @@ -157,11 +151,6 @@ export class BackendStack extends Stack {
exportName: `${this.stackName}:wirepasGatewayUserSecretAccessKey`,
})

new CfnOutput(this, 'publicLwM2MShadowsBucketURL', {
value: `https://${lwm2mPublicShadows.bucket.bucketDomainName}/`,
exportName: `${this.stackName}:publicLwM2MShadowsBucketURL`,
})

new CfnOutput(this, 'memfaultBucketURL', {
value: `https://${memfault.bucket.bucketDomainName}/`,
exportName: `${this.stackName}:memfaultBucketURL`,
Expand Down

0 comments on commit c8d1dcf

Please sign in to comment.