Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
9ed40da2
Commit
9ed40da2
authored
Jun 21, 2016
by
lepdou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9f2ea7d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
AppService.java
...com/ctrip/framework/apollo/portal/service/AppService.java
+1
-1
app.html
apollo-portal/src/main/resources/static/app.html
+1
-1
No files found.
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AppService.java
View file @
9ed40da2
...
...
@@ -89,7 +89,7 @@ public class AppService {
App
managedApp
=
appRepository
.
findByAppId
(
appId
);
if
(
managedApp
!=
null
)
{
throw
new
BadRequestException
(
String
.
format
(
"app id %s
has existed
!"
,
app
.
getAppId
()));
throw
new
BadRequestException
(
String
.
format
(
"app id %s
already exists
!"
,
app
.
getAppId
()));
}
else
{
App
createdApp
=
appRepository
.
save
(
app
);
namespaceService
.
createDefaultAppNamespace
(
appId
);
...
...
apollo-portal/src/main/resources/static/app.html
View file @
9ed40da2
...
...
@@ -42,7 +42,7 @@
<label
class=
"col-sm-2 control-label"
><apollorequiredfiled></apollorequiredfiled>
应用名称
</label>
<div
class=
"col-sm-5"
>
<input
type=
"text"
class=
"form-control"
name=
"appName"
ng-model=
"app.name"
required
>
<small>
(
格式 xx-yy-zz,不能使用'+'字符
例:apollo-server)
</small>
<small>
(
建议格式 xx-yy-zz
例:apollo-server)
</small>
</div>
</div>
<div
class=
"form-group"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment