(migrate-from-api! source dests namespace name)
Takes a source session, a list of destination sessions, namespace and name. Migrates the schema from the source to the destinations
Takes a source session, a list of destination sessions, namespace and name. Migrates the schema from the source to the destinations
(migrate-metadata! session file-path)
This function takes a CloudAPI session and a file path, reads the file or files in the directory as JSON, then pushes that metadata into the current session via the metadata API.
This function takes a CloudAPI session and a file path, reads the file or files in the directory as JSON, then pushes that metadata into the current session via the metadata API.
(read-json-file file)
This function takes a file path or java.util.File, reads the file at that location, then parses the contents as JSON.
This function takes a file path or java.util.File, reads the file at that location, then parses the contents as JSON.
(read-metadata-files file-path)
This function takes a file path. If the path is a directory, we read all of the files immediately inside that directory otherwise a single file is read and parsed as JSON. The output is a list JSON parsed content from the given file path.
This function takes a file path. If the path is a directory, we read all of the files immediately inside that directory otherwise a single file is read and parsed as JSON. The output is a list JSON parsed content from the given file path.
(refresh-schema-column! session [schema-ns schema-name] [column-ns column-name])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close