Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-1042

Originator-id size is too small in DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • Beijing Release
    • APPC

      in http://onap.readthedocs.io/en/beijing/submodules/appc.git/docs/APPC%20LCM%20API%20Guide/APPC%20LCM%20API%20Guide.html table 2 (LCM Request Fields), originator-id is set as 'An identifier of the calling system limited to a length of 40 characters.'.

       

      When I try "a7be2c28-92b0-4c7b-987d-b5080639f3f4" as this ID (37 characters), it makes an error (that can be see, only in TRACE/DEBUG mode by the way):

      ailed to execute: INSERT INTO CONFIGFILES SET data_source = 'a7be2c28-92b0-4c7b-987d-b5080639f3f4' , service_instance_id = '' , action = 'Configure' , vnf_type = 'AnsibleService/DebianVNF 0' , vnfc_type = '' , vnf_id = '529a61d0-d33b-4a1b-bd93-926ffa06bf18' , vnf_name = 'DebianVNF-instance-02' , vm_name = 'null' , file_category = 'config_data' , file_content = '{"service_name":"yolo","node":"host"}' ; with no arguments.
      java.sql.SQLDataException: (conn=57299) Data too long for column 'DATA_SOURCE' at row 1

       

            takamune_cho takamune_cho
            sdesbure sdesbure
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: