Add support for custom asset domains
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- api, developer-experience
Direzione di ricerca
Inizia individuando la configurazione dell’SDK e la gestione degli URL di Asset per gli elementi Asset e Rich text. Usa l’issue e il commit unito del JavaScript SDK indicati come contesto per l’implementazione, quindi verifica che un dominio personalizzato configurato sostituisca solo l’host Asset predefinito, preservando il resto di ogni URL. Aggiungi o aggiorna la copertura per entrambe le forme di Asset prima della release.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Motivation
Customers want to use their own domains in asset links instead of the default Kontent asset URL. This way the links on their webpage will look more trustworthy, and since the custom links will be visible in search engine results, it also helps SEO optimization.
We will implement the support for custom asset domains in the Kontent app BE and Deliver, but for the whole solution to work, we also need the support in the SDK.
Proposed solution
We would like to add a new item to SDK configuration - custom asset domain. The customer would be able to set the domain. When the customer gets the item/variant that contains an asset (in Asset element or Rich text element), the custom domain will be used in the link instead of the default Kontent domain. The rest of the URL will stay the same.
Example: https://test15641652.assets.com/3727c9f0-9ea0-0068-2d4f-e6cdb4acff9d/1e040cde-e4be-4dac-a006-d406e40abf56/cat3.jpg instead of https://qa-assets-eu-01.freetls.fastly.net/3727c9f0-9ea0-0068-2d4f-e6cdb4acff9d/1e040cde-e4be-4dac-a006-d406e40abf56/cat3.jpg
Additional context
Release date: the BE part of the solution is done, you can release the SDK changes as soon as they are ready.
Feel free to be inspired by already implemented JS SDK:
- Lingua principale
- Java
- Stelle
- 17
- Fork
- 27
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kontent-ai/java-packages
-
Fill missing javadocsApertahacktoberfest refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
kontent-ai/java-packages#142 · 1 commento ·
-
hacktoberfest
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
kontent-ai/java-packages#140 · 3 commenti ·
-
Investigate Log4shell impactAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
kontent-ai/java-packages#135 · 1 commento ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
kontent-ai/java-packages#128 · 3 commenti ·
-
Add languages to SDKApertahacktoberfest
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
kontent-ai/java-packages#126 · 1 commento ·
Tutte le issue di kontent-ai/java-packages
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
mhnuk2007/finsim#175 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
device-results
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
RamazanKara/nightjar#205 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno