Git Product home page Git Product logo

catalog's Introduction

KBase Developer Documentation

Core Service Docs

Relation Engine and Search codebases

User help

catalog's People

Contributors

bio-boris avatar jamesjeffryes avatar jsfillman avatar kkellerlbl avatar mrcreosote avatar scanon avatar sychan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

catalog's Issues

Feature Request -> Deactivate Apps

The idea would be an admin catalog call that would just update the category for the app so it doesn't show up.
This would allow us to avoid having to go through a full release cycle (which risk breaking things) in order to hide an app.

ModuleVersionInfo spec does not match actual output

Spec:

   typedef structure {
        string module_name;
        string module_description;
        string git_url;
        boolean released;
        list<string> release_tags;
        int timestamp;
        string registration_id;
        string version;
        string git_commit_hash;
        string git_commit_message;
        boolean dynamic_service;
        list<string> narrative_app_ids;
        list<string> local_function_ids;
        string docker_img_name;
        string data_folder;
        string data_version;
        CompilationReport compilation_report;
    } ModuleVersion;

funcdef get_module_version(SelectModuleVersion selection) returns (ModuleVersion version);

Output:

curl -d '{"method": "Catalog.get_module_version", "params": [{"module_name": "DataFileUtil"}], "version": "1.1", "id": 1}' https://ci.kbase.us/services/catalog/ | python -mjson.tool
{
    "id": 1,
    "result": [
        {
            "docker_img_name": "dockerhub-ci.kbase.us/kbase:datafileutil.bcef6723524598b739e910f7d6ce9220d4b09bd2",
            "dynamic_service": 0,
            "git_commit_hash": "bcef6723524598b739e910f7d6ce9220d4b09bd2",
            "git_commit_message": "Merge pull request #58 from JamesJeffryes/SCT-1495\n\nSct-1495",
            "git_url": "https://github.com/kbaseapps/DataFileUtil",
            "local_functions": [
                "own_shock_node",
                "ws_name_to_id",
                "save_objects",
                "file_to_shock",
                "shock_to_file",
                "package_for_download",
                "unpack_file",
                "get_objects"
            ],
            "module_name": "DataFileUtil",
            "narrative_methods": [],
            "notes": "",
            "registration_id": "1538513104120_61d21109-2d18-40be-870a-d6d870d66042",
            "release_tags": [
                "release",
                "beta",
                "dev"
            ],
            "release_timestamp": 1538513276213,
            "released": 1,
            "released_timestamp": null,
            "timestamp": 1538513104120,
            "version": "0.0.25"
        }
    ],
    "version": "1.1"
}

I haven't checked every key, but the problems I ran into were:

        list<string> narrative_app_ids;
        list<string> local_function_ids;

vs.

            "local_functions": [
                "own_shock_node",
*snip*
                "get_objects"
            ],
            "narrative_methods": [],

This means the java clients are compiled incorrectly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.