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

Missing ExecuteAll? Won't migrate... #84

Open
TimothyDalbey opened this issue Mar 9, 2017 · 4 comments
Open

Missing ExecuteAll? Won't migrate... #84

TimothyDalbey opened this issue Mar 9, 2017 · 4 comments

Comments

@TimothyDalbey
Copy link

Hey!

So, somehow my version of dynamoDB local is now missing the executeALL function? It's also refusing to load the migrations when I start the utility.

custom:
  dynamodb:
    start:
      port: 8001
      inMemory: true
      migration: true
    migration:
      table_prefix: ${opt:stage}
      dir: ./dynamolocal/migrations

The stage variable is set to local.

Help!

@TimothyDalbey
Copy link
Author

Here's the output of my local serverless command listing:


Commands
* Serverless documentation: http://docs.serverless.com
* You can run commands with "serverless" or the shortcut "sls"
* Pass "--help" after any <command> for contextual help

config credentials ............ Configures a new provider profile for the Serverless Framework
create ........................ Create new Serverless service
install ....................... Install a Serverless service from GitHub
deploy ........................ Deploy a Serverless service
deploy function ............... Deploy a single function from the service
deploy list ................... List deployed version of your Serverless Service
invoke ........................ Invoke a deployed function
invoke local .................. Invoke function locally
info .......................... Display information about the service
logs .......................... Output the logs of a deployed function
metrics ....................... Show metrics for a specific function
remove ........................ Remove Serverless service and all resources
rollback ...................... Rollback the Serverless service to a specific deployment
slstats ....................... Enable or disable stats
dynamodb migrate .............. Creates local DynamoDB tables from the current Serverless configuration
dynamodb start ................ Starts local DynamoDB
dynamodb remove ............... Removes local DynamoDB
dynamodb install .............. Installs local DynamoDB
offline ....................... Simulates API Gateway to call your lambda functions offline.
offline start ................. Simulates API Gateway to call your lambda functions offline using backward compatible initialization.

Plugins
AwsCompileApigEvents, AwsCompileFunctions, AwsCompileS3Events, AwsCompileSNSEvents, AwsCompileScheduledEvents, AwsCompileStreamEvents, AwsConfigCredentials, AwsDeploy, AwsDeployFunction, AwsDeployList, AwsInfo, AwsInvoke, AwsInvokeLocal, AwsLogs, AwsMetrics, AwsProvider, AwsRemove, AwsRollback, Config, Create, Deploy, Info, Install, Invoke, Logs, Metrics, Offline, Package, Remove, Rollback, ServerlessDynamodbLocal, SlStats

The exact same results come back from the sls command, of course.

@TimothyDalbey
Copy link
Author

Note: By downgrading to[email protected] I got the features back. I've built executeAll and the ability to load the migration tables into my deployment process.

@AshanFernando
Copy link
Collaborator

Hi @TimothyDalbey It seems like the seed functionality is not working properly in the latest version. Will have a look on this.

@darthtrevino
Copy link
Contributor

So the migration capability was removed in 0.2.19, and the project was restructured. A new seed feature was added in 0.2.20. This issue looks resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants