Code Monkey home page Code Monkey logo

usms-global's Introduction

usms-global

Global scripts for USMS ServiceNow instances

Click here for the current project

Dev Setup

This is intended to be developed using VS Code. See /.vscode/extensions.json for a list of recommended extensions. Dependencies are mananged using npm.

Run npm install from the root folder of this repository to install dependencies.

Github Codespaces Initialization Issue

If the language service fails to recognize namespaces from added packages such as Microsoft.EntityFrameworkCore, you may need to do the following:

  1. Remove subdirectories util/src/SnTsTypeGenerator/bin and util/src/SnTsTypeGenerator/obj
  2. Execute the command dotnet restore util/src
  3. From the command palette, select .NET: Restart Language Server.

SNC Typings Submodule Maintenance

Initialize Submodule after Repository Clone

This is for pulling down the repository contents from the remote.

These commands assume you are starting out in the root of the respository.

If the submodules were already included when the repository was cloned, you only need to do the third command if the submodule is not on any branch.

git submodule update --init --recursive
cd types/snc
git checkout master

Update Submodule from Origin

This is for pulling down the latest changes from the remote repository.

These commands assume you are starting out in the root of the respository.

cd types/snc
git pull --rebase
cd ../..
git commit -am "Updated types/snc submodule to latest revision"

Push Submodule Updates to Origin

If you make changes to the contents of the types/snc submodule, you can use these commands to commit the changes and push them to the remote repository.

cd types/snc
git add -A
git commit -am "[Your message here]"
git push
cd ../..
git commit -am "[Your message here]"

usms-global's People

Contributors

erwinel avatar lerwine avatar

Watchers

 avatar

Forkers

lerwine

usms-global's Issues

Catch and log exceptions

Tracking issue for:

ClientId required if ClientSecret specified

  • If ClientSecret is not null, but ClientId is, then the command should be terminated with an error.
  • If ClientId is not null, but ClientSecret is, then the user should be prompted for the client secret.

/// <summary>
/// Gets or sets the client ID in the remote ServiceNow instance's Application Registry.
/// </summary>
public string? ClientId { get; set; }
/// <summary>
/// Gets or sets the client secret in the remote ServiceNow instance's Application Registry.
/// </summary>
public string? ClientSecret { get; set; }

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.