Code Monkey home page Code Monkey logo

azuretestdrive's Issues

Is this repo uptodate?

I am working on building an ARM file for a project we are working on (test drive purposes),

I came across this repo to test my template.json, i tried the below command:

node test-drive.js validate ./samples/winvm/template.json

and i got the below error

throw new Error(No metadata nor default value found, parameter name: ${parameterName}"`);
^

Error: No metadata nor default value found, parameter name: vmName"
at createParameter (/home/sisadmin/sis/arm/AzureTestDrive/lib/template-svc.js:41:19)
at /home/sisadmin/sis/arm/AzureTestDrive/lib/template-svc.js:16:9
at /home/sisadmin/sis/arm/AzureTestDrive/node_modules/lodash/lodash.js:4967:15
at baseForOwn (/home/sisadmin/sis/arm/AzureTestDrive/node_modules/lodash/lodash.js:3032:24)
at /home/sisadmin/sis/arm/AzureTestDrive/node_modules/lodash/lodash.js:4936:18
at Function.forEach (/home/sisadmin/sis/arm/AzureTestDrive/node_modules/lodash/lodash.js:9410:14)
at Object.createParameters (/home/sisadmin/sis/arm/AzureTestDrive/lib/template-svc.js:15:7)
at validateTemplate (/home/sisadmin/sis/arm/AzureTestDrive/test-drive.js:95:34)
at Object. (/home/sisadmin/sis/arm/AzureTestDrive/test-drive.js:21:5)
`

Taking this more, this seems on purpose in the testing code, its either to add a default value to our parameters or a type in the metadata section.

I would add a type but the ones in the list doesn't seems to fit my params.

Any idea how to test my arm file for test drive?

Support use of AppSource (AzureTestDrive) without AAD Admin Consent

I would like to use AppSource (AzureTestDrive) framework without requiring my potential customers to go through AAD Admin Consent.

For example, a potential customer is authenticated with Acme AAD. My SaaS app is registered in AAD as a multi-tenant web application. I would like my potential customers to be able to provision a trial within my app without needing to be admin members of their Acme AAD. Also as my SaaS application does not require Admin permissions currently, in case the Acme AAD Admin disabled the ability for regular users to consent to applications what will happen?

If my app is already provisioned within Azure as a cluster, can I securely call a provisioning endpoint (Swagger API) in my SaaS application without requiring Logic Apps? My SaaS API already encapsulates all the provisioning/de-provisioning logic.

Do you support AAD v2 Endpoints?

Thx

TypeError: SubscriptionClient is not a constructor

When start a new test drive deployment session, the test drive script throws an error when trying to sign in with the service principal credential.

The same issue is reproducible in different machines with the same configuration.
Node.js version: 8.3.0

See the screenshot attached.
azuretestdrivestartsessionerror

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.