-
Notifications
You must be signed in to change notification settings - Fork 0
Add worker and local dev nugget tools #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tj-cisco
wants to merge
23
commits into
main
Choose a base branch
from
sdk_tools
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 13 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2af2694
Add worker and local dev nugget tools
tj-cisco 260d335
Polish local dev tool output and telemetry
tj-cisco d33d649
Default rzb-dev log mask
tj-cisco afb2c54
Harden local tool edge cases
tj-cisco 150bad6
Add shared schema pointer
tj-cisco fe8788a
Add dispatcher-next message support
tj-cisco 7475432
Add dispatcher-next C&C helpers
tj-cisco 16fc3f7
Rename phase telemetry labels to stages
tj-cisco 29406b4
Add dispatcher-next SDK runtime support
tj-cisco b2dc5b1
Ignore SDK-C build artifacts
tj-cisco 72fcde7
Add phase 10 analysis result helpers
tj-cisco 94c3522
Replace legacy transfer with HTTP fileserver
tj-cisco 98b5d92
Update shared schema submodule
tj-cisco bd69a04
Update C SDK dispatcher-next message helpers
tj-cisco 5a3f675
Point C SDK smoke at deployment stack
tj-cisco 094daad
Align C SDK runtime telemetry with phase 14
tj-cisco 291c984
Use relative schema submodule URL
tj-cisco 1ca77f7
Align container image defaults with GHCR
tj-cisco d340824
Add AMQPS support to live smoke tests
tj-cisco 9a7ff0f
Align search export validation with index contract
tj-cisco e25bde6
Update shared schema reference
tj-cisco a98d6cc
Enforce C SDK metadata value limits
tj-cisco 1c20016
Declare named queues as quorum
tj-cisco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| /* | ||
| * Copyright (c) 2011-2026 Cisco Systems, Inc. | ||
| * | ||
| * This program is free software; you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License version 2 as | ||
| * published by the Free Software Foundation. | ||
| * | ||
| * This program is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with this program; if not, write to the Free Software | ||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
| * MA 02110-1301, USA. | ||
| */ | ||
|
|
||
| /** @file fileserver.h | ||
| * Dispatcher-next HTTP(S) fileserver block transport. | ||
| */ | ||
| #ifndef RAZORBACK_FILESERVER_H | ||
| #define RAZORBACK_FILESERVER_H | ||
|
|
||
| #include <razorback/types.h> | ||
| #include <razorback/visibility.h> | ||
|
|
||
| #ifdef __cplusplus | ||
| extern "C" { | ||
| #endif | ||
|
|
||
| typedef struct RzbNextFileserverClient RzbNextFileserverClient_t; | ||
|
|
||
| enum RzbNextFileserverStatus | ||
| { | ||
| RZB_NEXT_FILESERVER_OK = 0, | ||
| RZB_NEXT_FILESERVER_LOCAL_ERROR = 1, | ||
| RZB_NEXT_FILESERVER_NOT_FOUND = 2, | ||
| RZB_NEXT_FILESERVER_RETRYABLE = 3, | ||
| RZB_NEXT_FILESERVER_HTTP_ERROR = 4, | ||
| RZB_NEXT_FILESERVER_PAYLOAD_MISMATCH = 5 | ||
| }; | ||
|
|
||
| SO_PUBLIC extern RzbNextFileserverClient_t * RzbNextFileserverClient_Create( | ||
| const char *baseUrl, | ||
| uint64_t fetchTimeoutSeconds, | ||
| uint64_t uploadTimeoutSeconds | ||
| ); | ||
| SO_PUBLIC extern void RzbNextFileserverClient_Destroy( | ||
| RzbNextFileserverClient_t *client | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_BuildUrl( | ||
| const RzbNextFileserverClient_t *client, | ||
| const struct BlockId *blockId, | ||
| char **url | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_StoreFile( | ||
| RzbNextFileserverClient_t *client, | ||
| const struct BlockId *blockId, | ||
| const char *fileName | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_StoreBytes( | ||
| RzbNextFileserverClient_t *client, | ||
| const struct BlockId *blockId, | ||
| const uint8_t *data, | ||
| size_t length | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_StoreBlockPoolItem( | ||
| RzbNextFileserverClient_t *client, | ||
| struct BlockPoolItem *item | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_FetchToFile( | ||
| RzbNextFileserverClient_t *client, | ||
| const struct BlockId *blockId, | ||
| char **fileName | ||
| ); | ||
| SO_PUBLIC extern enum RzbNextFileserverStatus RzbNextFileserver_FetchBlock( | ||
| RzbNextFileserverClient_t *client, | ||
| struct Block *block | ||
| ); | ||
| SO_PUBLIC extern bool RzbNextFileserver_AttachFileToBlock( | ||
| struct Block *block, | ||
| char *fileName, | ||
| bool tempFile | ||
| ); | ||
| SO_PUBLIC extern void RzbNextFileserver_FreeBlockData(struct Block *block); | ||
|
|
||
| #ifdef __cplusplus | ||
| } | ||
| #endif | ||
| #endif /* RAZORBACK_FILESERVER_H */ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When building with
api.vcxproj, this adds onlydev_mode.c; the same commit exposes public dispatcher-next APIs but this project still omits their implementations (config_next.c,fileserver.c,message_body.c,messages_next.c, andruntime_next.c) that are included in the autotools build. MSVC builds will produce a library without those new symbols, so Windows consumers using the new headers get unresolved externals. Add the same new sources to the project and filters.Useful? React with 👍 / 👎.