Questions tagged [wsapi]

is an API that abstracts the web server from Lua web applications.

WSAPI is an API that abstracts the web server from Lua web applications. By coding against WSAPI application can run on any of the supported servers and interfaces (currently CGI, FastCGI and Xavante, on Windows and UNIX-based systems).

WSAPI provides a set of helper libraries that help with request processing and output buffering. You can also write applications that act as filters that provide some kind of service to other applications, such as authentication, file uploads, request isolation, or multiplexing.

WSAPI's main influence is Ruby's Rack framework, but it was also influenced by Python's WSGI (PEP 333). It's not a direct clone of either of them, though, and tries to follow standard Lua idioms.

22 questions
2
votes
1 answer

how to resolve concurrency conflict for bulk create in Rally using REST API using python

I am trying to create >100 items as AllowedAttributeValue using WSAPI in Rally from python without pyral. Input is from a input file. Code - for line in inputFile: body = {} try: r = requests.post(url, headers=headers,…
Sujoy
  • 1,186
  • 1
  • 9
  • 12
2
votes
1 answer

How to fetch security token via SSO in Rally?

The security token API asks for basic authentication. I am using SSO for logging in a user. This is the API: https://rally1.rallydev.com/slm/webservice/v2.0/security/authorize Doc: https://rally1.rallydev.com/slm/doc/webservice/authentication.jsp In…
akshay1188
  • 1,647
  • 2
  • 17
  • 35
2
votes
1 answer

Rally python REST: Query all tasks from chosen iteration

I'm trying to query all tasks from a specific iteration using the python toolkit for the rally REST API. The iteration will be chosen at run-time. However I have been unable to set up the right query. I feel like i'm missing something small but…
2
votes
1 answer

How long can i use WSAPI 1.42

I read a warning message on wsapi 1.42 reference page that it is deprecated and that it will get removed soon. What is a schedule for that? I have a few applications using that version of wsapi. I would appreciate a time period so that I can update…
hariszhr
  • 409
  • 2
  • 14
2
votes
1 answer

Lighttpd, Lua, WSAPI slow Ajax calls

I'm using Lua FASTCGI with Lighttpd. The Lua script is a thin wrapper around our C API which is being exposed to web. The problem is that Ajax calls execute one by one on the server side (instead of running in parallel) and it takes so much time.…
AlexStack
  • 16,766
  • 21
  • 72
  • 104
1
vote
1 answer

Display all associated children with wsapi.Store

I've been searching for a way to display all the defects for a project and it's children in Rally, however I can't seem to find the right way to go about this. In the constructor it seems there is no parent property, however I've seen this…
Tyler40k
  • 11
  • 2
1
vote
1 answer

PreliminaryEstimateValue using Lookback API

I'm trying to get the PreliminaryEstimateValue for PortfolioItem/Feature using Lookback API, but it always comes empty. And PreliminaryEstimate can't be Hydrated as per error message in response either. Shouldn't PreliminaryEstimateValue be…
1
vote
1 answer

How to save WorkItemsAffected to a Risk

How do I save or link a feature item to an existing risk? I was trying to post but it did not work: var url = "https://rally1.rallydev.com/slm/webservice/v2.x/risk/" + riskRecord.data.ObjectID + "/workitemsaffected"; return…
Sarita
  • 145
  • 9
1
vote
1 answer

How do I use a hash to fetch the schema consistently?

The Agile Central (Rally) WSAPI documentation schema section says I can get the schema like this: There is an optional hash for the schema request. If it is not provided, the service will determine the hash and redirect the request internally.…
1
vote
1 answer

How to add mutiple test case results using WSAPI in Rally?

I am able to add a single test case result using the /testcaseresult/create API and passing the JSON as: { "testcaseresult": { "Build":5, "Date":"2017-02-27T18:03:29.260Z", …
akshay1188
  • 1,647
  • 2
  • 17
  • 35
1
vote
1 answer

Retrieve all fields from Rally WSAPI Recycle bin

I am trying to list all the fields of the userstory in Recycle bin and I see only few. Can't all the fields be fetched? var config = { model: 'RecycleBinEntry', filters: [{ property:…
Sarita
  • 145
  • 9
1
vote
1 answer

Rally WSAPI query for latest revision

I need to use the Rally WSAPI to get the user who did the latest modification on an artifact. Ideally, I would like to either be able to fetch the user directly from the artifact itself. However, It only seems to have last modification date, not…
yaronyogev
  • 428
  • 3
  • 10
1
vote
1 answer

Can I masquerade as another user when creating/updating Rally artifact using Rally WSAPI?

I own an application that serves a need to sync between the internal bug tracker application of company I work for and Rally. The end users usually want to have their defects in the bug tracker (B) show up in Rally (R), so we do B2R syncing using…
yaronyogev
  • 428
  • 3
  • 10
1
vote
1 answer

How to create a request object?

I'm learning web development with lua (wsapi and uWSGI). I'm trying to create a request object (https://keplerproject.github.io/wsapi/libraries.html) to see what it look like (and how to use it). So I've set up a example code : require…
nefas
  • 1,120
  • 7
  • 16
1
vote
1 answer

with Rally api v2.0, i am unable to access list of workspaces when i query subscription object

here is the code i am using to query for 'subscription' and then return a reference of the workspace i want to access: public static String query_for_workspace(String ws, RallyRestApi r) throws IOException{ String Wspace_ref=null; //Read…
hariszhr
  • 409
  • 2
  • 14
1
2