Erik Erikson
ca5ba8daac
Remove unused parameters in platform.js (and deal with consequences)
...
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Erik Erikson
bf8d57fa9f
Improve Stage and Region Usage
...
Remove the errant (but understandable) distributed usage of region and stage settings. This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting. Instead, all code should use the centralized algorithm for determining such values. This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Carlos Hernando Carasol
bbade3d1a8
Basic logging for python invoke local
2017-10-31 12:45:20 +01:00
Daniel Schep
29a85498f5
Set stdin to a TTY in invoke.py to allow PDB use
...
Setting `sys.stdin` to a TTY prevents `pdb.set_trace()` from immediatly throwing
`BdbQuit`. I am unsure if there is a way to make this work in Windows
2017-10-10 14:40:23 -04:00
Rafal Wilinski
0b8f1b4678
Change colon to path.delimeter
2017-09-21 09:03:47 +02:00
Rafal Wilinski
cf3f4e6cd9
Change template literal to path.join
2017-09-20 13:03:39 +02:00
Rafal Wilinski
6e05ce8f9c
Merge branch 'master' into window-env-path
2017-09-19 16:04:14 +02:00
Rafal Wilinski
bfe1dedc3c
Obey VIRTUAL_ENV on Windows
2017-09-19 16:01:41 +02:00
Philipp Muens
a1cf9fd65e
Minor fixes
2017-09-18 12:29:37 +02:00
Philipp Muens
ff03b89c2f
Minor fixes to avoid race conditions
2017-09-18 11:06:14 +02:00
Rafal Wilinski
6b74a9c68b
Change fs sync calls to async graceful
2017-09-13 11:09:45 +02:00
Rafal Wilinski
5e8d67ce4b
Code review fixes
2017-09-13 10:59:14 +02:00
Rafal Wilinski
105de7a60f
Throw an error if artifact doesn't exist
2017-09-12 15:01:16 +02:00
Rafal Wilinski
a989b4e7d2
Get rid of log4j warnings
2017-09-12 14:48:26 +02:00
Rafal Wilinski
f3d9d0f53c
Add toString() notice
2017-09-12 14:39:18 +02:00
Rafal Wilinski
2d09606cba
Move gitignore declaration
2017-09-11 18:38:41 +02:00
Rafal Wilinski
c304aab55d
Change javaBridgePath to include pom.xml
2017-09-11 18:34:12 +02:00
Rafal Wilinski
43be48ab3c
Add missing maven source & target properties
2017-09-06 18:27:39 +02:00
Rafal Wilinski
0423c6e228
Improve tests coverage, add documentation
2017-09-06 12:43:34 +02:00
Rafal Wilinski
b1244996ac
Merge branch 'master' into invoke-local-maven
2017-09-04 16:28:14 +02:00
Rafal Wilinski
612cec59c5
Fix unit test
2017-09-04 16:24:41 +02:00
Philipp Muens
01efc5d0a1
Fix failing test to work on Windows
2017-09-04 11:51:56 +02:00
Philipp Muens
1121a8d36a
Update test for remainingTimes to be less strict about the time
2017-09-04 10:33:37 +02:00
Philipp Muens
bcf3a31ff5
Fix invokeLocal tests
2017-09-04 09:59:08 +02:00
Rafal Wilinski
b1425c5ad5
Context related fixes
2017-09-02 22:11:04 +02:00
Rafal Wilinski
3cf32ef60a
Add custom context passing
2017-09-02 22:02:16 +02:00
Rafal Wilinski
c9bb961fd0
Remove unnecessary code
2017-09-02 15:46:32 +02:00
Rafal Wilinski
faf696b77d
Add maven as dependency manager
2017-09-02 15:45:31 +02:00
Rafal Wilinski
a0303817b8
Invoke local java functionality
2017-09-01 19:15:33 +02:00
Mariusz Nowak
ce1f619976
Merge branch 'master' into fix-tests
2017-09-01 12:13:04 +02:00
Daniel Schep
8265b4984d
Fix Python invokeLocal regressions due to context changes
...
The changes in 1.21 allowing custom context introduced bugs in the
Python invoke local implementation:
* If no custom context is set it would error out because the handler
would never be called
* AWS Lambda context objects in python aren't dictionaries, they're
Python objects
2017-08-31 14:44:05 -04:00
Mariusz Nowak
d6b29ab338
Fix promises handling in AwsInvokeLocal tests
2017-08-25 11:27:07 +02:00
Rafal Wilinski
b5e1564ab6
Merge branch 'master' into add-context
2017-08-21 22:59:37 +02:00
Eslam λ Hefnawy
0530627b33
Merge pull request #4047 from Nevon/time-remaining-in-millis
...
Fix behavior of getRemainingTimeInMillis in local invokation
2017-08-21 21:31:54 +07:00
Rafał Wiliński
db439478ce
Fix failing test
2017-08-19 17:41:20 +02:00
Rafał Wiliński
5e5f71df65
Add context and contextPath flags to invoke local cmd
2017-08-19 17:30:52 +02:00
Philipp Muens
03afbcb03f
Merge pull request #4036 from dzimine/DZ/fix_3788
...
Optionally skip parsing input to JSON when using `invoke` and `invoke local`
2017-08-18 15:20:22 +02:00
Philipp Muens
03fa853bd6
Fix broken test
2017-08-18 14:01:52 +02:00
Philipp Muens
b05143e07a
Merge branch 'master' into py-win32-invokeLocal
2017-08-18 13:58:52 +02:00
Tommy Brunn
b21c330bd6
Skip Python test
2017-08-05 20:00:58 +02:00
Tommy Brunn
5a61f6c756
Test python implementation of get_remaining_time_in_millis
2017-08-05 19:47:46 +02:00
Tommy Brunn
35102ee3e6
Fix Python implementation of get_remaining_time_in_millis
2017-08-05 16:42:59 +02:00
Tommy Brunn
f150e03fd8
Remove destructuring to support older node
2017-08-05 16:34:08 +02:00
Tommy Brunn
d4766254a6
Fix behavior of getRemainingTimeInMillis in local invokation
2017-08-05 16:19:33 +02:00
Dmitri Zimine
c4374ec6b1
Optionally pass raw string, take 1
2017-08-03 10:28:53 -07:00
Philipp Muens
cf7a6fb4bf
Enhance tests for invoke local
2017-07-17 10:51:20 +02:00
Daniel Schep
1bce9eb1c3
Just remove PATH override to allow windows & non-standard locations & pyenv to work
2017-07-06 22:45:55 -04:00
Daniel Schep
d5e12e9ed0
Also set region env vars from config, not just CLI, for invoke local
2017-07-06 11:06:45 -04:00
Daniel Schep
bb725036cf
Just use python.exe on windows
2017-06-22 15:40:03 -04:00
Frank Schmid
aca8db9ba7
Set IS_LOCAL for every provider. Added unit tests.
2017-05-29 11:15:32 +02:00