Jennifer88huang commented on a change in pull request #8085:
URL: https://github.com/apache/pulsar/pull/8085#discussion_r493121684
##########
File path: site2/website/pulsar-manager-release-notes.md
##########
@@ -1,19 +1,39 @@
## Apache Pulsar Manager
+### 0.2.0 — 2020-09-28 <a id="0.2.0"></a>
+
+#### Fixes
Review comment:
I suggest that we just remove this heading.
For guides, refer to [heading
usage](https://developers.google.com/style/headings)
##########
File path: site2/website/pulsar-manager-release-notes.md
##########
@@ -1,19 +1,39 @@
## Apache Pulsar Manager
+### 0.2.0 — 2020-09-28 <a id="0.2.0"></a>
+
+#### Fixes
+
+* Support multiple addresses for the broker stats
[PR-306](https://github.com/apache/pulsar-manager/pull/306).
+* Use `PulsarAdmin` instead of `HttpUti`l in `BrokerStatsServiceImpl`
[PR-315](https://github.com/apache/pulsar-manager/pull/315).
+* Serve frontend directly from Pulsar Manager backend process
[PR-288](https://github.com/apache/pulsar-manager/pull/288).
+* Support docker for JWT
[PR-218](https://github.com/apache/pulsar-manager/pull/218).
+* Support sub and unsub operations
[PR-240](https://github.com/apache/pulsar-manager/pull/240).
+* Support peeking messages from the Pulsar broker
[PR-241](https://github.com/apache/pulsar-manager/pull/241).
+* Support BookKeeper visual manager 1.2.0
[PR-300](https://github.com/apache/pulsar-manager/pull/300).
+* Support forwarding messages through HTTPS
[PR-258](https://github.com/apache/pulsar-manager/pull/258).
+* Support displaying stats for tenants and namespaces
[PR-243](https://github.com/apache/pulsar-manager/pull/243).
+* Add a configuration file for the backend service of Pulsar manager
[PR-236](https://github.com/apache/pulsar-manager/pull/236).
+* Add default configurations for the environment
[PR-242](https://github.com/apache/pulsar-manager/pull/242).
+* Fixe an SQL syntax error
[PR-298](https://github.com/apache/pulsar-manager/pull/298).
+* Fix the issue that Pulsar Manager fail to process the request sent to the
Pulsar proxy [PR-281](https://github.com/apache/pulsar-manager/pull/281).
+* Change the default port and replace the request URI
[PR-316](https://github.com/apache/pulsar-manager/pull/316).
+
+
### 0.1.0 — 2019-11-25 <a id="0.1.0"></a>
#### Fixes
Review comment:
remove the heading.
##########
File path: site2/docs/administration-pulsar-manager.md
##########
@@ -14,38 +14,38 @@ Pulsar Manager is a web-based GUI management and monitoring
tool that helps admi
The easiest way to use the Pulsar Manager is to run it inside a
[Docker](https://www.docker.com/products/docker) container.
+```shell
+docker pull apachepulsar/pulsar-manager:v0.2.0
+docker run -it \
+ -p 9527:9527 -p 7750:7750 \
+ -e
SPRING_CONFIGURATION_FILE=/pulsar-manager/pulsar-manager/application.properties
\
+ apachepulsar/pulsar-manager:v0.2.0
```
-docker pull apachepulsar/pulsar-manager:v0.1.0
-mkdir temp-data
-chmod 777 temp-data
-cd temp-data
-docker run -it -p 9527:9527 -e REDIRECT_HOST=http://192.168.0.104 -e
REDIRECT_PORT=9527 -e DRIVER_CLASS_NAME=org.postgresql.Driver -e
URL='jdbc:postgresql://127.0.0.1:5432/pulsar_manager' -e USERNAME=pulsar -e
PASSWORD=pulsar -e LOG_LEVEL=DEBUG -v $PWD:/data
apachepulsar/pulsar-manager:v0.1.0 /bin/sh
-```
-
-* REDIRECT_HOST: the IP address of the front-end server.
-
-* REDIRECT_PORT: the port of the front-end server.
-
-* DRIVER_CLASS_NAME: the driver class name of PostgreSQL.
-
-* URL: the URL of PostgreSQL JDBC, For example,
`jdbc:postgresql://127.0.0.1:5432/pulsar_manager`.
-* USERNAME: the username of PostgreSQL.
+* `SPRING_CONFIGURATION_FILE`: Default configuration file for spring.
-* PASSWORD: the password of PostgreSQL.
+#### Set administrator account and password
-* LOG_LEVEL: level of log.
+ ```shell
+CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
+curl \
+ -H 'X-XSRF-TOKEN: $CSRF_TOKEN' \
+ -H 'Cookie: XSRF-TOKEN=$CSRF_TOKEN;' \
+ -H "Content-Type: application/json" \
+ -X PUT http://localhost:7750/pulsar-manager/users/superuser \
+ -d '{"name": "admin", "password": "apachepulsar", "description": "test",
"email": "[email protected]"}'
+```
-You can find the in the
[Docker](https://github.com/apache/pulsar-manager/tree/master/docker) directory
and build an image from scratch as well:
+You can find the in the
[Docker](https://github.com/apache/pulsar-manager/tree/master/docker) directory
and build an image from source code as well:
Review comment:
find the xxx? What's the modifier of "the"?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]