Edit configuration object: migrate_plus.migration.company_teaser_swisspeers

Add to Default shortcuts
"""
uuid: d0d419fd-1eba-4e7b-b225-dd31b6dd74a7\n
langcode: en\n
status: true\n
dependencies:\n
  enforced:\n
    module:\n
      - company_teaser\n
id: company_teaser_swisspeers\n
class: null\n
field_plugin_method: null\n
cck_plugin_method: null\n
migration_tags: company_teaser\n
migration_group: company_teaser\n
label: 'swisspeers data import'\n
source:\n
  plugin: url\n
  data_fetcher_plugin: http\n
  data_parser_plugin: json\n
  urls: 'https://app.swisspeers.ch/api/auctions'\n
  ids:\n
    auction_id:\n
      type: integer\n
  track_changes: true\n
  constants:\n
    link_base: 'https://www.swisspeers.ch/investieren/firmenkredite?utm_source=cash22&utm_medium=auctioncards&fromAuctionId='\n
  fields:\n
    -\n
      name: auction_id\n
      label: 'Auction ID'\n
      selector: /auctionId\n
    -\n
      name: amount\n
      label: amount\n
      selector: /amount\n
    -\n
      name: amount_funded\n
      label: amountFunded\n
      selector: /amountFunded\n
    -\n
      name: auction_end\n
      label: 'Auction End'\n
      selector: /auctionEnd\n
    -\n
      name: industry\n
      label: Industry\n
      selector: /industry\n
    -\n
      name: max_rate\n
      labe: maxRate\n
      selector: /maxRate\n
    -\n
      name: min_investment\n
      label: minInvestment\n
      selector: /minInvestment\n
    -\n
      name: picture_url\n
      label: 'Picture Url'\n
      selector: /pictureUrl\n
    -\n
      name: teaser\n
      label: Teaser\n
      selector: /teaser\n
    -\n
      name: term_in_months\n
      label: termInMonths\n
      selector: /termInMonths\n
    -\n
      name: title\n
      label: Title\n
      selector: /title\n
process:\n
  title: industry\n
  body/value:\n
    plugin: company_teaser_swisspeers_body\n
  body/format:\n
    plugin: default_value\n
    default_value: full_html\n
  field_company_teaser_image_link: picture_url\n
  field_company_teaser_link/uri:\n
    plugin: concat\n
    source:\n
      - constants/link_base\n
      - auction_id\n
  field_company_teaser_link/title: title\n
  field_company_teaser_company_key:\n
    plugin: default_value\n
    default_value: SP\n
  created:\n
    plugin: callback\n
    callable: strtotime\n
    source: auction_end\n
  status:\n
    plugin: default_value\n
    default_value: 1\n
  type:\n
    plugin: default_value\n
    default_value: company_teaser\n
destination:\n
  plugin: 'entity:node'\n
migration_dependencies: {  }\n
"""