Code Monkey home page Code Monkey logo

oracle-samples / oci-vscode-toolkit Goto Github PK

View Code? Open in Web Editor NEW
14.0 5.0 2.0 39.75 MB

OCI Toolkit for VSCode - Functions, Data Science, Resource Manager

Home Page: https://marketplace.visualstudio.com/items?itemName=Oracle.oci-vscode-toolkit

License: Universal Permissive License v1.0

JavaScript 6.79% CSS 0.55% Dockerfile 1.01% Java 6.37% Python 11.36% Go 0.52% Ruby 0.24% Kotlin 0.12% TypeScript 72.80% HTML 0.25%
datascience functions oci oracle-cloud resource-management vscode vscode-extension oracle vscode-extension-pack

oci-vscode-toolkit's Issues

Extension Oracle.faas has provided an invalid tree item.

I am trying to create a new function. After selecting create from template and giving a function name, its not giving the option to select repository.
Its throwing this error
Extension Oracle.faas has provided an invalid tree item.

question on OCI CLI configuration

I already have the OCI CLI installed on my workstation via pip.
After I installed VS Code toolkit, I keeps asking me if I want to install the OCI CLI as part of the toolkit

Is there a way to disable this and still have the CLI integration functioning within VS Code?
The installation was done in the default directories and are the same as the integration has as default.
So would actually expect the integration to notice that these are already installed

If SDK config file has inline comments all plug-ins will fail (Functions, Data Science, Resource Manager)

v1.0.5

I had ~/.oci/config that looked like this that caused the error

[mytenancy]
user=ocid1.user.oc1..abcdefghijklmnop
fingerprint=00:DE:AD:BE:EF:00
tenancy=ocid1.tenancy.oc1..abcdefghijklmnop
region=us-ashburn-1
key_file=~/.oci/mykey.pem

[mytenancy-user2] #same as mytenancy but user2 OCID
user=ocid1.user.oc1..zyxwvutsrqponmlk
fingerprint=00:DE:AD:BE:EF:00
tenancy=ocid1.tenancy.oc1..abcdefghijklmnop
region=us-ashburn-1
key_file=~/.oci/mykey.pem

When I changed above inline comment to this all was well:

[mytenancy]
user=ocid1.user.oc1..abcdefghijklmnop
fingerprint=00:DE:AD:BE:EF:00
tenancy=ocid1.tenancy.oc1..abcdefghijklmnop
region=us-ashburn-1
key_file=~/.oci/mykey.pem

#same as mytenancy but user2 OCID
[mytenancy-user2]
user=ocid1.user.oc1..zyxwvutsrqponmlk
fingerprint=00:DE:AD:BE:EF:00
tenancy=ocid1.tenancy.oc1..abcdefghijklmnop
region=us-ashburn-1
key_file=~/.oci/mykey.pem

Here is the error. I could not find the means to get any sort of output for debugging. Glad to know if there is a way (for future reference). As I say, once I moved the comment line above to its own line instead of inline with the profile name it worked.

image

Switching Region and Profile

If ~/.oci/config has multiple profiles, the extension doesn't seem to allow switching unless going into the settings and changing the "default profile name" to what is needed. Changing either the region or profile from VS Code and refreshing the Resource Manager tree seems to load only the stacks from the default profile that was in the extension config.

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.