Skip to content
/ cim Public

SAP CAP CDS Services Implementation Generation by a XML OData Metadata v2/v4 Document

License

Notifications You must be signed in to change notification settings

zkud/cim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDS Implementation generation by a Metadata document

CI codecov

This is a simple CLI program to generate simple and silly CAP CDS implementations from OData (both v2 and v4 are supported) Metadata documents.

foo@bar:~$ cim metadata.xml
CIM 0.3.6
Reading metadata.xml...
entity ProjectElemDetail {
  ObjectID: String;
  ParentObjectID: String;
  HierarchyNodeLevel: Integer;
  DrillDownState: String;
  Magnitude: Integer;
  StartDate: DateTime;
  EndDate: DateTime;
}
entity RelationshipDetail {
  ObjectID: String;
  RelationID: String;
  ParentObjectID: String;
  RelationType: String;
  PredecTaskID: String;
  SuccTaskID: String;
}
...

Installation

Via crates.io

Just run cargo install cim and that's it. Enjoy

Manual (Alternative)

To use a tool compile the project on your local machine from sources and install with cargo install (cargo install --path .), then use where it suits :).

License

MIT

About

SAP CAP CDS Services Implementation Generation by a XML OData Metadata v2/v4 Document

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published