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.

1235 questions
-1
votes
2 answers

Loopback: PersistedModel.findById() gives not final instance. Methods like save() not existing

In an "afterRemote"-Hook i want to find a specific model and change an attribute: Team.afterRemote('prototype.__create__messages', function(ctx, message, next) { var Message = Team.app.models.message; // Promises.all not required, just for…
itinance
  • 9,334
  • 5
  • 44
  • 82
-1
votes
1 answer

How to update loopback models with angularjs?

I updated the lbservice by the command line lb-ng server/server.js client/js/services/lb-services.js and it deleted me some functions in lb-service.js file, like logout. what can i do?
oded
  • 159
  • 1
  • 2
  • 10
-1
votes
4 answers

How do I access the nested properties of an array in Loopback?

here, res = Array of results retrieved res = [ Object, Object, Object... Object ] Each Object looks like this: Object{ "userId": "ab1ce", "groupId": "a1de2" } Now, the results has an array of objects like this, how do i access the userId…
-1
votes
1 answer

Return query rethinkdbdash on loopback remote method

1.- I'm working with loopback-connector-rethinkdbdash 2.- On a remote method I need to retrieve some random records from my DB, this is the code so far. (function(){ 'use strict'; module.exports = (Heatmap) => { var r =…
-1
votes
1 answer

Query 3 Deep Relationship Loopback

I'm trying to do a nested query as per the instructions and examples here: https://docs.strongloop.com/display/public/LB/Include+filter https://github.com/strongloop/loopback/issues/735 but it is not working like I expected it to. I have an Account,…
tetter36
  • 1
  • 4
-1
votes
1 answer

LoopBack API - Built-in Models and Persistence

I want to build an API, using Google auth (via the loopback-component-passport) and ACL for access control. I also need to extend the standard User model, as I have some additional data fields. By default the User, AccessToken, ACL, RoleMapping and…
go4cas
  • 595
  • 1
  • 6
  • 17
-1
votes
1 answer

Attaching data from callback function inside a for loop Loopback

I´m trying to create a hook where I loop on each result from the response, find a user based on the current object and attach it as another attribute to the final response. However, the async calls are not letting me send the right response: …
Pablo Estrada
  • 2,427
  • 3
  • 22
  • 60
-1
votes
1 answer

Is there data transfer on wire while pinging a local ip?

Assuming my local ip is 1.1.1.2, when I run ping 1.1.1.2 The kernel drives the network device to transmit/receive data on wire The kernel fakes the replies since it knows I am pinging self What does kernel do, 1 or 2? If the answer is 2, how can I…
Pan Ruochen
  • 1,656
  • 5
  • 19
  • 29
-1
votes
1 answer

Running DNS Server to circumvent NAT-Loopback issue

First I want to say that I probably read everything that there is on the internet regarding the problem. And the problem is that I can not access my owncloud over doc.selfhost.eu if I am in the same network. But I can access it from inside the…
doc
  • 117
  • 1
  • 9
-1
votes
1 answer

Use of Loopback interface in iBGP

As I understand that the loopback interface(127.0.0.1) is used to route packets back to the source. How is it then used to talk to iBGP neighbors? I understand that the goal is to ensure that the interface doesn't go down, so using an…
zonked.zonda
  • 317
  • 4
  • 18
-2
votes
1 answer

What is the difference between eslint and vscode for creating an application in loopback4?

What is the difference between eslint and vscode for creating a new application in loopback4 , while using the command lb4 app, and wherever we can use it?
bimmi
  • 11
  • 2
-2
votes
2 answers

Loopback Installation

I have installed the Loopbackjs and when I am trying to run lb4 command it is showing the error. lb4: The term 'lb4' is not recognized as the name of a cmdlet, > function, script file, or operable program. Check the spelling of the > name, or if a…
Ashutosh
  • 3
  • 5
-2
votes
2 answers

in loopback nodejs how can I use OR AND condition in where clause right now I'm using this but it shows mi data from the table

{ or: [ { and: [{ cash: 'NEW' }] }, {editGoalStatus: 'PROCESSING'}, {editGoalStatus: 'NEW'}, a] } I want record like editGoalStatus should be PROCESSING or NEW and cash must be NEW
Akshay
  • 1
  • 4
-2
votes
2 answers

Load a json template with an object from database

I need to fill a JSON where their properties have the same name with the attributes of the object. MyObject: { idCliente: 4, idAplicacionEmpresa: 1, email: 'Jaa@jo.com', nombre: 'Joaquin', apellido: 'Diaz', } MyJSON: { sexo: '', nombre:…
-2
votes
1 answer

Trying to do a where filter in findOne and in Node api returns empty array when filtering by ids in loopback

Trying to do a where filter in findOne and in Node api returns empty array when filtering by ids in loopback https://url/api/Model1/findOne?filter={"where":{"attrs":"id"}} where id is exactly 24 digits long
1 2 3
82
83