Code Monkey home page Code Monkey logo

helix-redirect's Introduction

Helix Redirect

Serve 3xx and internal redirects for Project Helix

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

Installation

Usage

helix-redirect is a service that will be called from helix-dispatch. It reads a repository's helix-redirects.yaml, retrieves all linked redirect spreadsheets, evaluates the current URL against the configured redirect rules and returns either a 3xx redirect or a 204 (no content) response to indicate that no redirect rules apply to the current URL.

curl https://adobeioruntime.net/api/v1/web/helix/helix-services/redirect@v1

For more, see the API documentation.

Development

Deploying Helix Redirect

Deploying Helix Redirect requires the wsk command line client, authenticated to a namespace of your choice. For Project Helix, we use the helix namespace.

All commits to main that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as /helix-services/redirect@ci<num> and tagged with the CI build number.

helix-redirect's People

Contributors

adobe-bot avatar greenkeeper[bot] avatar renovate-bot avatar renovate[bot] avatar rofe avatar semantic-release-bot avatar trieloff avatar tripodsan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helix-redirect's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.


  • Check this box to trigger a request for Renovate to run again on this repository

migrate to helix-deploy

see adobe/project-helix#508

  • migrate code to use helix-deploy adapter
  • update CI to use helix-deploy

support for passing along search/query params

there are a few usecases where query params are appended to a URL that are not actually evaluated on the server for example campaign ids in martech stacks. in that case it would be great to just pass on the query params and append those to the destination.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Prototype: redirect accelerator

Use the conditions-based redirects from helix-pages to create redirects in the outer CDN config when POSTing to this service with a tuple of (outer CDN) service ID and Fastly token.

All spreadsheets will be replicated to an edge dictionary for added performance. An operator can call this service after substantial redirect config changes.

Other config additions will still be effective, just slower as they are processed as part of the dispatch loop.

fetch json via fastly

in order to use the content-proxy cache in fastly, the redirect json should be read via fastly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.