Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Moves viz hosting from internal server to CDN. #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noahamac
Copy link
Contributor

@noahamac noahamac commented Aug 19, 2020

Marketplace visualizations are now served from the Marketplace CDN. Great! What does that mean for me?

  • faster load times
  • fewer API calls made to the internal server
  • minor changes such as bug fixes can be deployed to the visualization without updating from the Marketplace > Manage page
  • no more CORS/cookie violations in Incognito mode/some Chrome configurations

What if I want to continue to use the internal server to host my Marketplace visualizations?
This method is not recommended. However, strict security policies will block open access to our CDN and may necessitate hosting on the internal server. If your instance does not meet these network requirements,

• HTTPS port 443 should be open or able to access https://marketplace-api.looker.com
• SSH port 22 should be open or able to access https://github.com
• GIT port 9418 should be open or able to access https://github.com

you will not be able to use the Marketplace and should follow these directions:

Every Marketplace visualization can be found on Github, in the Looker organization, following the repository naming pattern of "viz-full_name-marketplace". For example, https://github.com/looker/viz-multiple_value-marketplace . In this repo, you can find the visualization's minified distribution file. You'll want to drag and drop that file into a LookML project, and define a visualization object in the manifest file which references the viz js file.

// manifest.lkml
visualization: {
  id: "multiple-value-internal-server"
  file: "multiple_value.js"
  label: "Multiple Value"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant