-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement cloud build configuration and entry point in run.js for origin examples * Fix package.json on examples
- Loading branch information
Showing
23 changed files
with
325 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { declareRuntimeEnv } from 'resolve-scripts' | ||
|
||
export default { | ||
target: 'cloud', | ||
mode: 'production', | ||
staticPath: declareRuntimeEnv('CLOUD_STATIC_URL'), | ||
subscribeAdapter: { | ||
module: 'resolve-subscribe-mqtt', | ||
options: {} | ||
}, | ||
storageAdapter: { | ||
module: 'resolve-storage-dynamo', | ||
options: { | ||
tableName: declareRuntimeEnv('DYNAMODB_TABLE_NAME'), | ||
skipInit: true | ||
} | ||
}, | ||
readModelAdapters: [ | ||
{ | ||
name: 'default', | ||
module: 'resolve-readmodel-mysql', | ||
options: { | ||
host: declareRuntimeEnv('SQL_HOST'), | ||
database: declareRuntimeEnv('SQL_DATABASE'), | ||
user: declareRuntimeEnv('SQL_USER'), | ||
password: declareRuntimeEnv('SQL_PASSWORD') | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { declareRuntimeEnv } from 'resolve-scripts' | ||
|
||
export default { | ||
target: 'cloud', | ||
mode: 'production', | ||
staticPath: declareRuntimeEnv('CLOUD_STATIC_URL'), | ||
subscribeAdapter: { | ||
module: 'resolve-subscribe-mqtt', | ||
options: {} | ||
}, | ||
storageAdapter: { | ||
module: 'resolve-storage-dynamo', | ||
options: { | ||
tableName: declareRuntimeEnv('DYNAMODB_TABLE_NAME'), | ||
skipInit: true | ||
} | ||
}, | ||
readModelAdapters: [ | ||
{ | ||
name: 'default', | ||
module: 'resolve-readmodel-mysql', | ||
options: { | ||
host: declareRuntimeEnv('SQL_HOST'), | ||
database: declareRuntimeEnv('SQL_DATABASE'), | ||
user: declareRuntimeEnv('SQL_USER'), | ||
password: declareRuntimeEnv('SQL_PASSWORD') | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { declareRuntimeEnv } from 'resolve-scripts' | ||
|
||
export default { | ||
target: 'cloud', | ||
mode: 'production', | ||
staticPath: declareRuntimeEnv('CLOUD_STATIC_URL'), | ||
subscribeAdapter: { | ||
module: 'resolve-subscribe-mqtt', | ||
options: {} | ||
}, | ||
storageAdapter: { | ||
module: 'resolve-storage-dynamo', | ||
options: { | ||
tableName: declareRuntimeEnv('DYNAMODB_TABLE_NAME'), | ||
skipInit: true | ||
} | ||
}, | ||
readModelAdapters: [ | ||
{ | ||
name: 'default', | ||
module: 'resolve-readmodel-mysql', | ||
options: { | ||
host: declareRuntimeEnv('SQL_HOST'), | ||
database: declareRuntimeEnv('SQL_DATABASE'), | ||
user: declareRuntimeEnv('SQL_USER'), | ||
password: declareRuntimeEnv('SQL_PASSWORD') | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { declareRuntimeEnv } from 'resolve-scripts' | ||
|
||
export default { | ||
target: 'cloud', | ||
mode: 'production', | ||
staticPath: declareRuntimeEnv('CLOUD_STATIC_URL'), | ||
subscribeAdapter: { | ||
module: 'resolve-subscribe-mqtt', | ||
options: {} | ||
}, | ||
storageAdapter: { | ||
module: 'resolve-storage-dynamo', | ||
options: { | ||
tableName: declareRuntimeEnv('DYNAMODB_TABLE_NAME'), | ||
skipInit: true | ||
} | ||
}, | ||
readModelAdapters: [ | ||
{ | ||
name: 'default', | ||
module: 'resolve-readmodel-mysql', | ||
options: { | ||
host: declareRuntimeEnv('SQL_HOST'), | ||
database: declareRuntimeEnv('SQL_DATABASE'), | ||
user: declareRuntimeEnv('SQL_USER'), | ||
password: declareRuntimeEnv('SQL_PASSWORD') | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { declareRuntimeEnv } from 'resolve-scripts' | ||
|
||
export default { | ||
target: 'cloud', | ||
mode: 'production', | ||
staticPath: declareRuntimeEnv('CLOUD_STATIC_URL'), | ||
subscribeAdapter: { | ||
module: 'resolve-subscribe-mqtt', | ||
options: {} | ||
}, | ||
storageAdapter: { | ||
module: 'resolve-storage-dynamo', | ||
options: { | ||
tableName: declareRuntimeEnv('DYNAMODB_TABLE_NAME'), | ||
skipInit: true | ||
} | ||
}, | ||
readModelAdapters: [ | ||
{ | ||
name: 'default', | ||
module: 'resolve-readmodel-mysql', | ||
options: { | ||
host: declareRuntimeEnv('SQL_HOST'), | ||
database: declareRuntimeEnv('SQL_DATABASE'), | ||
user: declareRuntimeEnv('SQL_USER'), | ||
password: declareRuntimeEnv('SQL_PASSWORD') | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.