Files
hudi-service/test/test.http

39 lines
877 B
HTTP

@host = 132.122.116.142
@port = 35690
@username = AxhEbscwsJDbYMH2
@password = cYxg3b4PtWoVD5SjFayWxtnSVsjzRsg4
@url = http://{{username}}:{{password}}@{{host}}:{{port}}
@queue-url = {{url}}/hudi_services/queue
###
GET {{queue-url}}/queue/names
###
GET {{queue-url}}/queue/all/compaction-queue-b1
###
POST {{queue-url}}/queue/add/compaction-queue-test
Content-Type: application/json
{
"id": "251351dc-36db-4fe3-97d2-9667d7a89559",
"priority": 1,
"data": {
"id": "{{$guid}}",
"flinkJobId": "1542097983881048064",
"alias": "crm_cfguse_area_code",
"batch": "ojvfodao_hj",
"status": "SCHEDULE",
"comment": "Comment"
}
}
###
POST {{queue-url}}/queue/remove_all_id/compaction-queue-test
Content-Type: application/json
[
"251351dc-36db-4fe3-97d2-9667d7a89559",
"2b7f29f6-97b5-4363-98a7-a28eaca7d930"
]