On Tue, 24 Mar 2020 at 09:16, Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On Mon, 23 Mar 2020 at 15:58, Tim Jaacks tim.jaacks@garz-fricke.com wrote:
Hi everyone,
thanks for the information. It seems like the documentation does not reflect the current implementation, though:
https://docs.lavasoftware.org/lava/data-export.html#sorting
Here it says, user and token should be included in the POST data. This does not work. I found out that I have to include the token into the request header in the form:
"Authorization: Token <insert-quite-long-token-string-here>"
The user seems to be not needed at all, since the token is bound to a specific user anyway.
Will this be included in the LAVA documentation? Or is this already available anywhere and I simply did not find it?
You're right, docs are outdated. I'll try to make some fixes this week.
I sent fixes here: https://git.lavasoftware.org/lava/lava/-/merge_requests/1068 Comments are much appreciated.
milosz
milosz
Mit freundlichen Grüßen / Best regards Tim Jaacks DEVELOPMENT ENGINEER Garz & Fricke GmbH Schlachthofstrasse 20 21079 Hamburg Direct: +49 40 791 899 - 183 Fax: +49 40 791899 - 39 tim.jaacks@garz-fricke.com www.garz-fricke.com WE MAKE IT YOURS!
Sitz der Gesellschaft: D-21079 Hamburg Registergericht: Amtsgericht Hamburg, HRB 60514 Geschäftsführer: Matthias Fricke, Manfred Garz, Marc-Michael Braun
-----Ursprüngliche Nachricht----- Von: Lava-users lava-users-bounces@lists.lavasoftware.org Im Auftrag von Milosz Wasilewski Gesendet: Mittwoch, 11. März 2020 14:00 An: Larry Shen larry.shen@nxp.com Cc: lava-users@lists.lavasoftware.org Betreff: Re: [Lava-users] LAVA RESTful API feedback and plans (Stevan Radakovi?)
On Wed, 11 Mar 2020 at 12:55, Larry Shen larry.shen@nxp.com wrote:
Interesting topic, one question:
What will the new LAVA rest api look? a) or b) ? I wish it could b), then we could ease our master's pressure...
it already is a.
milosz
a) Django-rest-framework alike, synchronous b) Tornado alike, asynchronous
-----Original Message----- From: Lava-users lava-users-bounces@lists.lavasoftware.org On Behalf Of lava-users-request@lists.lavasoftware.org Sent: Wednesday, March 11, 2020 8:00 PM To: lava-users@lists.lavasoftware.org Subject: [EXT] Lava-users Digest, Vol 19, Issue 2
Caution: EXT Email
Send Lava-users mailing list submissions to lava-users@lists.lavasoftware.org
To subscribe or unsubscribe via the World Wide Web, visit
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist s.lavasoftware.org%2Fmailman%2Flistinfo%2Flava-users&data=02%7C01% 7Clarry.shen%40nxp.com%7Ce5e1d749129546341cda08d7c5b3c4ae%7C686ea1d3bc 2b4c6fa92cd99c5c301635%7C0%7C0%7C637195248239653955&sdata=iOZQIxKp Wvolm1vkxL64j2YEsLkbnsM96fv1wLIRwRE%3D&reserved=0 or, via email, send a message with subject or body 'help' to lava-users-request@lists.lavasoftware.org
You can reach the person managing the list at lava-users-owner@lists.lavasoftware.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Lava-users digest..."
Today's Topics:
- LAVA RESTful API feedback and plans (Stevan Radakovi?)
Message: 1 Date: Wed, 11 Mar 2020 09:17:00 +0100 From: Stevan Radakovi? stevan.radakovic@linaro.org To: "lava-users@lists.lavasoftware.org" lava-users@lists.lavasoftware.org Subject: [Lava-users] LAVA RESTful API feedback and plans Message-ID: 34b9c19d-b0eb-2d85-0c85-a4e536a1812e@linaro.org Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hello community,
With the LAVA release of 2020.02 we now have a REST API framework that we fell covers all the functionalities of the already existing XMLRPC API.
Since the long-term plan is to drop the XMLRPC support, we now encourage everyone to use REST and we also would like to hear feedback about any additional features that you'd like to see as part of the REST API.
Our plan is to slowly move lavacli https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.lavasoftware.org%2Flavacli%2F&data=02%7C01%7Clarry.shen%40nxp.com%7Ce5e1d749129546341cda08d7c5b3c4ae%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637195248239653955&sdata=awMk3Be9dw9rFJnT2e0y2u3WVAksYVQlw9a2OadJMu4%3D&reserved=0 project to use REST API exclusively, after that we will schedule the deprecation of the XMLRPC API.
Cheers,
-- Stevan Radakovi? | LAVA Engineer Linaro.org <https://eur01.safelinks.protection.outlook.com/?url=www.linaro.org&am p;data=02%7C01%7Clarry.shen%40nxp.com%7Ce5e1d749129546341cda08d7c5b3c4 ae%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637195248239653955& ;sdata=Ahg0rN7m5fNY4afNMaYEL6Bf%2BQcpMO9rlgszxEQusek%3D&reserved=0
? Open source software for ARM SoCs
-------------- next part -------------- An HTML attachment was scrubbed... URL: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist s.lavasoftware.org%2Fpipermail%2Flava-users%2Fattachments%2F20200311%2 F59307473%2Fattachment-0001.htm&data=02%7C01%7Clarry.shen%40nxp.co m%7Ce5e1d749129546341cda08d7c5b3c4ae%7C686ea1d3bc2b4c6fa92cd99c5c30163 5%7C0%7C0%7C637195248239653955&sdata=dW3Bmv%2FAQyo8H3ihsRkeHh28CW% 2BiGRCsErPLDFt%2Bul8%3D&reserved=0
Subject: Digest Footer
Lava-users mailing list Lava-users@lists.lavasoftware.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist s.lavasoftware.org%2Fmailman%2Flistinfo%2Flava-users&data=02%7C01% 7Clarry.shen%40nxp.com%7Ce5e1d749129546341cda08d7c5b3c4ae%7C686ea1d3bc 2b4c6fa92cd99c5c301635%7C0%7C0%7C637195248239653955&sdata=iOZQIxKp Wvolm1vkxL64j2YEsLkbnsM96fv1wLIRwRE%3D&reserved=0
End of Lava-users Digest, Vol 19, Issue 2
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users