Diana Lau
a529986c65
Merge pull request #106 from strongloop/docs/end-of-life
...
docs: end of life
2021-03-05 19:59:17 -05:00
Miroslav Bajtoš
c362bcf930
docs: end of life
...
LB3 has reached end of life and this connector does not support LB4.
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2021-03-03 09:23:27 +01:00
Miroslav Bajtoš
64c88ab382
Merge pull request #105 from strongloop/node14
...
chore: add Node.js 14 to CI
2020-09-11 11:58:46 +02:00
Diana Lau
4b5ac98379
chore: add Node.js 14 to CI
...
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2020-09-10 15:15:24 -04:00
Diana Lau
2120e96dbf
Merge pull request #104 from strongloop/dco
...
chore: switch to DCO
2020-08-31 13:25:21 -04:00
Diana Lau
be758fa770
chore: switch to DCO
...
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2020-08-20 21:22:09 -04:00
Agnes Lin
b8fd18e217
Merge pull request #103 from strongloop/copyright
...
chore: update copyright year
2020-02-10 14:05:41 -05:00
Diana Lau
334b705c69
chore: update copyright year
2020-02-10 13:49:27 -05:00
Nora
4bfa461229
Merge pull request #101 from strongloop/chore/improve-issue-templates
...
chore: improve issue and PR templates
2019-11-21 09:46:27 -05:00
Nora
4f8a372d2c
chore: improve issue and PR templates
2019-11-19 11:25:06 -05:00
Nora
22ee132941
Merge pull request #102 from strongloop/fix-comma-dangle
...
chore: fix eslint violations
2019-11-19 11:24:39 -05:00
Nora
1975481cb0
chore: fix eslint violations
...
Fix comma-dangle violations
2019-11-15 21:03:12 -05:00
Miroslav Bajtoš
c03161dfe0
Merge pull request #100 from strongloop/fix/loopback-remote-invoke-updateAll
...
Add a test to verify PersistedModel updateAll
2019-10-07 11:12:09 +02:00
Miroslav Bajtoš
39771be12f
Add a test to verify PersistedModel updateAll
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-07 10:49:57 +02:00
Miroslav Bajtoš
4ff55feb24
Merge pull request #99 from strongloop/update-eslint
...
Update eslint & config to latest
2019-10-04 10:04:32 +02:00
Miroslav Bajtoš
0097580537
Update eslint & config to latest
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-03 10:54:13 +02:00
Miroslav Bajtoš
4efca1f052
Merge pull request #95 from angfal/fix/remote_exists
...
Add tests to check Model.exists() working
2019-08-23 10:27:56 +02:00
Maxim Sharai
2aff46a79a
Add tests to verify Model.exists() is working
2019-08-23 10:16:02 +02:00
Nora
6caf45d39e
Merge pull request #97 from strongloop/add-node-12
...
Drop support for Node.js 6 and add Node.js 12 to CI
2019-07-25 17:46:11 -04:00
Nora
acbe35879b
add node 12 to CI
2019-07-25 15:39:50 -04:00
Nora
e5e4ba93ef
drop support for node 6
2019-07-25 15:39:33 -04:00
Diana Lau
61f031aeb9
Merge pull request #96 from strongloop/copyrights
...
chore: update copyrights years
2019-05-08 11:47:25 -04:00
Agnes Lin
59f70ab3ce
chore: update copyrights years
2019-05-07 13:34:15 -04:00
Miroslav Bajtoš
3e7537e1dd
3.4.1
...
* fix: return null when findById/findOne returns 404 (Jannis Ötjengerdes)
* style: fix linting (virkt25)
2019-01-22 16:47:50 +01:00
Miroslav Bajtoš
4245df5c41
Merge pull request #94 from angfal/404_error_catch
...
Catch error and return null when findById/findOne doesn't find an entity
2019-01-22 16:46:58 +01:00
Jannis Ötjengerdes
4108db8945
fix: return null when findById/findOne returns 404
...
Co-authored-by: Maxim Sharai <maxim.sharai@tispr.com>
Co-authored-by: Jannis Ötjengerdes <joetjengerdes@rightmart.de>
2019-01-21 16:32:41 +01:00
virkt25
1a7b1be96d
style: fix linting
...
- update eslint and eslint config
- fix linting
2018-08-24 09:14:41 -04:00
Taranveer Virk
6e09d0b4bf
3.4.0
...
* move dependencies (Stephen Crawford)
* chore: drop node 4 and update deps (Taranveer Virk)
2018-06-21 02:13:08 -04:00
Taranveer Virk
ae64f198ae
Merge pull request #89 from srcrawford/master
...
Move eslint dependencies to devDependencies
2018-06-21 02:10:10 -04:00
Stephen Crawford
a504e25752
move dependencies
2018-06-21 00:46:37 +01:00
Taranveer Virk
e2dad4e39a
Merge pull request #88 from strongloop/drop-node
...
chore: drop node 4 and update deps
2018-06-20 13:33:36 -04:00
Taranveer Virk
974694b526
chore: drop node 4 and update deps
...
Signed-off-by: Taranveer Virk <taranveer@virk.cc>
2018-06-20 10:29:51 -04:00
Miroslav Bajtoš
0c00806f77
3.3.1
...
* chore: update copyright notice years (Miroslav Bajtoš)
* Fix duplicate definition of a remote model type (maxim.sharai)
2018-01-16 15:55:45 +01:00
Miroslav Bajtoš
60c081f893
chore: update copyright notice years
2018-01-16 15:55:09 +01:00
Miroslav Bajtoš
823a20f89d
Merge pull request #85 from angfal/#81
...
Fix duplicate definition of a remote model type
2018-01-16 15:52:48 +01:00
maxim.sharai
af125c50cc
Fix duplicate definition of a remote model type
...
Before this commit, when a remote model had relations, the model was
registered an additional time per each relation. As a result,
the following warnings were printed to the console
Warning: overriding remoting type $MODEL_NAME
This commit fixes registration of models with strong-remoting to avoid
those warnings.
2018-01-16 15:15:45 +01:00
Miroslav Bajtoš
906979a960
3.3.0
...
* Gruntfile: remove forgotten jshint task (Miroslav Bajtoš)
* Preserve related models from "include" filter (Dimitris)
* Add eslint to npm test, fix linter issues (Miroslav Bajtoš)
* Refactor tests to use local per-app model registry (Miroslav Bajtoš)
2017-12-12 17:26:04 +01:00
Miroslav Bajtoš
d622ce5ed8
Merge pull request #78 from mitsos1os/issue-42
...
Support retrieved related models from remote loopback service
2017-12-12 13:08:55 +01:00
Miroslav Bajtoš
4ec0ec5341
Gruntfile: remove forgotten jshint task
2017-12-12 09:39:46 +01:00
Dimitris
a3d110b78c
Preserve related models from "include" filter
...
Before this change, when making a remote call with "include" filter
(for example `findById(11, {include:['children']})`), the related
models were removed from the result.
This commit fixes the implementation to correctly preserve related
models and also to cast them to correct model instances.
2017-12-12 09:39:37 +01:00
Miroslav Bajtoš
ffaaec8973
Merge pull request #82 from strongloop/code-cleanup
...
Code cleanup
2017-12-11 15:43:40 +01:00
Miroslav Bajtoš
55cb88f727
Add eslint to npm test, fix linter issues
2017-12-11 14:51:48 +01:00
Miroslav Bajtoš
d6a5c768fd
Refactor tests to use local per-app model registry
...
Refactor tests to stop sharing global models between different test
suites and use local per-app model registry instead.
Also clean up all test code to use `const` and `let` instead of `var`.
2017-12-11 14:45:43 +01:00
Miroslav Bajtoš
fafc0e36f3
3.2.0
...
* Add support for configuring remoting options (Kenny Sabir)
* chore:update license (Diana Lau)
* Move remote connector doc into README (crandmck)
* build: enable Travis CI (Miroslav Bajtoš)
* Add stalebot configuration (Kevin Delisle)
* Update Issue and PR Templates (#76 ) (Sakib Hasan)
* Add CODEOWNER file (Diana Lau)
* Replicate new issue_template from loopback (Siddhi Pai)
* Replicate issue_template from loopback repo (Siddhi Pai)
* Add "options" arg to stubbed models in tests (Miroslav Bajtoš)
2017-12-05 14:43:32 +01:00
Miroslav Bajtoš
607fec76be
Merge pull request #77 from agriwebb/pass-args-connector
...
Add support for configuring remoting options
2017-12-05 14:42:53 +01:00
Kenny Sabir
816e989b4e
Add support for configuring remoting options
...
Allow remote-connector users to provide "options" property in the
datasource configuration, this "options" object is then passed down to
RemoteObjects and allows e.g. configuration of pass-through
authorization, where the remoting connector passes the access token
used to make the incoming request down to the backend service invoked.
2017-12-05 14:22:10 +01:00
Diana Lau
07d6e1b66e
Merge pull request #80 from strongloop/license
...
chore:update license
2017-11-10 22:52:33 -05:00
Diana Lau
1afbe06716
chore:update license
2017-11-09 13:33:09 -05:00
crandmck
8e0c39b47f
Move remote connector doc into README
2017-11-07 14:25:19 -08:00
Miroslav Bajtoš
ed20519ce7
Merge pull request #79 from strongloop/add-travis
...
build: enable Travis CI
2017-10-17 14:37:26 +02:00