Go Puppet Enterprise API的客户端库
当前支持Orchestrator和PuppetDB API的一小部分:
运行命令行
假设您已安装。 运行以下命令,从PE设备获取RBAC令牌:
go run cmd/test/main.go
例如
go run cmd/test/main.go cometary-plot.delivery.puppetlabs.net admin pazzw0rd
Connecting to: cometary-plot.deliver
2020年4月21日:
Started preparations on back-end, now accepts Clients and Bills
2020年4月22日:
Started working on Front-End
Added: Client list view
Added: Pagination system on client list view
Added: Comunication with back-end
2020年4月26日:
Added: Front-en
钱包登录
Go API,用于验证签名。 支持实现智能合约钱包
测试API
cd api
go test ./...
运行API服务器
go build -o service ./cmd
./service
要在新的终端窗口中测试并运行React前端,请执行以下操作:
cd client
npm install
npm test
npm start
该应用程序将在可用
使用React的AWS Cognito登录
Cognito配置
- In `Login-Cognito/src/userPool.js` file change your `UserPoolId` and `ClientId`
可以在以下位置找到UserPoolId
可以在以下位置找到ClientId
AWS Cognito设置
- AWS Cognito User managment with signup, login, and forgot password options
导航到AWS