Questions tagged [arangodb-foxx]

25 questions
2
votes
0 answers

How to reliably schedule regularly reoccurring jobs with arangodb?

I am evaluating arangodb "Community Edition" v.3.7.6 in Cluster Mode. At the moment, I am trying to figure out, how to reliably schedule regularly reoccurring jobs via queues in my foxx service. I have read the documentation pages here and here and…
Sebiya
  • 21
  • 1
2
votes
1 answer

pyArango vs. Foxx Microservices

What is the major difference between using pyArango and Foxx Micro-service? As I saw we we are eventually writing the AQL in the .js file when creating the micro-service. How does it differ from writing into pyArango client? What are the advantage…
Aman Dalmia
  • 83
  • 2
  • 9
1
vote
1 answer

LIKE operator not supported in arango search view

Arango Search does not seem to support LIKE operator. Other supported operators are working fine. Tried this AQL: FOR s IN searchView SEARCH s.name LIKE "somesubstring" RETURN s But it gives an error saying: Query: AQL: not implemented:…
Kruthika C S
  • 729
  • 1
  • 7
  • 18
1
vote
1 answer

ArangoDB AQL: find null object, which is not part of the query

I have a problem with AQL. In the query I search for a certain value and expect to get a result with edges containing the search value. It seems okay, but I also get a null value. It seems that there is a null value in the database, which of course…
goku736
  • 372
  • 2
  • 16
1
vote
1 answer

How to run a sequnce of AQL queries in arangodb

I am a newbie and trying to get going on ArangoDB.I want to run a batch of AQL queries which would be interdependent on each other. I want to do the same things we do in PL-SQL. I tried clubbing two or more queries in one post/get request through…
1
vote
1 answer

How to fix: Services: 3011. service already exists Mount path

I have deleted a service using the ArangoDB web interface. When I'm trying to load zipped folder with a new service to the same mount path, I get the error: Services: 3011. service already exists Mount path I'm using arangodb for win64 ver…
1
vote
1 answer

ArangoDB Foxx Microservices Getting Started tutorial: what is a working URI for this example?

The tutorial here Getting started · ArangoDB v3.4.0 Documentation uses this code: // continued router.post('/sum', function (req, res) { const values = req.body.values; res.send({ result: values.reduce(function (a, b) { return a + b; },…
BugBuddy
  • 576
  • 2
  • 5
  • 19
1
vote
1 answer

ArangoDB: getting started with Foxx Microservices: 404: errorMessage: unknown path

Using ArangoDB documentation version 3.3 or version 3.4 for the Getting Started section of Foxx Microservices, I can't get past this error: Failed to load API definition. NetworkError when attempting to fetch resource.…
BugBuddy
  • 576
  • 2
  • 5
  • 19
0
votes
0 answers

Unable to call a Spring boot Rest Endpoint from arangodb Foxx service in a docker network

I have two services deployed as a docker container on Linux. app on arangodb Foxx (arangodb version 3.5.7) Spring boot app that has some rest endpoints CONTAINER ID IMAGE COMMAND CREATED STATUS …
TechMaster
  • 251
  • 1
  • 2
  • 13
0
votes
0 answers

Retrieve the result of a Foxx activity scheduled as a job

Which is the best way to retrieve, in a second time, the result of a scheduled job executed by a Foxx activity? The only way that I have found is to store the job result within the success function callback storing it into a dedicated collection or…
Jermakki
  • 31
  • 5
0
votes
0 answers

Prometheus invalid metric type "status=\"available\"} gauge" + 401

Trying to monitor with Prometheus, but cannot get /_admin/metrics/v2/ to work with jwt (I've confirmed the token matches web, tested with postman). So I've enabled the arango-prometheus-exporter service, and can read metrics from the mount point…
James
  • 557
  • 7
  • 16
0
votes
1 answer

ArangoDB Foxx Service ReferenceError: URL is not defined

I'm trying to install a service to ArangoDB with the Foxx CLI but I get an error when using joi as a dependency. The full stack trace is below: Server encountered errors executing a JavaScript file: @…
JonasLevin
  • 1,592
  • 1
  • 20
  • 50
0
votes
1 answer

Body parameter in ArangoDB

I wrote the following router in Foxx Microservices: router.post('/PersonInformation', function (req, res) { const keys = db._query(aql` FOR p IN Personal FILTER (p.stateId IN ${req.queryParams.statePar} OR…
Ghasemi
  • 15
  • 4
0
votes
1 answer

ArangoDB microservice dependent on other microservice

I need to call one service from the other so I want to be sure it's ready before I use it. In my case, both microservices are running in the same database. In the startup script, I would like to wait until the dependency is operational and abort if…
ggendel
  • 403
  • 3
  • 9
0
votes
0 answers

How to create JWT token in arangodb by using foxx microservices?

I need to create JWT token for authentication (login) and expire it on logout. So what is the procedure for it ? I am using foxx micro services to do database manipulation. JWT token must be created by using service and token will be expire when…
1
2