Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend 'Client' class with 'create_multiple' and 'bulk_delete' methods #38

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

karolkulesza
Copy link

No description provided.

Lucas Krämer de Sousa and others added 9 commits February 11, 2016 19:47
…oad (extended 'MessageBuilder' with 'create_multiple_request' and created 'ExecuteMultipleResult' class);
…t for the finish of bulk job execution (‘check_job_status’ helper method introduced);
@@ -7,3 +7,5 @@ notifications:
- [email protected]
on_success: never
on_failure: always
before_install:
- gem install bundler
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this necessary?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build on Travis CI did not succeed, due to:

"In short, the bundler version that Travis uses is very outdated. Running a gem update and install for bundler as a prestep for the Travis build fixes it usually."

Please refer to the issues described here:

@jheth
Copy link
Contributor

jheth commented Feb 24, 2016

@karolkulesza Thank you for the contribution. I've posted a couple comments.

@jheth
Copy link
Contributor

jheth commented Feb 24, 2016

@karolkulesza Thanks for the information. Could you provide some level of spec coverage to go with this change?

jheth and others added 10 commits February 24, 2016 09:48
…arties on create

This allows a user to create entities like:

from1 = DynamicsCRM::XML::Entity.new('activityparty')
from1.attributes = DynamicsCRM::XML::Attributes.new({partyid:
DynamicsCRM::XML::EntityReference.new("systemuser", @employee.id)})
to1  = DynamicsCRM::XML::Entity.new('activityparty')
to1.attributes = DynamicsCRM::XML::Attributes.new({partyid:
DynamicsCRM::XML::EntityReference.new("lead", @lead.id) })

body = {
    subject:               "Subject for your phonecall",
    description:           "Description",
    from:                  [from1],
    to:                    [to1]
}
@call = @client.create('phonecall', body)
Support ArrayOfEntity so one can create bound entities like ActivityParties on create
@jheth
Copy link
Contributor

jheth commented Apr 14, 2016

@karolkulesza Could you rebase this branch? I think it will fix the build issue. Also, I'd like to see a spec added for this.

@jheth
Copy link
Contributor

jheth commented Jul 25, 2016

@karolkulesza Could you rebase this branch? I think it will fix the build issue.

@karolkulesza
Copy link
Author

Fixed my build issues. Seems like the only one left is related with 'On Premise authentication':

  1) DynamicsCRM::Client#authenticate On-Premise authenticates with username and password
     Failure/Error: wsdl = open(organization_endpoint + "?wsdl=wsdl0").read

     SocketError:
       getaddrinfo: Name or service not known
     # ./lib/dynamics_crm/client.rb:345:in `organization_wsdl'

@jheth
Copy link
Contributor

jheth commented Sep 22, 2016

@karolkulesza I'd like to see this work get contributed, but your branch is quite diverged at this point. Can you rebrase this branch from the latest master so we can see the actual differences?

@jheth
Copy link
Contributor

jheth commented Nov 5, 2016

@karolkulesza Would you be able to re-base your branch? I'd like to get this feature added.

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.

3 participants