Code Monkey home page Code Monkey logo

vsts-rest-multivalue's Introduction

This a fork of the multi value extension that draws its values from an admin specified rest endpoint rather than a hard coded list.

To Build

npm i -g typescript tslint gulp tfx-cli
git clone git clone https://github.com/ostreifel/vsts-rest-multivalue.git
cd vsts-rest-multivalue
npm i
npm run build:release
npm run package:dev

Structure

All build tasks are contained in package.json

Inputs are specified in vss-extension.json

All extension logic, markup and styling is in src

vsts-rest-multivalue's People

Contributors

cschleiden avatar joserady avatar liang2zhu1 avatar mmanela avatar mohitbagra avatar obvioussean avatar ostreifel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vsts-rest-multivalue's Issues

Unable to configure an URL from another site

Hi,

This is for an On Premise scenario.

I'm trying to bind the REST MultiValue control to an URL not under our TFS site and I'm getting CORS errors in the console:

CORS-Error

I'm no CORS expert but I can see in the request detail, the origin is "null" witch I think is the cause for the CORS preflight request to fail:

CORS-Error2

Do you have any recommandation or work around for this scenario?

Thanks

Stéphane

Support for TFS2015.Update4

Hi,

First, thanks for all the work with this control.

I am trying to configure your control on a "On Premise" TFS2015.Update4.

On the Visual Studio Market, that version is advertised as working. However I get an error when I run the installer: Scope is not valid: 'vso.agentpools'

Is it supposed to work regardless of that message or it still work only with TFS2017?

Many thanks

  • Stephane

Does it support on-premises TFS?

Does it support on-premises TFS? Which versions? How can I configure it (as with on-premise I have only the xml-based WIT definition)?

Support jsonpath for the property to use

Example:

URL: http://api.fbi.gov/wanted
Property: $.items[*].title

Should return:

[
  "TYRONE SMITH",
  "DANIEL ANDREAS SAN DIEGO",
  "FAUSTO ISIDRO MEZA-FLORES",
  "MURDER VICTIMS",
  "MAURO OCIEL VALENZUELA-REYES",
  "RACHEL LOUISE COOKE",
  "DEXTER O'NEIL BANKS",
  "UNKNOWN SUSPECT",
  "SANTIAGO VILLALBA MEDEROS",
  "MARCUS EDWARDS",
  "KEVIN ROBERT HARRIS II",
  "LAMONT STEPHENSON",
  "ASHA JAQUILLA DEGREE",
  "RYAN BRABEN CHICOVSKY",
  "JOHN DOE - WHITE SANDS, NEW MEXICO",
  "ERIC BILLS",
  "ASHLEY SUMMERS",
  "TRIPLE HOMICIDE INVESTIGATION",
  "LUIS MACEDO",
  "JULIO CESAR GUEVARA-MEJIA"
]

That makes the control a lot more flexible if I (in many cases) do not have control over the REST API being called.

Devops Blank Field

Hello,
i' ve configured the custom control like in example but i see only blank field

image

can you help me ?

Substring from REST Results

I'm using your control to query our git repository Tags. Unfortunately, Azure DevOps REST api offers no support for getting all the tags with clean names. Since they have to be queried via refs they all have a prefix of 'refs/tags/' (ex: 'refs/tags/20.2.2.11115'). I want to get the substring containing our VersionNumber only (20.2.2.11115).

  • I've looked into using alternate DevOps REST api queries, nothing bug refs returns our tags.
  • I've looked into using JsonPath to extract a substring it but I can find nothing that works.

Is there any undocumented support for substring, replace, etc that I could try? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.