diff options
-rw-r--r-- | .gitlab/issue_templates/mytemplate.md | 3 | ||||
-rw-r--r-- | .gitlab/merge_request_templates/mytemplate.md | 3 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/harvester-binding.c | 2 |
5 files changed, 10 insertions, 4 deletions
diff --git a/.gitlab/issue_templates/mytemplate.md b/.gitlab/issue_templates/mytemplate.md new file mode 100644 index 0000000..25d91d8 --- /dev/null +++ b/.gitlab/issue_templates/mytemplate.md @@ -0,0 +1,3 @@ +**Please use https://gerrit.automotivelinux.org for code contributions.** +See also: https://docs.automotivelinux.org/ chapter "How to contribute". + diff --git a/.gitlab/merge_request_templates/mytemplate.md b/.gitlab/merge_request_templates/mytemplate.md new file mode 100644 index 0000000..25d91d8 --- /dev/null +++ b/.gitlab/merge_request_templates/mytemplate.md @@ -0,0 +1,3 @@ +**Please use https://gerrit.automotivelinux.org for code contributions.** +See also: https://docs.automotivelinux.org/ chapter "How to contribute". + @@ -3,8 +3,8 @@ ## Installation ```bash -git clone --recurse-submodules https://github.com/iotbzh/agl-service-harvester.git -cd agl-service-harvester.git +git clone https://gerrit.automotivelinux.org/gerrit/apps/agl-service-harvester +cd agl-service-harvester mkdir build && cd build cmake .. && make ``` diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ad1233..2c5cc85 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,7 +30,7 @@ PROJECT_TARGET_ADD(harvester) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES PREFIX "afb-" - LABELS "BINDINGV2" + LABELS "BINDING" LINK_FLAGS ${BINDINGS_LINK_FLAG} OUTPUT_NAME ${TARGET_NAME} ) diff --git a/src/harvester-binding.c b/src/harvester-binding.c index 5968fba..fee52ad 100644 --- a/src/harvester-binding.c +++ b/src/harvester-binding.c @@ -51,7 +51,7 @@ static void ctrlapi_auth(afb_req_t request) afb_req_success(request, NULL, NULL); } -static afb_verb_t CtrlApiVerbs[] = { +static const afb_verb_t CtrlApiVerbs[] = { /* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */ { .verb = "ping", .callback = ctrlapi_ping, .info = "ping test for API" }, { .verb = "auth", .callback = ctrlapi_auth, .info = "Authenticate session to raise Level Of Assurance of the session" }, |