378 Commits

Author SHA1 Message Date
doapp-ryanp
3aaeb85adf remove select key 2015-09-28 08:32:29 -05:00
Kamil Burzynski
4199c88b6d Fixed stage selector during lambda deploy 2015-09-28 14:22:51 +02:00
Ryan Pendergast
f60564f695 Merge pull request #170 from shortjared/tag-all-behavior-clarity
Explicit defining of tag type required, "all" is now "both"
2015-09-27 23:03:46 -05:00
doapp-ryanp
775dacc3ea Merge branch 'master' of github.com:jaws-framework/JAWS 2015-09-27 22:51:35 -05:00
doapp-ryanp
ff13834ca7 aaDataModelStage change 2015-09-27 22:51:03 -05:00
Ryan Pendergast
00c23eb8ae Merge pull request #171 from shortjared/master
s/Modlue/Module/
2015-09-27 22:22:15 -05:00
Jared Short
792226c9ca s/Modlue/Module/ 2015-09-27 23:13:43 -04:00
Jared Short
36a26c95df Explicit defining of tag type required, "all" is now "both" 2015-09-27 21:33:29 -04:00
Jared Short
0f6758de00 Tag all can now tag all endpoints and lambdas in one command
A proposed solution to jaws-framework/JAWS#164.

Implements a new “all” type which allows a user to tag all Lambdas and
Endpoints in one command. It also makes this the default command when
running a bare `jaws tag --tag-all` or `jaws tag --untag-all` with no
type option.
2015-09-27 16:26:22 -04:00
Austen Collins
42904479de jaws: update 2015-09-26 13:12:07 -07:00
Austen
050374f4a5 Merge pull request #157 from joostfarla/regex
Allow custom selectionPattern attributes
2015-09-26 09:26:56 -07:00
Joost Farla
a900bffb97 Make Lambda permission stage-independent 2015-09-26 12:22:21 +02:00
doapp-ryanp
b52b338f20 remove es6 specific. start to refactor run 2015-09-25 15:57:02 -05:00
Aaron Boushley
77f264eaff Refactor jawsDebug to auto find context. 2015-09-25 10:06:14 -07:00
Joost Farla
890202914f Allow custom selectionPattern attributes 2015-09-25 13:38:49 +02:00
Aaron Boushley
c0b8076563 Convert logIfVerbose to jawsDebug. 2015-09-24 19:28:09 -07:00
Aaron Boushley
32e515184e Fix credentials file created with 'undefined'.
There were two problems here.

First we were calling `writeFile` with no
contents parameter which resulted in putting the string "undefined" into
the contents of the file.

Second we were calling `writeFile` which is asynchronous and not waiting
on the promise and proceeding as if it was synchronous.

Lastly this creates this hidden folder with restricted permissions since it
does contain credentials.
2015-09-24 19:23:05 -07:00
Aaron Boushley
07a58cba15 Don't show profile prompt when you have credentials.
This was throwing an error because the credentials file doesn't exist yet and we were calling `profilesMap()`.
2015-09-24 19:23:05 -07:00
doapp-ryanp
161c9fca6c env list shows all regions, highlights regions where var is not set 2015-09-24 20:56:50 -05:00
doapp-ryanp
bfde87fed5 whoh big bug in includepaths for optimize 2015-09-24 15:36:41 -05:00
doapp-ryanp
4e90c7909e Merge branch 'master' of github.com:jaws-framework/JAWS 2015-09-24 15:20:14 -05:00
doapp-ryanp
3442037a7e awsm install bugfixes. change env var JAWS_DATA_MODEL_PREFIX to JAWS_DATA_MODEL_STAGE 2015-09-24 15:20:09 -05:00
Austen Collins
5b6c426411 tests: fix new project test to use 'DomainName' resources parameter 2015-09-24 12:54:41 -07:00
Austen Collins
2a3efef9e2 resources: Change one of the JAWS standard params. aaHostedZone is now aaProjectDomain 2015-09-24 12:44:28 -07:00
Austen
072b3d86a8 Merge pull request #155 from jaws-framework/resources
Resources
2015-09-24 12:04:31 -07:00
Austen Collins
a2dce9c8be deploy resources: complete command 2015-09-24 12:03:21 -07:00
Austen Collins
54f4e5a6b6 deploy resources: start command 2015-09-24 08:19:03 -07:00
Jacob Evans
f86b55d770 Reworked the recursive search for cf.
My resources werent being updated as the readdirRecursiveAsync was only ever returning a top level stage direcotry and not descending correctly.
2015-09-24 10:36:14 +10:00
Austen Collins
5b5371b0af deploy endpoints: large change that swaps out how api-gateway gets permission to invoke lambdas.
Instead of specifying an IAM policy when creating the API Gateway method's integration, the individual lambda's access policy is
updated.  The reason for this is that the first method results in an extra ~500ms of latency.  Now, JAWS REST APIs should be much faster.
However, this might result in breaking changes (sorry).
2015-09-23 17:16:39 -07:00
Austen Collins
0c9599eafb deploy endpoints: revert back to old way until aws responds 2015-09-23 12:47:41 -07:00
Austen Collins
11a3461e56 deploy endpoints: fix duplicate resource bug 2015-09-23 08:55:42 -07:00
Dave Newman
0a33c1826f Add option to compile with babel 2015-09-22 20:45:15 -07:00
Ryan Pendergast
01e3e1edf3 Merge pull request #144 from boushley/silent-admin-dotenv
Don't show an error when loading admin.env...
2015-09-22 19:50:04 -05:00
Austen Collins
ccf37d9eeb deploy endpoint: fix response parameters which will enable CORS support 2015-09-22 15:53:29 -07:00
Aaron Boushley
d2fec16f17 Don't show an error when loading admin.env...
Well, don't show an error if we already have the environment variables we need.
2015-09-22 15:36:44 -07:00
Austen Collins
01d70005c1 deploy endpoint: debug 2015-09-22 15:08:18 -07:00
Austen Collins
05e9fe6399 fix conflict 2015-09-22 14:36:08 -07:00
Austen Collins
7d0ba14efe minor changes 2015-09-22 14:20:13 -07:00
doapp-ryanp
ffd5b5f8e3 cleanup gitignore. add gitignore to new jaws project 2015-09-22 15:31:45 -05:00
doapp-ryanp
88521f9b8e dont include dotenv in new js modules 2015-09-22 13:50:41 -05:00
doapp-ryanp
5eaab54cee new region fix 2015-09-22 10:50:12 -05:00
doapp-ryanp
097bcc21be Merge branch 'master' of github.com:jaws-framework/JAWS 2015-09-22 09:58:14 -05:00
doapp-ryanp
7b43a63e04 fix and cleanup test cases 2015-09-22 09:58:10 -05:00
Jacob Evans
4adc77ed56 This had to be fixed! 2015-09-22 21:27:34 +10:00
Jacob Evans
38f92b8b84 Use JawsCLI log 2015-09-22 17:22:04 +10:00
Jacob Evans
4c15d37bc2 Fix up requires 2015-09-22 17:18:38 +10:00
Jacob Evans
55d9939f8b Added a basic test run 2015-09-22 17:15:46 +10:00
Jacob Evans
24597d2a11 Fleshed out the context object 2015-09-22 16:56:08 +10:00
Jacob Evans
e6da314236 Updates with master 2015-09-22 16:56:08 +10:00
Jacob Evans
28e15a1210 Run command
Run the handler in the environment, pulling from s3 env if required
2015-09-22 16:56:08 +10:00