amundsen icon indicating copy to clipboard operation
amundsen copied to clipboard

Activating Lineage with config-external.js

Open VenezianoMauro opened this issue 3 years ago • 2 comments

Im trying to activate the lineage button in the Frontend changing the flag on amundsen_application/static/config-external.js

Dockerfile:

`FROM amundsendev/amundsen-frontend:4.1.2  
WORKDIR /app  
COPY ./config-external.js  amundsen_application/static/config-external.js`  

config-external.js:

window['configExternal'] = {   
  featureLineage: {  
    inAppListEnabled: true,  
  },  
  tableLineage: {  
    inAppListEnabled: true,  
    inAppPageEnabled: true,  
    externalEnabled: true,  
    iconPath: 'PATH_TO_ICON',  
    isBeta: false,  
    urlGenerator: (  
      database: string,  
      cluster: string,  
      schema: string,  
      table: string  
    ) =>  
      `https://DEFAULT_LINEAGE_URL?schema=${schema}&cluster=${cluster}&db=${database}&table=${table}`,  
  },  
  columnLineage: {  
    inAppListEnabled: true,  
    inAppPageEnabled: true,  
    urlGenerator: (  
      database: string,  
      cluster: string,  
      schema: string,  
      table: string,  
      column: string  
    ) =>  
      `https://DEFAULT_LINEAGE_URL? 
 schema=${schema}&cluster=${cluster}&db=${database}&table=${table}&column=${column}`,
  },  
  
}

Any ideas of what i'm doing wrong?
Thanks a lot!

VenezianoMauro avatar Jun 09 '22 20:06 VenezianoMauro

Thanks for opening your first issue here!

boring-cyborg[bot] avatar Jun 09 '22 20:06 boring-cyborg[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jun 24 '22 04:06 stale[bot]

This issue has been automatically closed for inactivity. If you still wish to make these changes, please open a new pull request or reopen this one.

stale[bot] avatar Aug 13 '22 03:08 stale[bot]