definition:
  language:
    python:
      - name: "Legacy requests library"
        prefix: "requests."
        provider: TECH_DEBT
        rule: "requests\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Target httpx"
        prefix: "httpx."
        provider: TARGET
        rule: "httpx\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Legacy urllib2"
        prefix: "urllib2."
        provider: TECH_DEBT
        rule: "urllib2\\.(?<operation>[a-zA-Z0-9_]+)"
    go:
      - name: "Deprecated internal auth client (example)"
        prefix: "github.com/acme/legacy-auth/"
        provider: TECH_DEBT
      - name: "Legacy ioutil (Go 1.16+)"
        prefix: "io/ioutil."
        provider: TECH_DEBT
        rule: "io/ioutil\\.(?<operation>[a-zA-Z0-9_]+)"
    java:
      - name: "Deprecated java.util.Date usage"
        prefix: "java.util.Date"
        provider: TECH_DEBT
        rule: "java\\.util\\.Date\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Target java.time"
        prefix: "java.time."
        provider: TARGET
        rule: "java\\.time\\.(?<resource_group>[a-zA-Z0-9_.]+)\\.(?<operation>[a-zA-Z0-9_]+)"
    javascript:
      - name: "Legacy request library"
        prefix: "request."
        provider: TECH_DEBT
        rule: "request\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Target node-fetch / fetch"
        prefix: "node-fetch."
        provider: TARGET
        rule: "node-fetch\\.(?<operation>[a-zA-Z0-9_]+)"

  providers:
    TECH_DEBT:
      servicenameMapping: {}
    TARGET:
      servicenameMapping: {}
