Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wrr-cat
apollo
提交
dd87fe14
apollo
项目概览
wrr-cat
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
GitCode(gitcode.net)2024年7月9日维护升级公告
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
dd87fe14
编写于
9月 28, 2016
作者:
Z
zhangle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add create tips
上级
1de8d62a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
43 addition
and
1 deletion
+43
-1
apollo-portal/src/main/resources/static/app.html
apollo-portal/src/main/resources/static/app.html
+1
-0
apollo-portal/src/main/resources/static/cluster.html
apollo-portal/src/main/resources/static/cluster.html
+13
-0
apollo-portal/src/main/resources/static/config/sync.html
apollo-portal/src/main/resources/static/config/sync.html
+7
-0
apollo-portal/src/main/resources/static/namespace.html
apollo-portal/src/main/resources/static/namespace.html
+22
-1
未找到文件。
apollo-portal/src/main/resources/static/app.html
浏览文件 @
dd87fe14
...
...
@@ -62,6 +62,7 @@
应用负责人
</label>
<div
class=
"col-sm-6"
>
<apollouserselector
apollo-id=
"userSelectWidgetId"
></apollouserselector>
<br>
<small>
(负责人具有项目管理的最高权限,比如分配配置的修改权,发布权等)
</small>
</div>
</div>
...
...
apollo-portal/src/main/resources/static/cluster.html
浏览文件 @
dd87fe14
...
...
@@ -34,6 +34,19 @@
</header>
<div
class=
"panel-body"
>
<div
class=
"alert alert-info"
role=
"alert"
>
<strong>
Tips:
</strong>
<ul>
<li>
通过添加集群,可以使同一份程序在不同的集群(如不同的数据中心)使用不同的配置
</li>
<li>
Apollo默认会读取机器上/opt/settings/server.properties(linux)或C:\opt\settings\server.properties(windows)文件中的idc属性作为集群名字,
如SHAJQ(金桥数据中心)、SHAOY(欧阳数据中心)
</li>
<li>
在这里创建的集群名字需要和机器上server.properties中的idc属性一致
</li>
</ul>
</div>
<form
class=
"form-horizontal"
name=
"clusterForm"
valdr-type=
"Cluster"
ng-show=
"step == 1"
ng-submit=
"create()"
>
<div
class=
"form-group"
>
...
...
apollo-portal/src/main/resources/static/config/sync.html
浏览文件 @
dd87fe14
...
...
@@ -43,6 +43,13 @@
</header>
<div
class=
"panel-body"
>
<div
class=
"row"
ng-show=
"syncItemStep == 1"
>
<div
class=
"alert-info alert"
>
<strong>
Tips:
</strong>
<ul>
<li>
通过同步配置功能,可以使多个环境、集群间的配置保持一致
</li>
<li>
需要注意的是,同步完之后需要发布后才会对应用生效
</li>
</ul>
</div>
<div
class=
"form-horizontal"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
同步的Namespace
</label>
...
...
apollo-portal/src/main/resources/static/namespace.html
浏览文件 @
dd87fe14
...
...
@@ -34,6 +34,25 @@
<div
class=
"panel-body"
>
<div
class=
"alert alert-info"
role=
"alert"
ng-show=
"type == 'link'"
>
<strong>
Tips:
</strong>
<ul>
<li>
公共namespace所属的应用通过关联公共namespace来配置公共部分的配置
</li>
<li>
其它应用可以通过关联公共namespace来覆盖公共部分的配置
</li>
<li>
如果其它应用不需要覆盖公共部分的配置,那么无需关联公共namespace
</li>
</ul>
</div>
<div
class=
"alert alert-info"
ng-show=
"type == 'create'"
>
<strong>
Tips:
</strong>
<ul>
<li>
通过创建一个公共的namespace可以实现公共组件的配置,或多个应用共享同一份配置的需求
</li>
<li>
创建完公共的namespace且关联到当前应用后,就可以配置公共部分的配置了
</li>
<li>
如果其它应用需要覆盖公共部分的配置,可以在其它应用那里关联公共的namespace,然后在关联的namespace里面配置需要覆盖的配置即可
</li>
<li>
如果其它应用不需要覆盖公共部分的配置,那么就不需要在其它应用那里关联公共的namespace
</li>
</ul>
</div>
<div
class=
"row text-right"
style=
"padding-right: 20px;"
>
<div
class=
"btn-group btn-group-sm"
role=
"group"
aria-label=
"..."
>
<button
type=
"button"
class=
"btn btn-default"
ng-class=
"{active:type=='link'}"
...
...
@@ -45,6 +64,7 @@
</div>
</div>
<form
class=
"form-horizontal"
name=
"namespaceForm"
valdr-type=
"AppNamespace"
style=
"margin-top: 30px;"
ng-show=
"step == 1"
ng-submit=
"createNamespace()"
>
<div
class=
"form-group"
>
...
...
@@ -122,7 +142,8 @@
<div
class=
"form-group"
>
<div
class=
"col-sm-offset-3 col-sm-10"
>
<button
type=
"submit"
class=
"btn btn-primary"
ng-disabled=
"(type == 'create' && namespaceForm.$invalid) || submitBtnDisabled"
>
提交
ng-disabled=
"(type == 'create' && namespaceForm.$invalid) || submitBtnDisabled"
>
提交
</button>
</div>
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录