Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-266

REST properties endpoints

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 0.17.0
    • None
    • None
    • All
    • 0.16.0
    • GreenHopper Ranking:
      0|i0we1n:
    • 9223372036854775807
    • Small

    Description

      Get properties

      GET /properties/{definitionName}

      response
      {
      	{jsonSchema: ...},
      	{uiSchema: ...},
      	{properties: ...}
      }
      

      Triggers on a single property

      POST /properties/{definitionName}/validate/{propName}
      POST /properties/{definitionName}/beforeActivate/{propName}
      POST /properties/{definitionName}/beforeRender/{propName}
      POST /properties/{definitionName}/after/{propName}

      request
      {
      	{form-data: …}
      }
      
      response
      {
      	{json-schema: ...},
      	{ui-schema: ...},
      	{form-data (properties): ...}
      }
      

      Validate component properties

      POST /properties/{definitionName}

      request
      {
      	{form-data: …}
      }
      
      response OK
      HTTP code 204 (no content)
      
      response KO HTTP 400 (ui specs with errors)
      {
      	ui-specs : {},
      	dataset-ui-specs : {}
      }
      

      Get dataset properties

      POST /properties/{datastoreDefinitionName}/dataset

      request
       
      {form-data: …} // datastore form data
      
      response
      {
      	{json-schema: ...},
      	{ui-schema: ...},
      	{form-data: ...}
      }
      

      Validate dataset properties (no connection to datastore)

      POST /properties/{datasetDefinitionName}
      (same as validating any properties but content is different since is requires both datastore and dataset form data.)

      request
       
      {
      	datastore-form-data: {},
      	dataset-form-data: {}
      }
      
      response OK
      HTTP code 204 (no content)
      
      response KO HTTP 400 (ui specs with errors)
      {
      	datastore-ui-specs : {},
      	dataset-ui-specs : {}
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tfion Thomas Fion
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: