Coder Social home page Coder Social logo

RbVmomi 2.1.0 breaks PBM about rbvmomi HOT 6 CLOSED

agrare avatar agrare commented on August 16, 2024
RbVmomi 2.1.0 breaks PBM

from rbvmomi.

Comments (6)

jrgarcia avatar jrgarcia commented on August 16, 2024 1

Unfortunately, it's something internal. I'll see about creating a rake task to generate it from the public WSDL (like it should have been from the start!).

from rbvmomi.

agrare avatar agrare commented on August 16, 2024 1

Thanks @jrgarcia !

from rbvmomi.

agrare avatar agrare commented on August 16, 2024

Looks like dynamicProperty attributes of PropertyChange were dropped also:

>> RbVmomi::VIM.PropertyChange(:dynamicProperty => [])
=> #<RbVmomi::VIM::PropertyChange:0x0000559a279ec9a8 @props={:dynamicProperty=>[]}>

with 2.1.1

>> require 'rbvmomi/vim'
=> true
>> RbVmomi::VIM.PropertyChange(:dynamicProperty => [])
Traceback (most recent call last):
        7: from /usr/bin/irb:11:in `<main>'
        6: from (irb):2
        5: from /home/agrare/.gem/gems/rbvmomi-2.1.1/lib/rbvmomi/connection.rb:260:in `method_missing'
        4: from /home/agrare/.gem/gems/rbvmomi-2.1.1/lib/rbvmomi/connection.rb:260:in `new'
        3: from /home/agrare/.gem/gems/rbvmomi-2.1.1/lib/rbvmomi/basic_types.rb:106:in `initialize'
        2: from /home/agrare/.gem/gems/rbvmomi-2.1.1/lib/rbvmomi/basic_types.rb:106:in `each'
        1: from /home/agrare/.gem/gems/rbvmomi-2.1.1/lib/rbvmomi/basic_types.rb:107:in `block in initialize'
RuntimeError (unexpected property name dynamicProperty)

from rbvmomi.

jrgarcia avatar jrgarcia commented on August 16, 2024

Thanks for reporting @agrare! This whole generation process is crazy. I need to spend some time revamping it. 😩

from rbvmomi.

agrare avatar agrare commented on August 16, 2024

@jrgarcia yeah I was thinking of trying to write a rake task to generate the vmodl.db automatically, or at least some spec tests to try to catch regressions.

Is it just generated from the publicly available wsdls or is anything else used?

from rbvmomi.

jrgarcia avatar jrgarcia commented on August 16, 2024

@agrare v2.1.2 should be available from RubyGems. Sorry it took so long to get this out!

from rbvmomi.

Related Issues (20)

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.