Snippets

Pete Matthews listing of "cds env"

Updated by Pete Matthews

File snippet.txt Modified

  • Ignore whitespace
  • Hide word diff
 ]
 auth.passport.strategy = mock
 auth.passport.users.* = true
-auth.passport.users.alice.ID = a01
-auth.passport.users.alice.password = aaa
+auth.passport.users.alice.ID = alice
+auth.passport.users.alice.password = 123
 auth.passport.users.alice.roles = [ 'admin' ]
 auth.passport.users.alice.xs.user.attributes.country = [ 'GB' ]
-auth.passport.users.bob.ID = b01
-auth.passport.users.bob.password = bbb
+auth.passport.users.bob.ID = bob
+auth.passport.users.bob.password = 123
 auth.passport.users.bob.roles = [ 'reader' ]
-auth.passport.users.mallory.ID = c01
-auth.passport.users.mallory.password = ccc
+auth.passport.users.mallory.ID = mallory
+auth.passport.users.mallory.password = 123
 auth.passport.users.mallory.roles = [ 'table' ]
 build.target = .
 build.tasks = [
Created by Pete Matthews

File snippet.txt Added

  • Ignore whitespace
  • Hide word diff
+C:\ZPACS\projects\sdg_hana>cds env
+_context = cds
+_home = C:\ZPACS\projects\sdg_hana
+_sources = [
+  'C:\\ZPACS\\projects\\sdg_hana\\node_modules\\@sap\\cds\\lib\\env\\defaults.js',
+  'C:\\ZPACS\\projects\\sdg_hana\\.cdsrc.json',
+  'C:\\ZPACS\\projects\\sdg_hana\\package.json',
+  '{process.env}'
+]
+auth.passport.strategy = mock
+auth.passport.users.* = true
+auth.passport.users.alice.ID = a01
+auth.passport.users.alice.password = aaa
+auth.passport.users.alice.roles = [ 'admin' ]
+auth.passport.users.alice.xs.user.attributes.country = [ 'GB' ]
+auth.passport.users.bob.ID = b01
+auth.passport.users.bob.password = bbb
+auth.passport.users.bob.roles = [ 'reader' ]
+auth.passport.users.mallory.ID = c01
+auth.passport.users.mallory.password = ccc
+auth.passport.users.mallory.roles = [ 'table' ]
+build.target = .
+build.tasks = [
+  { for: 'node-cf', src: 'srv', options: { model: [Array] } },
+  { for: 'hana', src: 'db', options: { model: [Array] } }
+]
+env = development
+features.fiori_preview = true
+features.localized = true
+features.one_model = true
+features.skip_unused = true
+folders.app = app/
+folders.db = db/
+folders.srv = srv/
+i18n.default_language = en
+i18n.folders = [ '_i18n', 'i18n', 'assets/i18n' ]
+i18n.for_sqlite = [ 'de', 'fr' ]
+log-level = warn
+mtx.api.metadata = true
+mtx.api.model = true
+mtx.api.provisioning = true
+mtx.domain = __default__
+odata.format = flat
+odata.version = v2
+query.limit.max = 1000
+requires.db.kind = hana
+requires.db.model = [ 'srv', 'db' ]
+requires.db.use = hana
+requires.hana.use = hana
+requires.messaging.kind = local
+requires.sql.credentials.database = :memory:
+requires.sql.kind = sqlite
+requires.sql.use = sqlite
+requires.sqlite.credentials.database = sqlite.db
+requires.sqlite.use = sqlite
+sql.names = plain
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.