Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8469

Several enum types should generate lower case values in camel-linkedin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.14.1
    • None
    • None
    • None
    • Unknown

    Description

      Following parameters - types should generate values in lower case:

      • event_type - org.apache.camel.component.linkedin.api.Eventtype
      • category - org.apache.camel.component.linkedin.api.Category
      • order - org.apache.camel.component.linkedin.api.Order
      • role - org.apache.camel.component.linkedin.api.Role
      • postcategorycode - org.apache.camel.component.linkedin.api.model.PostCategoryCode

      Also notice that postcategory code should contain 'job' and 'promotion' values - https://developer-programs.linkedin.com/documents/groups-api.

      I've tried to fix that with adding of

      <bindings node="//xs:simpleType[@name='event-type']">
          <typesafeEnumClass name="EventType" />
      </bindings>
      

      to linkedin-api-schema.xjb as well as appropriate simpleType to linkedin-api-schema.xsd, but it was without success. I still got:

      Error invoking getCompanyUpdates: Invalid filter {STATUS_UPDATE}
      

      Names of enum values are used.

      Attachments

        Activity

          People

            dhirajsb Dhiraj Sureshkumar Bokde
            trohovsky Tomas Rohovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: