8000 Adding Azure ARM provider (azure-v2) by morsh · Pull Request #550 · pkgcloud/pkgcloud · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@morsh
Copy link
@morsh morsh commented Jan 2, 2017

Since this is a major pull request, I want to submit it before it is ready to make sure the code is aligned with the repo's requirements.

This is related to case: #545

All code added under [azure-v2] provider.

@indexzero
Copy link
Contributor

@morsh first: thanks for your contribution; we appreciate it!

One question: is there any reason to leave around the azure v1 code? The original azure code was also contributed directly by Microsoft (thanks again for that!) so none of the maintainers are intimately familiar with azure APIs. If the azure V1 APIs are going to EOL I'd like to have a timeline for us to remove them from pkgcloud

@morsh
Copy link
Author
morsh commented Jan 4, 2017

Hi @indexzero,
I am less familiar with the original effort, but the API is completely different as well as the resources created by it.

Microsoft is encouraging people to move to ARM (v2), but I would keep v1 support since there are still many people using ASM (v1) and Microsoft will keep supporting ASM. Nonetheless, all new development are only in the ARM API as well as upgrades etc.

@morsh
Copy link
Author
morsh commented Jan 8, 2017

Hi @indexzero ,
It seems two tests for "pkgcloud/openstack/storage/" are failing - does this happen in other repos?

  • Are the tests supposed to be added automatically (I used "describe" and "it" in my tests - and like the other tests they are under /test folder)

Thanks!

@guymguym
Copy link

@morsh @indexzero Perhaps it makes sense to rename the old azure provider to azure-v1 and the new azure to azure-v2 with additional alias of azure that will resolve to v2?
This might require to bump a major version as a breaking change, but makes sense.

@rosskukulinski
Copy link
Contributor

@morsh FYI those two tests were failing due to an expired auth token in the hock configuration. Please pull in master to your PR and tests should pass again

@morsh
Copy link
Author
morsh commented Feb 4, 2017

@rosskukulinski Thanks!
I am trying to write tests to the new provider, but they all fail. Is it possible to have a video chat chat with someone to help me solve this?

@morsh
Copy link
Author
morsh commented Feb 13, 2017

@rosskukulinski @jcrugzz @guymguym @dscape @cronopio @indexzero
Hi All,
I'm trying to finalize this pull request, but I need some help understanding how the tests work and how add new ones for the code I'v written.
I'd be happy to have a quick chat about this (skype/slack), but any help will be welcomed.

Cheers.

@guymguym
Copy link

@morsh Did you see the jshint failures on TravisCI?
Check it out here - https://travis-ci.org/pkgcloud/pkgcloud/builds/200104219

@guymguym
Copy link

@morsh Also notice that this project is still running with node 0.10 (old) where arrow functions are not supported yet by the V8 engine, and your code is full of them, so it's probably why tests will fail anyhow even after jshint will pass.

@mszcool
Copy link
mszcool commented Feb 15, 2017

Do you have any plans to upgrade to a newer version of Node anytime soon? Or would that cause too many dependencies breaking in the general code base? Just wondering, because Node 0.10 is fairly old...

@morsh
Copy link
Author
morsh commented Mar 26, 2017

Hi @rosskukulinski @jcrugzz @guymguym @dscape @cronopio @indexzero,
Anything new?

Reminder: We need to understand how the tests work so we can add our own and finalize the pull request.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

0