Skip to content

Apigee Edge to X Migration Tool does not support Apigee OPDK #808

Description

@remigiusz-galka

We have tested Apigee Edge to X Migration Tool trying to migrate our Apigee Edge OPDK into Hybrid but it failed with error:

    at file:///Users/taagare9/git/apigee/migration/devrel/tools/apigee-edge-to-x-migration-tool/src/gateway-clients/apigee-edge/ApigeeEdgeClient.js:191:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Job.task (file:///Users/taagare9/git/apigee/migration/devrel/tools/apigee-edge-to-x-migration-tool/src/gateway-clients/apigee-edge/ApigeeEdgeClient.js:209:28)

After some investigation it showed in:
https://github.com/apigee/devrel/blob/main/tools/apigee-edge-to-x-migration-tool/src/gateway-clients/apigee-edge/ApigeeEdgeClient.js
that it trying to get token from hardcoded url of google api:

    return fetch('https://login.apigee.com/oauth/token', {
      method: 'POST',
      body: querystring.stringify({
        username: this.username,
        password: this.password,
        grant_type: 'password'
      }),
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',
        'Accept': 'application/json;charset=utf-8',
        'Authorization': 'Basic ZWRnZWNsaTplZGdlY2xpc2VjcmV0'
      }

Could you please confirm this Apigee Edge to X Migration Tool also supports Apigee Edge for Private Cloud (On-Premise/OPDK) to migrade to Hybrid?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions