1.2.6 • Published 1 year ago

cap-utils v1.2.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

cap-utils v1.2.6

Cap Utilities

This npx tools provides a set of example files to explore SAP Cloud Application Programming features.

How to use

It's simple! Open the terminal in your CAP Project root directory and run

npx cap-utils

Your project will be updated. Run

cds watch 

and use the test.http to run some test. You are very encouraged to explore and extend the example files!

If you don't know how to initialize a SAP CAP Project: Jumpstart guide in SAP CAPire

Keep in mind that from 1.0.7 version the service were enhanced with scope protection. To add a local mock user copy the auth section from package-for-cap.json into your package.json and run :

cds watch --profile development

The development profile will inject a mock user with the required scope to consume the service. You can use the same user to access to the webapp.

Additional Modules

In version 1.0.4 it has been added a feature to add extra modules to your app.

npx cap-utils --add <extra_module_1>,<extra_module_2>...

Available modules:

  • ui5 --> add a basic UI5 freestyle application in your project
  • mta --> add sample files for mta based deployment on Cloud Foundry runtime
  • profiling --> add a section in your package.json with cds profiles
  • ext --> add a section in your package.json external odata source and sample files to implement it.
  • test --> add test sample files and scripts

Suggested Extension in your IDE

Visual Studio / SAP BAS
"sapse.vscode-cds"
"dbaeumer.vscode-eslint"
"humao.rest-client"
"qwtel.sqlite-viewer"
"mechatroner.rainbow-csv"
1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago