RESTful API supports 64bit data values

Idea created by Andre_H on Feb 3, 2015
    Delivered
    Score57

    What is the use case of the new feature?

    ----------------------------------------

    Customer wants to create custom events by the RESTful-WS API in the related custom event code ID range (0xfff0000 upwards). E.g. like in the Event Configuration GUI or at the file base.

     

    Describe the new feature in detail

    ----------------------------------

    The RestAPI converts the event codes from Hexadecimal to integer in Java. In Java, an integer can have a maximum value of 2,147,483,647 (signed int 32 bit). If a user wants to convert an event code in the custom event ID range like 0xffff0002, the conversion results into a decimal value of 4,294,901,762 which is greater than the MAX integer value in JAVA. Engineering confirmed this is FAD for the RestAPI.

    But that means the RestAPI will not work for events whose event codes are greater than 0x7fffffff and in result for the custom event ID ranges.

    The RestAPI should be able to cover all of the possible value ranges of the spectrum data model.

     

    Describe how you envision this new feature being implemented.

    -------------------------------------------------------------

    The RestAPI should use 64bit data types or data types which covers all of the possible value ranges of the spectrum data model.

     

    What business problem will be solved by adding this new feature?

    ----------------------------------------------------------------

    Users are able to use the RESTful-API as suggested by the documentation and without any undocumented limits. The API makes the CA Spectrum data model accessible to many different external development environments and methods.

     

    Describe the importance and urgency

    -----------------------------------

    The described problem limits the possibilities of the RESTful API feature. In certain cases the RESTful API is not usable as by the limit.

    Importance: high

    Urgency: high