Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load schemas from VSTS-repos #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eliebe-5
Copy link

We are using the CDM as a model in an integration project, we store our schemas in our repo on vsts, and such had a need for vsts compatibility for the entity browser. Might as well make a pull-request if anyone else would need this functionality.

You need to generate a pass-token for your vsts-repo and using the vsts-api write an uri to your schema path. ex: https://{instance}.visualstudio.com/{collection}/{team-project}/_apis/git/repositories/{repository}/items?scopePath={/path/to/schemas}&recursionLevel=Full&includeContentMetadata=true&api-version=4.1

@msftclas
Copy link

msftclas commented Sep 17, 2018

CLA assistant check
All CLA requirements met.

@mariotoffia
Copy link

@JeffBern Hi, since rather quiet in the issue discussions and this pull request I wonder if you are accepting any "external" issues/questions and pull requests?

Cheers,
Mario

@JeffBern
Copy link
Contributor

JeffBern commented Sep 19, 2018

@mariotoffia, @eliebe-5, actually I was astonished and delighted to see the contribution. I have also been digging out from a pile of issues at work, so sorry for the silence. I have some concerns that we should figure out. (1) The entity browser was put together very, very quickly by someone who doesn't know how to make a website (me) and was meant as a temporary visual aid while a more professional version is being developed. The person managing that effort keeps begging me to stop adding features to the 'developer centric' tool that I made. I like your additions, but I think they should go into the 'better' version of the browser that is being worked on. I will pass the code along of course. (2) The index.html and viz-controller.js files are actually generated from the GitHub-pages-gen code in the tools directory. So if we did take the changes into the 'ugly' tool (I have grown fond of it, so I can call it ugly and feel ok with that) then the code changes need to go into the typescript and template html files in that directory.

@JeffBern
Copy link
Contributor

@eliebe-5, can you send me an email using my GitHub name but with Microsoft.com as the domain? I would love to understand better what you are doing with the CDM model.

@mariotoffia
Copy link

@JeffBern Is the new browser open source as well(?) since we're in the works of have a thesis worker do a design surface for relational diagram and the ability to edit schemas in the browser with full git support. We where aiming at doing three pull request:

  1. Git support (pull, push, branch, …)
  2. Readonly high level design surface with entity and important properties along with their relations
  3. CRUD support for entities, attributes etc.

@eliebe-5 Can explain what we're using the CDM schemas for :)

Cheers,
Mario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants