Skip to content

Commit

Permalink
Merge 4b60ee6 into bfe0666
Browse files Browse the repository at this point in the history
  • Loading branch information
asifdxtreme committed Mar 12, 2018
2 parents bfe0666 + 4b60ee6 commit 7287e7b
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/release/Readme.md
Expand Up @@ -27,14 +27,13 @@ cp apache-rat-0.12/apache-rat-0.12.jar ./
Run the Rat tool using the below command

```
java -jar apache-rat-0.12.jar -a -d incubator-servicecomb-service-center/ -e *.md *.MD .gitignore .gitmodules .travis.yml *.json *.yaml *.tmpl *.conf *.html *.pb.go services.proto broker.proto manifest **vendor** **licenses**
java -jar apache-rat-0.12.jar -a -d incubator-servicecomb-service-center/ -e *.md *.MD .gitignore .gitmodules .travis.yml *.json *.tmpl api-docs.html manifest **vendor** **licenses**
```

Below is the list of the files which has been excluded from the list of RAT tool.
- *.md *.MD *.html: Skip all the Readme and Documentation file like Api Docs.
- .gitignore .gitmodules .travis.yml : Skip the git files and travis file.
- *.json *.yaml *.tmpl *.conf : Skip all the json files , yaml files, temp DockerFile and configuration files.
- *.pb.go services.proto : Skip the Protobuf auto-generated codes.
- *.json *.tmpl *.conf : Skip all the json files , yaml files, temp DockerFile and configuration files.
- manifest **vendor : Skip manifest and all the files under vendor.

You can access the latest RAT report [here](/docs/release/rat-report)
Expand Down
17 changes: 16 additions & 1 deletion etc/conf/app.conf
@@ -1,3 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

component_name = service_center
#run mode could be many options to specify the env like prod,dev
runmode = dev
Expand Down Expand Up @@ -111,4 +126,4 @@ logfile = ""
# Frontend Configurations
###################################################################
frontend_host_ip=127.0.0.1
frontend_host_port=30103
frontend_host_port=30103
15 changes: 15 additions & 0 deletions server/broker/broker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions server/broker/broker.proto
@@ -1,3 +1,20 @@
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed //under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

syntax = "proto3";

import "server/core/proto/services.proto";
Expand Down
15 changes: 15 additions & 0 deletions server/core/proto/services.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions server/core/proto/services.proto
@@ -1,3 +1,20 @@
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed //under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

syntax = "proto3";

package com.huawei.paas.cse.serviceregistry.api;
Expand Down
17 changes: 16 additions & 1 deletion server/core/swagger/v3.yaml
@@ -1,3 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

swagger: '2.0'
info:
title: Service Center API
Expand Down Expand Up @@ -1875,4 +1890,4 @@ definitions:
schemas:
type: array
items:
$ref: "#/definitions/Schema"
$ref: "#/definitions/Schema"
17 changes: 16 additions & 1 deletion server/core/swagger/v4.yaml
@@ -1,3 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

swagger: '2.0'
info:
title: Service Center API
Expand Down Expand Up @@ -2322,4 +2337,4 @@ definitions:
properties:
schema:
description: shema
type: string
type: string

0 comments on commit 7287e7b

Please sign in to comment.