I got most of the way through, then got stuck on a non-cloud step (running on windows):
./aws-api-import.sh --create /path/to/secure-pet-store/src/main/resources/swagger.yaml
I can always create the lambda functions manually base don the yaml content.
The maven assembly command builds however then all the tests fail. When I try just the compile, that works. I was expecting/hoping that a jar would have been created - that did not happen as a result of the assembly. All the tests fail - various exceptions.
%mvn org.apache.maven.plugins:maven-compiler-plugin:compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building aws-apigateway-importer 1.0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-cli) @ aws-apigateway-importer ---
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.870s
[INFO] Finished at: Mon Mar 21 22:50:34 EDT 2016
[INFO] Final Memory: 12M/309M
[INFO] ------------------------------------------------------------------------
%
%ls -la target
total 16
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 .
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 ..
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 classes
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 generated-sources
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 generated-test-sources
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:51 surefire
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 surefire-reports
drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 test-classes
I got most of the way through, then got stuck on a non-cloud step (running on windows): ./aws-api-import.sh --create /path/to/secure-pet-store/src/main/resources/swagger.yaml
I can always create the lambda functions manually base don the yaml content.
The maven assembly command builds however then all the tests fail. When I try just the compile, that works. I was expecting/hoping that a jar would have been created - that did not happen as a result of the assembly. All the tests fail - various exceptions.
%mvn org.apache.maven.plugins:maven-compiler-plugin:compile [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building aws-apigateway-importer 1.0.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2 [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-cli) @ aws-apigateway-importer --- [INFO] Nothing to compile - all classes are up to date [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.870s [INFO] Finished at: Mon Mar 21 22:50:34 EDT 2016 [INFO] Final Memory: 12M/309M [INFO] ------------------------------------------------------------------------ % %ls -la target total 16 drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 . drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 .. drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 classes drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 generated-sources drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 generated-test-sources drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:51 surefire drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 surefire-reports drwxrwxr-x+ 1 behrens behrens 0 Mar 21 22:14 test-classes