Add support for custom asset domains
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
调研方向
首先定位 SDK 配置以及 Asset 和 Rich text 元素的 Asset URL 处理逻辑。使用所引用的 JavaScript SDK issue 和已合并的 commit 作为实现上下文,然后验证已配置的自定义域名是否只替换默认的 Asset host,同时保留每个 URL 的其余部分。在发布前,为两种 Asset 形式添加或更新覆盖测试。
由索引模型根据 Issue 内容生成。
描述
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:
- 主要语言
- Java
- 星标
- 17
- 派生
- 27
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
kontent-ai/java-packages 的其他 Issue
-
hacktoberfest refactoring
难度 2/5 1-3 小时 新手友好度 45/100
kontent-ai/java-packages#142 · 1 条评论 ·
-
hacktoberfest
难度 4/5 3-5 天 新手友好度 35/100
kontent-ai/java-packages#140 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
kontent-ai/java-packages#135 · 1 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
kontent-ai/java-packages#128 · 3 条评论 ·
-
hacktoberfest
难度 3/5 1-2 天 新手友好度 35/100
kontent-ai/java-packages#126 · 1 条评论 ·
查看 kontent-ai/java-packages 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
难度 2/5 1-3 小时 新手友好度 80/100
mhnuk2007/finsim#175 · 1 条评论 ·
维护者通常 1 天内回复
-
device-results
难度 2/5 1-3 小时 新手友好度 66/100
RamazanKara/nightjar#205 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复