Open
Conversation
A simple commit that uprevs godbus to latest version compatible with the go version openxt-go is pinned to in go.mod. It also adds db.go that provides a location to hold the top level package documentation. Place the package global variable PathDelimiter in db.go and document it. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This replaces the existing db client code with the generated dbus bindings. In the process rename the file to client.go to reflect this is the client code. Update dbdcmd to work with the new db client code. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This aligns the the existing Ocaml db-cmd. While renaming, expand the command to be subcommand compatible with Ocaml db-cmd. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This adds a convenience logging library for logging to syslog. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Introduce a new utils library with the initial utility for json logging. This utility provides allows the generation of a contextual error from the error returned json.Unmarshal. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This introduces the core of the dbd library, the Node object. A Node object can hold the parsed results of an arbitrary JSON object. It is then able to present the results as a tree structure that can be descended into to manipulate arbitrary leaves in the tree. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This introduces the JsonStore type that provides a locking wrapper around the Node type. In addition, it provides the abstraction of moving between one or more json blobs and a single node tree. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
This adds the Server type to expose a JsonStore as an OpenXT dbd dbus server instance in compliance with the OpenXT dbd IDL. The Ocaml instance of dbd does not support the write_binary interface, but is defined in the IDL. This implementation adds support for this interface by storing the binary bytes as a base64 encoded string in the JSON field. Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.