Questions tagged [loopback]

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender.

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender. It is used as an aid in debugging physical connection problems. As a test, many data communication devices can be configured to send specific patterns (such as all ones) on an interface and can detect the reception of this signal on the same port. This is called a loopback test and can be performed within a modem or transceiver by connecting its output to its own input. A circuit between two points in different locations may be tested by applying a test signal on the circuit in one location, and having the network device at the other location send a signal back through the circuit. If this device receives its own signal back, this proves that the circuit is functioning.

1273 questions
0
votes
1 answer

How can I configure access-control for "destroyAll" of a related model with LoopBack (strongloop)

I'm using loopback and I have problems with the access control for destroyAll, even when I "explicity allow" to destroyAll related Models I always get "Authorization required". I maybe just use the wrong name of the function. For example: I got the…
Edmundo Del Gusto
  • 378
  • 1
  • 4
  • 15
0
votes
3 answers

angular2 search using loopback

In my angular2 project i need to search data from the database using loopback how can i implement this using "wildcard" query in find(). Thanks in advance. Please help me. Here is my query this.model.find({ "where": { "wildcard": { …
Khushi
  • 1,759
  • 6
  • 26
  • 45
0
votes
1 answer

How to write multiple remote methods in a model?

May be its a little tricky or I am too dumb to figure out. Every documentation and example illustrates how to write a remote method, but not multiple. In my case I have already written a remote method and its working perfectly. module.exports =…
Firdous
  • 4,624
  • 13
  • 41
  • 80
0
votes
0 answers

Can i assign an ip address like 127.10.10.10 to eth(x) interface other then lo interface with 127.0.0.1/8?

I have set of interfaces in my linux based box which has a lo interface with 127.0.0.1 I wanted to create a set of other local network (not visible outside). And i plan to assign like 127.10.10.100/24 and 127.10.10.110/24. Is anything fundamentally…
SSS
  • 1
0
votes
2 answers

loopback access_token not found

followed by the access documentation both are not working by using Authorization Header Query Parameter Using the latest version of loopback 2.1.X. I turned off the email verification and successfully got the AccessToken object from the initial…
0
votes
1 answer

Using or and between together in Loopback restful api filter

I am facing the problem of this. If I want to apply this kind of filter in loopback restful api filter. between(0,7) or between(11,17) or between(21,27) How to write the filter script?
Louis Luk
  • 303
  • 2
  • 16
0
votes
1 answer

Loopback session isn't saved

I added cookie-session to middleware.json I want to add id to session in login, and use it in function addLead "session": { "cookie-session": { "params": { "name": "id", "secret": "secret", "keys": [ "key1", "key2"…
user2136963
  • 2,526
  • 3
  • 22
  • 41
0
votes
1 answer

Loopback custom validate

I am trying to use validate() inside my model in order to verify if the param passed in POST contains valid ID of related model. Here is the code I written inside my Person.js file: 'use strict'; module.exports = function(Person) { …
dyleck
  • 1
  • 2
0
votes
1 answer

History of changes for a loopback model

I am having a trouble to find a solution to this problem. I have an AthleteProfile persisted model which has one to one relation with Athlete. AthleteProfile model has height, weight, and body fat percentage properties. The problem here is, I…
alwaysprep
  • 92
  • 6
0
votes
1 answer

How to Include Other Models in Loopback?

I've read the document here: https://docs.strongloop.com/display/public/LB/Include+filter But they are not clear! For example, they give the example: User.find({include: 'posts'}, function() { ... }); Where should this code fit into? Is it in the…
Vicheanak
  • 6,444
  • 17
  • 64
  • 98
0
votes
0 answers

Unterminated quoted string at or near \"'\\' ORDER BY \"id\"\"" when using loopback connected to postgresql

When I using like filter in loopback restful api, it return the following error. "name":"error","status":500,"message":"unterminated quoted string at or near \"'\\' ORDER BY \"id\"\"" However, when I remove the primary key setting in postgresql,…
Louis Luk
  • 303
  • 2
  • 16
0
votes
1 answer

Apply disableRemoteMethod for a lot of models

How I can apply this to all my models? common/models/task.js module.exports = function(Task) { Task.disableRemoteMethod("upsert", true); Task.disableRemoteMethod("updateAll", true); Task.disableRemoteMethod("updateAttributes", false); …
Dmytro
  • 105
  • 1
  • 12
0
votes
1 answer

loopback angular sdk create is not a function

I have problem with angular loopback sdk. I configured the project, created lb-services.js but when i try to call my API from my controllers the browser's console say "{method name} is not a function". here is my code: index.html
Daigo
  • 31
  • 5
0
votes
1 answer

Loopback remote method that returns a file

I am trying to write a Loopback remote method that will return my model's json configuration file "property.json" from this directory: Currently what I am trying is that: Sync.getSDKData = function(cb){ console.log("getSDKData called!"); …
Georgi Koemdzhiev
  • 11,421
  • 18
  • 62
  • 126
0
votes
1 answer

Loopback get multipart form-data parameters

I have a file container hosting my images. I did create some additional properties for that container using slc loopback:property and put in a string types such as: title, description, date(date). I am able to upload my image via…
Kaiser
  • 95
  • 2
  • 8