Comments (7)
I think we should retain the ability of using a mock server (which should be the default,) in addition to testing with a real server. That would allow developers to work without need for a constant connection to the real vCD.
from go-vcloud-director.
If we keep it I would like to remove the Mozilla license dependency. It's triggering for some legal teams. Can we find something that's Apache 2.0 licensed?
from go-vcloud-director.
Your point is very valid, but I feel that developers should be testing on a real vcd anyways before merging code. Also the time difference between the real vcd and the mock server shouldn't be a huge issue as a user can specify which test he wants to run if he doesn't want to run all the tests. We can discuss this in our monday meeting. For now I will hold off on pushing code that removes the mock server. If we keep the test server I can update the xml for the org and vdc.
from go-vcloud-director.
I agree with Ankith that it does not seem all that helpful to use a mock server. Mocks will become increasingly hard to maintain as we add more API calls in future.
from go-vcloud-director.
I understand the challenge.
I was thinking of using a mock server like mockingjay-server (MIT license) that can be easily enhanced.
from go-vcloud-director.
We decided to remove any kind of mocking tests in favour of tests with real API calls.
from go-vcloud-director.
Solved with commit 6b69953 and #35
from go-vcloud-director.
Related Issues (20)
- Unable to instantiate new VM HOT 2
- API Error: 406: The request has invalid accept header: Invalid API version requested. Supported API versions are: HOT 4
- Getting an AdminVdc does not populate the ResourcePoolRefs property correctly HOT 1
- Getting hypervisor in *types.QueryResultVMRecordType/govcd.VM HOT 3
- Adding MorefID to identify VM on vCenter HOT 1
- GetNetworkList() truncates the network list when a VDC has more than 25 networks HOT 2
- Missing vm OVF_Environment
- Support for cloud cell
- CloudQuery Source Plugin
- Option eject_force do not eject media without an human intervention HOT 12
- Nil point dereference in govcd.(*VApp).UpdateNetworkAsync
- SAML Auth flow getting wrong ADFS endpoint HOT 1
- Adding a DNAT rule to an Edge Gateway causes a segmentation fault HOT 2
- Adding SecondaryIpAddress and SecondaryIpAddressAllocationMode to NetworkConnection of a VM
- Unable to search for organisations HOT 1
- BUSY_ENTITY -> Java Exception HOT 3
- Missing parsing vmNameInVc xml attribute on QueryResultVMRecordType struct
- types.NsxtFirewallRule is missing sourceFirewallIpAddresses and destinationFirewallIpAddresses fields from the latest API
- types.QueryResultVMRecordType is missing DetectedGuestOS from API
- Add object storage extension API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-vcloud-director.