moooofly

Results 45 comments of moooofly

All APIs are support now, hooray @steven-zou

## Case 1 ![image](https://user-images.githubusercontent.com/7439290/48139591-d68ec580-e2e1-11e8-836b-0c56bb9583ae.png) ``` { "name": "sync-to-somewhere", "description": "", "trigger": { "kind": "Manual" }, "replicate_existing_image_now": true, "replicate_deletion": false, "filters": [], "projects": [ { "project_id": 10, "owner_id": 1, "name": "temp_9",...

## Case 2 ![image](https://user-images.githubusercontent.com/7439290/48139913-98de6c80-e2e2-11e8-8a66-c228f7eeaeb6.png) ``` { "name": "sync-again", "description": "", "trigger": { "kind": "Immediate" }, "replicate_existing_image_now": true, "replicate_deletion": false, "filters": [], "projects": [ { "project_id": 9, "owner_id": 1, "name": "temp_8",...

## Case 3 ![image](https://user-images.githubusercontent.com/7439290/48140229-52d5d880-e2e3-11e8-8ae6-19bf4de69d2e.png) ``` { "name": "sync-third", "description": "", "trigger": { "kind": "Scheduled", "schedule_param": { "type": "Daily", "offtime": 68400 } }, "replicate_existing_image_now": true, "replicate_deletion": false, "filters": [], "projects": [...

## Case 4 ![image](https://user-images.githubusercontent.com/7439290/48141897-bca3b180-e2e6-11e8-806c-3d7710263312.png) ``` { "name": "sync-fourth", "description": "444", "trigger": { "kind": "Manual" }, "replicate_existing_image_now": true, "replicate_deletion": false, "filters": [ { "kind": "repository", "value": "repo" }, { "kind": "tag",...

## Case 5 ![image](https://user-images.githubusercontent.com/7439290/48176491-37061d00-e34b-11e8-81ed-9fb8f7283977.png) ``` { "name": "sync-fifth", "description": "fifth", "trigger": { "kind": "Scheduled", "schedule_param": { "type": "Weekly", "weekday": 1, "offtime": 0 } }, "replicate_existing_image_now": true, "replicate_deletion": false, "filters": [],...

## Conclusion Here are the major steps that Harbor UI does 1. By "`GET /api/policies/replication?name=`" to check if the replication rule with name already exists. 2. By "`GET /api/projects?name=`" to...

by https://github.com/moooofly/harborctl/issues/30#issuecomment-436667550, you can see that ``` "filters": [ { "kind": "repository", "value": "repo" }, { "kind": "tag", "value": "v10086" }, { "kind": "label", "value": 33 }, { "kind": "label",...

have a try with the content below (setting "id") ``` { "id": 100, // -- set this in order to specify the label ID "name": "sync-fifth", "description": "fifth", "trigger": {...

Hi, @rurus9 Sorry for late reply, I will check this up. It is more likely related to harbore version issue, because harbor changes dramatically between lastest release. BTW, `harborctl` has...