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

Loopback: What does this mean "Domain.app.models.Group.create();" in loopback?

I have two models named : Domain and Group. I'm not able to understand what the following code does Domain.app.models.Group.create({ "name": groupItem.name, "type": groupItem.type, …
Navneet
  • 41
  • 9
0
votes
1 answer

Debug step by step loopback Api

I'm trying to debug a loopback application with the $slc debug command. When I run the command, the application start to listening in the port 5858 and I can debug step by step the application, the problem is that I can't call any API end point to…
Bruno
  • 299
  • 1
  • 7
  • 23
0
votes
0 answers

CAN bus turns to ERROR PASSIVE state when loopback is turned off

I have connected a PiCAN2 board with raspberry pi running latest Jessie. When I try to send some CAN messages to my PC ( PC is connected via a USB to DB9 CAN interface to the PiCAN2 board) through this PiCAN2 using the can-utils, it runs into…
nj_bubbles
  • 78
  • 12
0
votes
1 answer

Get ID in callback on .create([data],cb) in Loopback

I create a model instance: Rental.create({ user: 'john', period: 4 }, (err, rental) => { // is it possible to get rental id here? }); The returned instance in the callback contains all I need but ID, which I need…
Sergei Basharov
  • 51,276
  • 73
  • 200
  • 335
0
votes
1 answer

Loopback Polymer Cross-Browser Compatibility

I used a Loopback/Polymer starter kit I found as a starting base for an application, but it does not seem to work on browsers other than Chrome (i.e. Firefox/IE/Safari). The demo for the starter kit code works in other browsers, so I know it must be…
0
votes
1 answer

Loopback fails on updateAttributes id property undefined to undefined

So yesterday, I wasted 4 to 6 hours with this issue, and couldn't find anything that could help on the internet, so I'll share it here. It happened on a simple updateAttributes, couldn't update, I was always getting this error: id property…
Alons Oh
  • 195
  • 1
  • 14
0
votes
1 answer

loopback HasAndBelongsToMany relation id property in created table

when I have a HasAndBelongsToMany relation between to tables, automigration creates a new table with and id property, how can I prevent to create that? For example: Assembly id: number name: string Part id: number name: string AssemblyParts…
Camilo Soto
  • 489
  • 7
  • 14
0
votes
1 answer

Admin roles with Loopback and AngularJS

I need to provide the functionality to the end user to administrate roles. Those roles have to securely restrict the endpoints, and i also have to show/hide the elements on the frontend (i am using AngularJS). I know that i have to create a role and…
0
votes
1 answer

Overwrite default error messages of loopback

I'm trying to overwrite the default error messages from loopback. That's how i'm doing: server/middleware.json: { "initial:before": { "loopback#favicon": {} }, "initial": { "compression": {}, "cors": { "params": { …
user6739366
0
votes
1 answer

updateAll loopback datasource does not delete deletions inside updated data

I'm working with Node.js and I'm using the Cloudant connector for the data source of loopback. I have defined a model called User as defined below: var User = db.define('User', { lastName: { type: String }, firstName: { type: String }, skills:…
JustAnotherDev
  • 445
  • 1
  • 4
  • 20
0
votes
1 answer

Loopback - one-to-many relation between 3 models

I'm using IBM API Connect for a Loopback application. I've 3 models - owner, home and room. The relationship is described as follows: OWNER: an owner might have one or more than one home(s) a home or all of the homes belong to a particular…
somnathbm
  • 649
  • 1
  • 9
  • 19
0
votes
1 answer

Store PDF file in mongoDB using nodeJS loopback 2.5

I want the user to upload pdf then I can store it in mongoDB in binData formate. using Loopback as my database backend . no need for gridfs as the file will always be small any suggestions on how that can be done ???
Hady Rashwan
  • 356
  • 1
  • 6
  • 21
0
votes
1 answer

Loopback: Auto-discover database structures and auto-generate relations between tables

We are using Loopback as a standard RESTFul API. I have a script that is used to auto-generate the model data based off of discovery of the database tables/structures. I can generate the schema data for each table, but I don't know how to generate…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

Auto-generate swagger docs if you only use auto-discovery to discover DB tables

I am wondering if we can still auto-generate Swagger API documentation for our Loopback API server if we only use the auto-discovery features outlined…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
3 answers

Loopback relational model query

We have data model in loopback where the Customers will have a hasMany relation to Orders, and when i query customers the orders will come in an array for that particular customer and if i want to use existing options given by loopback what is the…
Ramya B
  • 65
  • 6