@sap/cds-dk 7.9.6 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/CHANGELOG.md +2136 -0
  2. package/bin/add.js +18 -52
  3. package/bin/bind.js +2 -2
  4. package/bin/build.js +29 -4
  5. package/bin/cds.js +31 -14
  6. package/bin/compile/index.js +7 -6
  7. package/bin/completion/index.js +70 -46
  8. package/bin/completion/scripts/cds-bash.sh +4 -1
  9. package/bin/completion/scripts/cds-fish.fish +13 -0
  10. package/bin/completion/scripts/cds-ps.ps1 +2 -1
  11. package/bin/completion/scripts/cds-zsh.sh +2 -1
  12. package/bin/deploy/index.js +6 -5
  13. package/bin/deploy/to-sqlite.js +2 -2
  14. package/bin/extend.js +19 -50
  15. package/bin/help.js +2 -2
  16. package/bin/init.js +10 -77
  17. package/bin/login.js +13 -5
  18. package/bin/migrate.js +1 -1
  19. package/bin/pull.js +11 -0
  20. package/bin/repl.js +3 -0
  21. package/bin/test.js +5 -0
  22. package/bin/version.js +7 -7
  23. package/bin/watch.js +13 -14
  24. package/lib/bind/KubernetesApiAccessor.js +10 -9
  25. package/lib/build/buildTaskEngine.js +11 -7
  26. package/lib/build/buildTaskFactory.js +15 -43
  27. package/lib/build/buildTaskProviderFactory.js +16 -44
  28. package/lib/build/constants.js +4 -3
  29. package/lib/build/index.js +2 -2
  30. package/lib/build/{buildPlugin.js → plugin.js} +65 -46
  31. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/Chart.yaml +1 -1
  32. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/values.yaml +1 -1
  33. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/service-instance/Chart.yaml +1 -1
  34. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/service-instance/templates/_helpers.tpl +7 -0
  35. package/lib/build/plugins/helm/files/subcharts/service-instance/templates/servicebinding.yaml +32 -0
  36. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/service-instance/templates/serviceinstance.yaml +3 -0
  37. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/service-instance/values.schema.json +63 -0
  38. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/service-instance/values.yaml +23 -1
  39. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/Chart.yaml +1 -1
  40. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/deployment.yaml +2 -0
  41. package/lib/build/plugins/helm/files/subcharts/web-application/templates/hpa.yaml +22 -0
  42. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/pod-disruption-budget.yaml +1 -0
  43. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/values.schema.json +49 -0
  44. package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/values.yaml +8 -2
  45. package/lib/{init/template/helm/files/chart → build/plugins/helm/files}/templates/_deployment_helpers.tpl +5 -0
  46. package/lib/build/plugins/helm/files/templates/_helpers.tpl +13 -0
  47. package/lib/build/plugins/helm/index.js +81 -0
  48. package/lib/build/plugins.js +12 -15
  49. package/lib/build/provider/featureToggleBuildPlugin.js +7 -39
  50. package/lib/build/provider/hana/2migration.js +168 -124
  51. package/lib/build/provider/hana/index.js +69 -56
  52. package/lib/build/provider/hana/template/package.json +4 -3
  53. package/lib/build/provider/internalBuildPlugin.js +32 -97
  54. package/lib/build/provider/internalBuildTaskProvider.js +12 -48
  55. package/lib/build/provider/java/index.js +2 -3
  56. package/lib/build/provider/mtx/index.js +5 -4
  57. package/lib/build/provider/mtx-extension/index.js +5 -2
  58. package/lib/build/provider/mtx-sidecar/index.js +2 -2
  59. package/lib/build/provider/nodejs/index.js +4 -3
  60. package/lib/build/util.js +83 -12
  61. package/lib/compile/to-mermaid.js +108 -0
  62. package/lib/compile/to_asyncapi.js +7 -0
  63. package/lib/compile/to_openapi.js +7 -0
  64. package/lib/deploy/to-hana/hana.js +37 -34
  65. package/lib/deploy/to-hana/hdiDeployUtil.js +8 -6
  66. package/lib/env/schemas/cds-rc.js +1 -1
  67. package/lib/import/common.js +2 -2
  68. package/lib/import/odata/metadataconverter/MetadataConverter.js +4 -4
  69. package/lib/import/odata/v2parser.js +83 -197
  70. package/lib/import/odata/v4parser.js +1 -38
  71. package/lib/import/openapi/importOpenAPI.js +164 -42
  72. package/lib/index.js +10 -12
  73. package/lib/init/bas.js +91 -0
  74. package/lib/init/constants.js +21 -11
  75. package/lib/init/index.js +72 -150
  76. package/lib/init/merge.js +12 -20
  77. package/lib/init/mvn.js +103 -150
  78. package/lib/init/plugin.js +11 -7
  79. package/lib/init/projectReader.js +53 -20
  80. package/lib/init/registries/mta.js +51 -6
  81. package/lib/init/template/application-logging/files/package.json.hbs +7 -0
  82. package/lib/init/template/application-logging/index.js +13 -1
  83. package/lib/init/template/approuter/files/containerize.yaml.hbs +10 -0
  84. package/lib/init/template/approuter/files/mta.yaml.hbs +1 -2
  85. package/lib/init/template/approuter/files/values.yaml.hbs +19 -4
  86. package/lib/init/template/approuter/files/xs-app.json.hbs +12 -3
  87. package/lib/init/template/approuter/index.js +29 -25
  88. package/lib/init/template/attachments/files/mta.yaml.hbs +14 -0
  89. package/lib/init/template/attachments/files/package.json.hbs +5 -0
  90. package/lib/init/template/attachments/files/values.yaml +7 -0
  91. package/lib/init/template/attachments/index.js +53 -0
  92. package/lib/init/template/{redis-messaging → audit-logging}/files/mta.yaml.hbs +4 -4
  93. package/lib/init/template/audit-logging/files/package.json.hbs +7 -0
  94. package/lib/init/template/audit-logging/index.js +66 -0
  95. package/lib/init/template/cf-manifest/index.js +4 -0
  96. package/lib/init/template/completion/completionSetup.js +54 -33
  97. package/lib/init/template/completion/index.js +7 -1
  98. package/lib/init/template/connectivity/index.js +4 -4
  99. package/lib/init/template/containerize/files/containerize.yaml.hbs +26 -0
  100. package/lib/init/template/containerize/index.js +24 -0
  101. package/lib/init/template/data/index.js +4 -0
  102. package/lib/init/template/destination/files/mta.yaml.hbs +31 -1
  103. package/lib/init/template/destination/files/package.sidecar.json +7 -0
  104. package/lib/init/template/destination/index.js +22 -2
  105. package/lib/init/template/enterprise-messaging/index.js +6 -3
  106. package/lib/init/template/enterprise-messaging-shared/index.js +5 -1
  107. package/lib/init/template/extensibility/files/package.json.hbs +1 -1
  108. package/lib/init/template/extensibility/files/xs-security.json.hbs +2 -8
  109. package/lib/init/template/extensibility/index.js +3 -1
  110. package/lib/init/template/file-based-messaging/index.js +4 -0
  111. package/lib/init/template/h2/index.js +4 -0
  112. package/lib/init/template/hana/files/containerize.yaml.hbs +10 -0
  113. package/lib/init/template/hana/files/db/package.json +3 -2
  114. package/lib/init/template/hana/files/package.json.hbs +4 -7
  115. package/lib/init/template/hana/files/values.yaml.hbs +1 -2
  116. package/lib/init/template/hana/index.js +15 -7
  117. package/lib/init/template/helm/files/Chart.yaml.hbs +2 -3
  118. package/lib/init/template/helm/files/values.schema.json +2173 -0
  119. package/lib/init/template/helm/files/values.yaml.hbs +11 -6
  120. package/lib/init/template/helm/index.js +77 -18
  121. package/lib/init/template/helm-unified-runtime/index.js +19 -56
  122. package/lib/init/template/html5-repo/files/app-package.json.hbs +11 -7
  123. package/lib/init/template/html5-repo/files/manifest.json +13 -0
  124. package/lib/init/template/html5-repo/files/mta.yaml.hbs +14 -33
  125. package/lib/init/template/html5-repo/files/package.sidecar.json +7 -0
  126. package/lib/init/template/html5-repo/files/ui5-deploy.yaml.hbs +21 -0
  127. package/lib/init/template/html5-repo/files/ui5.yaml.hbs +2 -29
  128. package/lib/init/template/html5-repo/files/values.yaml.hbs +6 -2
  129. package/lib/init/template/html5-repo/files/xs-app.json.hbs +6 -7
  130. package/lib/init/template/html5-repo/index.js +41 -35
  131. package/lib/init/template/http/index.js +36 -12
  132. package/lib/init/template/java/index.js +18 -12
  133. package/lib/init/template/kafka/index.js +4 -0
  134. package/lib/init/template/lint/index.js +7 -2
  135. package/lib/init/template/liquibase/index.js +4 -0
  136. package/lib/init/template/local-messaging/index.js +4 -0
  137. package/lib/init/template/malware-scanner/files/mta.yaml.hbs +14 -0
  138. package/lib/init/template/malware-scanner/files/package.json.hbs +17 -0
  139. package/lib/init/template/malware-scanner/files/values.yaml +7 -0
  140. package/lib/init/template/malware-scanner/index.js +47 -0
  141. package/lib/init/template/mta/files/mta.yaml.hbs +3 -3
  142. package/lib/init/template/mta/files/package.json +1 -1
  143. package/lib/init/template/mta/index.js +4 -0
  144. package/lib/init/template/mtx/index.js +4 -0
  145. package/lib/init/template/multitenancy/files/containerize.yaml.hbs +10 -0
  146. package/lib/init/template/multitenancy/files/mta.yaml.hbs +0 -1
  147. package/lib/init/template/multitenancy/files/package.json.hbs +1 -1
  148. package/lib/init/template/multitenancy/files/package.sidecar.json.hbs +6 -5
  149. package/lib/init/template/multitenancy/files/values.yaml.hbs +14 -24
  150. package/lib/init/template/multitenancy/index.js +50 -28
  151. package/lib/init/template/nodejs/files/eslint.config.mjs +2 -0
  152. package/lib/init/template/nodejs/files/package.json.hbs +2 -3
  153. package/lib/init/template/nodejs/index.js +4 -0
  154. package/lib/init/template/notifications/files/mta.yaml.hbs +2 -2
  155. package/lib/init/template/notifications/index.js +4 -0
  156. package/lib/init/template/pipeline/files/.pipeline/config.yml +1 -1
  157. package/lib/init/template/pipeline/files/Jenkinsfile +1 -1
  158. package/lib/init/template/pipeline/index.js +4 -0
  159. package/lib/init/template/portal/files/mta.yaml.hbs +52 -0
  160. package/lib/init/template/portal/files/package.json.hbs +11 -0
  161. package/lib/init/template/portal/files/package.sidecar.json +7 -0
  162. package/lib/init/template/portal/files/portal-site/CommonDataModel.json.hbs +97 -0
  163. package/lib/init/template/portal/files/portal-site/i18n/catalog.properties +1 -0
  164. package/lib/init/template/portal/files/portal-site/i18n/catalog_de.properties +1 -0
  165. package/lib/init/template/portal/files/portal-site/i18n/group.properties +1 -0
  166. package/lib/init/template/portal/files/portal-site/i18n/group_de.properties +1 -0
  167. package/lib/init/template/portal/index.js +84 -0
  168. package/lib/init/template/postgres/index.js +5 -1
  169. package/lib/init/template/redis/files/mta.yaml.hbs +25 -0
  170. package/lib/init/template/redis/files/package.json.hbs +5 -0
  171. package/lib/init/template/redis/index.js +44 -0
  172. package/lib/init/template/redis-messaging/files/package.json.hbs +0 -3
  173. package/lib/init/template/redis-messaging/index.js +8 -18
  174. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_de.properties +3 -0
  175. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n_en.properties +3 -0
  176. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +13 -1
  177. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n.properties +2 -2
  178. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_de.properties +3 -0
  179. package/lib/init/template/sample/files/app/browse/webapp/i18n/i18n_en.properties +4 -0
  180. package/lib/init/template/sample/files/app/browse/webapp/manifest.json +3 -3
  181. package/lib/init/template/sample/files/app/index.html +1 -1
  182. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Authors.csv +5 -5
  183. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books.csv +6 -6
  184. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books_texts.csv +5 -5
  185. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Genres.csv +16 -16
  186. package/lib/init/template/sample/files/nodejs/cat-service.js +2 -2
  187. package/lib/init/template/sample/files/package.json.hbs +3 -0
  188. package/lib/init/template/sample/index.js +16 -9
  189. package/lib/init/template/sqlite/index.js +4 -0
  190. package/lib/init/template/tiny-sample/files/nodejs/db/data/my.bookshop-Books.csv +3 -3
  191. package/lib/init/template/tiny-sample/files/nodejs/srv/cat-service.cds.hbs +1 -1
  192. package/lib/init/template/tiny-sample/index.js +4 -0
  193. package/lib/init/template/toggles/files/package.json.hbs +1 -1
  194. package/lib/init/template/toggles/index.js +4 -0
  195. package/lib/init/template/typer/index.js +4 -0
  196. package/lib/init/template/typescript/files/package.json +12 -0
  197. package/lib/init/template/typescript/files/tsconfig.json +13 -0
  198. package/lib/init/template/typescript/index.js +39 -0
  199. package/lib/init/template/workzone/index.js +9 -0
  200. package/lib/init/template/workzone-standard/files/manifest.json.hbs +6 -0
  201. package/lib/init/template/workzone-standard/files/mta.yaml.hbs +59 -0
  202. package/lib/init/template/workzone-standard/index.js +46 -0
  203. package/lib/init/template/xsuaa/files/package.json.hbs +1 -1
  204. package/lib/init/template/xsuaa/files/values.yaml.hbs +3 -2
  205. package/lib/init/template/xsuaa/index.js +11 -7
  206. package/lib/init/validate.js +27 -0
  207. package/lib/lint/generators.js +1 -1
  208. package/lib/lint/io.js +25 -7
  209. package/lib/mtx/auth_manager.js +64 -30
  210. package/lib/mtx/download_legacy.js +2 -2
  211. package/lib/mtx/index.js +0 -4
  212. package/lib/mtx/params.js +32 -38
  213. package/lib/mtx/pull.js +151 -43
  214. package/lib/mtx/push.js +3 -3
  215. package/lib/mtx/settings_manager.js +75 -35
  216. package/lib/mtx/tenant_action.js +1 -1
  217. package/lib/mtx/util/cf.js +1 -1
  218. package/lib/mtx/util/fs.js +26 -1
  219. package/lib/mtx/util/logging.js +7 -3
  220. package/lib/util/command.js +0 -2
  221. package/lib/util/fs.js +2 -3
  222. package/lib/util/question.js +28 -0
  223. package/lib/util/term.js +5 -3
  224. package/npm-shrinkwrap.json +225 -1083
  225. package/package.json +13 -8
  226. package/bin/activate.js +0 -77
  227. package/lib/compile/asyncapi/channels.js +0 -22
  228. package/lib/compile/asyncapi/components/messageTraits/index.js +0 -89
  229. package/lib/compile/asyncapi/components/messages/index.js +0 -173
  230. package/lib/compile/asyncapi/components/schemas/annotations.js +0 -33
  231. package/lib/compile/asyncapi/components/schemas/array.js +0 -8
  232. package/lib/compile/asyncapi/components/schemas/cache.js +0 -14
  233. package/lib/compile/asyncapi/components/schemas/definition.js +0 -187
  234. package/lib/compile/asyncapi/components/schemas/enum.js +0 -16
  235. package/lib/compile/asyncapi/components/schemas/examples.js +0 -10
  236. package/lib/compile/asyncapi/components/schemas/index.js +0 -14
  237. package/lib/compile/asyncapi/components/schemas/localized.js +0 -29
  238. package/lib/compile/asyncapi/components/schemas/primitiveElement.js +0 -41
  239. package/lib/compile/asyncapi/components/schemas/ref.js +0 -45
  240. package/lib/compile/asyncapi/components/schemas/utils.js +0 -108
  241. package/lib/compile/asyncapi/index.js +0 -247
  242. package/lib/compile/asyncapi/message.js +0 -13
  243. package/lib/compile/asyncapi/utils.js +0 -27
  244. package/lib/compile/openapi/csdl2openapi.js +0 -2448
  245. package/lib/compile/openapi/index.js +0 -68
  246. package/lib/init/template/helm/files/chart/templates/NOTES.txt +0 -14
  247. package/lib/init/template/helm/files/chart/templates/_helpers.tpl +0 -28
  248. package/lib/init/template/helm/files/chart/values.root.schema.json +0 -61
  249. package/lib/init/template/helm/files/chart/values.schema.json +0 -366
  250. package/lib/init/template/helm-unified-runtime/files/Chart.yaml.hbs +0 -10
  251. package/lib/init/template/helm-unified-runtime/files/templates/_deployment_helpers.tpl +0 -90
  252. package/lib/init/template/helm-unified-runtime/files/templates/_helpers.tpl +0 -28
  253. package/lib/init/template/helm-unified-runtime/files/values.root.schema.json +0 -61
  254. package/lib/init/template/helm-unified-runtime/files/values.schema.json +0 -366
  255. package/lib/init/template/helm-unified-runtime/files/values.yaml.hbs +0 -26
  256. package/lib/init/template/helm-unified-runtime/package.json +0 -4
  257. package/lib/init/template/multitenancy/files/mtxs-configmap-java-approuter.yaml +0 -20
  258. package/lib/init/template/multitenancy/files/mtxs-configmap-java.yaml +0 -18
  259. package/lib/init/template/multitenancy/files/mtxs-configmap-nodejs-approuter.yaml +0 -12
  260. package/lib/init/template/multitenancy/files/mtxs-configmap-nodejs.yaml +0 -12
  261. package/lib/init/template/multitenancy/files/saas-registry-secret.yaml +0 -9
  262. package/lib/init/template/nodejs/files/eslint.config.js +0 -13
  263. package/lib/init/template/notebook/index.js +0 -11
  264. package/lib/init/template/samples/index.js +0 -9
  265. package/lib/mtx/activate.js +0 -238
  266. package/lib/mtx/extend.js +0 -173
  267. package/lib/util/exec.d.ts +0 -54
  268. package/lib/util/exec.js +0 -211
  269. /package/lib/{init/template/approuter/files → build/plugins/helm/files/plugins/approuter}/approuter-configmap.yaml +0 -0
  270. /package/lib/{init/template/connectivity/files → build/plugins/helm/files/plugins/connectivity}/connectivity-proxy-info.yaml +0 -0
  271. /package/lib/{init/template/html5-repo/files → build/plugins/helm/files/plugins/html5-repo}/html5-apps-deployer-configmap.yaml +0 -0
  272. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/templates/_helpers.tpl +0 -0
  273. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/templates/job.yaml +0 -0
  274. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/templates/secret.yaml +0 -0
  275. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/templates/service-account.yaml +0 -0
  276. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/templates/service-binding.yaml +0 -0
  277. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/content-deployment/values.schema.json +0 -0
  278. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/NOTES.txt +0 -0
  279. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/_api.tpl +0 -0
  280. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/_helpers.tpl +0 -0
  281. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/api-rule.yaml +0 -0
  282. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/network-policy.yaml +0 -0
  283. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/rbac.yaml +0 -0
  284. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/secret.yaml +0 -0
  285. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/service-account.yaml +0 -0
  286. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/service-binding.yaml +0 -0
  287. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/service.yaml +0 -0
  288. /package/lib/{init/template/helm/files → build/plugins/helm/files/subcharts}/web-application/templates/virtual-service.yaml +0 -0
  289. /package/lib/{init/template/helm-unified-runtime → build/plugins/helm}/files/templates/NOTES.txt +0 -0
  290. /package/lib/init/template/{nodejs/files → java}/.cdsrc.json +0 -0
  291. /package/lib/init/template/tiny-sample/files/nodejs/db/{data-model.cds → schema.cds} +0 -0
@@ -6,6 +6,10 @@ const { notificationTypesDeployer } = require('../../registries/mta')
6
6
 
7
7
  module.exports = class NotificationsTemplate extends require('../../plugin') {
8
8
 
9
+ static help() {
10
+ return 'SAP BTP Notification Service'
11
+ }
12
+
9
13
  requires() {
10
14
  return [DESTINATION]
11
15
  }
@@ -3,7 +3,7 @@
3
3
  # For a reference of the configuration concept and available options, please have a look into its documentation.
4
4
  #
5
5
  # The documentation for the most recent pipeline version can always be found at:
6
- # https://sap.github.io/jenkins-library/
6
+ # https://www.project-piper.io/
7
7
  #
8
8
  # This is a YAML-file. YAML is an indentation-sensitive file format. Please make sure to properly indent changes to it.
9
9
  ###
@@ -4,7 +4,7 @@
4
4
  * This file bootstraps the codified Continuous Delivery pipeline for extensions of SAP solutions such as SAP S/4HANA.
5
5
  * The pipeline helps you to deliver software changes quickly and in a reliable manner.
6
6
  * A suitable Jenkins instance is required to run the pipeline.
7
- * More information on getting started with Continuous Delivery can be found here: https://sap.github.io/jenkins-library/
7
+ * More information on getting started with Continuous Delivery can be found here: https://www.project-piper.io/
8
8
  */
9
9
 
10
10
  @Library('piper-lib-os') _
@@ -5,6 +5,10 @@ const { URLS } = require('../../constants')
5
5
 
6
6
  module.exports = class PipelineTemplate extends require('../../plugin') {
7
7
 
8
+ static help() {
9
+ return 'CI/CD pipeline integration'
10
+ }
11
+
8
12
  async canRun() {
9
13
  if (cds.cli.options.force) {
10
14
  return true;
@@ -0,0 +1,52 @@
1
+ ---
2
+ modules:
3
+ - name: {{appName}}-srv
4
+ type: {{language}}
5
+ path: {{& srvPath}}
6
+ requires:
7
+ - name: {{appName}}-portal
8
+
9
+ - name: {{appName}}-mtx
10
+ type: nodejs
11
+ path: {{#isNodejs}}gen/{{/isNodejs}}mtx/sidecar
12
+ requires:
13
+ - name: {{appName}}-portal
14
+
15
+ - name: {{appName}}
16
+ type: approuter.nodejs
17
+ requires:
18
+ - name: {{appName}}-portal
19
+
20
+ - name: {{appName}}-portal-deployer
21
+ type: com.sap.application.content
22
+ path: app/portal
23
+ {{#hasMultitenancy}}
24
+ parameters:
25
+ config:
26
+ TENANT_HOST_PATTERN: "^(.*)-${default-uri}"
27
+ {{/hasMultitenancy}}
28
+ requires:
29
+ - name: {{appName}}-portal
30
+ parameters:
31
+ content-target: true
32
+ service-key:
33
+ name: {{appName}}-portal-key
34
+ config:
35
+ content-endpoint: developer
36
+ - name: {{appName}}-auth
37
+ - name: {{appName}}-html5-repo-host
38
+ - name: {{appName}}-app-deployer
39
+ deployed-after:
40
+ - {{appName}}-app-deployer
41
+
42
+ resources:
43
+ - name: {{appName}}-portal
44
+ type: org.cloudfoundry.managed-service
45
+ parameters:
46
+ service: portal
47
+ service-plan: standard
48
+
49
+ - name: {{appName}}-destination
50
+ type: org.cloudfoundry.managed-service
51
+ parameters:
52
+ service: destination
@@ -0,0 +1,11 @@
1
+ {
2
+ {{#isNodejs}}
3
+ "cds": {
4
+ {{/isNodejs}}
5
+ "requires": {
6
+ "portal": true
7
+ }
8
+ {{#isNodejs}}
9
+ }
10
+ {{/isNodejs}}
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "cds": {
3
+ "requires": {
4
+ "portal": true
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,97 @@
1
+ {
2
+ "_version": "3.0.0",
3
+ "identification": {
4
+ "title": "{{appName}}",
5
+ "id": "{{appName}}-flp",
6
+ "entityType": "bundle"
7
+ },
8
+ "payload": {
9
+ "catalogs": [
10
+ {
11
+ "_version": "3.0.0",
12
+ "identification": {
13
+ "id": "{{appName}}-catalog",
14
+ "title": "{{#literal}}{{title}}{{/literal}}",
15
+ "entityType": "catalog",
16
+ "i18n": "i18n/catalog.properties"
17
+ },
18
+ "payload": {
19
+ "viz": [
20
+ {{#apps}}
21
+ {
22
+ "appId": "{{appName}}.{{app}}",
23
+ "vizId": "{{vizId}}"
24
+ }{{#isNotLast}},{{/isNotLast}}
25
+ {{/apps}}
26
+ ]
27
+ }
28
+ }
29
+ ],
30
+ "groups": [
31
+ {
32
+ "_version": "3.0.0",
33
+ "identification": {
34
+ "id": "{{appName}}-group",
35
+ "title": "{{#literal}}{{title}}{{/literal}}",
36
+ "entityType": "group",
37
+ "i18n": "i18n/group.properties"
38
+ },
39
+ "payload": {
40
+ "viz": [
41
+ {{#apps}}
42
+ {
43
+ "id": "{{appName}}{{app}}-001",
44
+ "appId": "{{appName}}.{{app}}",
45
+ "vizId": "{{vizId}}"
46
+ }{{#isNotLast}},{{/isNotLast}}
47
+ {{/apps}}
48
+ ]
49
+ }
50
+ }
51
+ ],
52
+ "sites": [
53
+ {
54
+ "_version": "3.0.0",
55
+ "identification": {
56
+ "id": "{{appName}}-site",
57
+ "entityType": "site",
58
+ "title": "{{appName}}",
59
+ "description": "{{appDescription}}"
60
+ },
61
+ "payload": {
62
+ "config": {
63
+ "ushellConfig": {
64
+ "renderers": {
65
+ "fiori2": {
66
+ "componentData": {
67
+ "config": {
68
+ "applications": {
69
+ "Shell-home": {}
70
+ },
71
+ "enableSearch": true,
72
+ "enablePersonalization": true,
73
+ "enableSetTheme": true,
74
+ "enableSetLanguage": true
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ },
81
+ "groupsOrder": ["{{appName}}-group"],
82
+ "sap.cloud.portal": {
83
+ "config": {
84
+ "theme.id": "sap_horizon",
85
+ "theme.active": [
86
+ "sap_horizon",
87
+ "sap_horizon_dark",
88
+ "sap_horizon_hcw",
89
+ "sap_horizon_hcb"
90
+ ]
91
+ }
92
+ }
93
+ }
94
+ }
95
+ ]
96
+ }
97
+ }
@@ -0,0 +1,84 @@
1
+ const cds = require('../../../cds')
2
+ const { path } = cds.utils
3
+ const { readProject } = require('../../projectReader')
4
+ const { merge } = require('../../merge')
5
+ const { srv4, portal, portalDeployer, xsuaa, html5RepoHost, appDeployer, approuter, mtxSidecar4 } = require('../../registries/mta')
6
+ const { renderAndCopy } = require('../../template')
7
+
8
+ module.exports = class PortalTemplate extends require('../../plugin') {
9
+
10
+ static help() {
11
+ return 'SAP BTP Portal Service'
12
+ }
13
+
14
+ requires() {
15
+ return ['html5-repo', 'approuter']
16
+ }
17
+
18
+ static hasInProduction(env) {
19
+ return !!env.requires?.portal
20
+ }
21
+
22
+ async run() {
23
+ const project = readProject()
24
+ const { configFile } = project
25
+ await merge(__dirname, 'files/package.json.hbs').into(configFile, { project })
26
+ project.literal = () => text => text
27
+ await renderAndCopy(path.join(__dirname, 'files/portal-site'), 'app/portal/portal-site', project)
28
+ }
29
+
30
+ async combine() {
31
+ const project = readProject()
32
+ const { isJava, hasMta, srvPath, hasHtml5Repo, hasXsuaa, hasApprouter, hasMultitenancy } = project
33
+
34
+ if (hasMultitenancy) {
35
+ await merge(__dirname, 'files/package.sidecar.json').into('mtx/sidecar/package.json')
36
+ }
37
+
38
+ if (hasMta) {
39
+ const srv = srv4(srvPath)
40
+ const additions = [srv, portal, portalDeployer]
41
+ const relationships = [{
42
+ insert: [portal, 'name'],
43
+ into: [portalDeployer, 'requires', 'name']
44
+ }, {
45
+ insert: [appDeployer, 'name'],
46
+ into: [portalDeployer, 'requires', 'name']
47
+ }]
48
+
49
+ if (hasXsuaa) {
50
+ relationships.push({
51
+ insert: [xsuaa, 'name'],
52
+ into: [portalDeployer, 'requires', 'name']
53
+ })
54
+ }
55
+ if (hasHtml5Repo) {
56
+ relationships.push({
57
+ insert: [html5RepoHost, 'name'],
58
+ into: [portalDeployer, 'requires', 'name']
59
+ })
60
+ }
61
+
62
+ if (hasApprouter) {
63
+ additions.push(approuter)
64
+ relationships.push({
65
+ insert: [portal, 'name'],
66
+ into: [approuter, 'requires', 'name']
67
+ })
68
+ }
69
+
70
+ if (hasMultitenancy) {
71
+ relationships.push({
72
+ insert: [portal, 'name'],
73
+ into: [mtxSidecar4(isJava ? 'mtx/sidecar' : 'gen/mtx/sidecar'), 'requires', 'name']
74
+ })
75
+ }
76
+
77
+ await merge(__dirname, 'files/mta.yaml.hbs').into('mta.yaml', {
78
+ with: project, additions, relationships
79
+ })
80
+ }
81
+
82
+ // if (hasHelm) TODO
83
+ }
84
+ }
@@ -7,6 +7,10 @@ const { srv4, postgres, postgresDeployer } = require('../../registries/mta')
7
7
 
8
8
  module.exports = class PostgresTemplate extends require('../../plugin') {
9
9
 
10
+ static help() {
11
+ return 'database support for PostgreSQL'
12
+ }
13
+
10
14
  async canRun() {
11
15
  const { hasMta, hasHelm, hasHelmUnifiedRuntime } = readProject()
12
16
  if ((hasHelm || hasHelmUnifiedRuntime) && !hasMta) throw `'cds add postgres' is not available for Kyma yet`
@@ -21,7 +25,7 @@ module.exports = class PostgresTemplate extends require('../../plugin') {
21
25
  const project = readProject()
22
26
  const { configFile, isJava } = project
23
27
  project.shortcut = !(await read(configFile)).cds?.requires?.db?.kind
24
- await merge(__dirname, 'files/package.json.hbs').into(configFile, { project })
28
+ await merge(__dirname, 'files/package.json.hbs').into('package.json', { project })
25
29
  if (isJava) await mvn.add('postgresql')
26
30
  }
27
31
 
@@ -0,0 +1,25 @@
1
+ ---
2
+ modules:
3
+ - name: {{appName}}-srv
4
+ type: {{language}}
5
+ path: {{& srvPath}}
6
+ requires:
7
+ - name: {{appName}}-redis
8
+
9
+ resources:
10
+ - name: {{appName}}-redis
11
+ type: org.cloudfoundry.managed-service
12
+ parameters:
13
+ service: redis-cache
14
+ service-plan: standard
15
+ # config:
16
+ # memory: 2 # GB, can be 2 or 4
17
+ # multi_az: true
18
+ # cluster_mode: true
19
+ # shard_count: 1
20
+ # node_count: 3 # per shard minimum is 3 (for standard plan)
21
+ # engine_version: "6.0" # can be "4.0" or "6.0"
22
+ # maintenance_window:
23
+ # day_of_week: Friday
24
+ # start_hour_utc: 0
25
+ # duration: 5 # hours
@@ -0,0 +1,5 @@
1
+ {
2
+ "dependencies": {
3
+ "redis": "^4"
4
+ }
5
+ }
@@ -0,0 +1,44 @@
1
+ const { readProject } = require('../../projectReader')
2
+ const { merge } = require('../../merge')
3
+ const { srv4, redis } = require('../../registries/mta')
4
+
5
+ module.exports = class extends require('../../plugin') {
6
+
7
+ static help() {
8
+ return 'SAP BTP Redis, Hyperscaler Option'
9
+ }
10
+
11
+ async canRun() {
12
+ const { hasMta, hasHelm, hasHelmUnifiedRuntime, isJava } = readProject()
13
+ const onlyHelm = !hasMta && (hasHelmUnifiedRuntime || hasHelm)
14
+ if (isJava) throw `'cds add redis' is not available for Java yet`
15
+ if (onlyHelm) throw `'cds add redis' is not available for Kyma yet`
16
+ return true
17
+ }
18
+
19
+ static hasInProduction() {
20
+ const { dependencies } = readProject()
21
+ return !!dependencies?.['redis']
22
+ }
23
+
24
+ async run() {
25
+ await merge(__dirname, 'files/package.json.hbs').into('package.json')
26
+ }
27
+
28
+ async combine() {
29
+ const project = readProject()
30
+ const { hasMta, srvPath } = project
31
+
32
+ if (hasMta) {
33
+ const srv = srv4(srvPath)
34
+ await merge(__dirname, 'files/mta.yaml.hbs').into('mta.yaml', {
35
+ project,
36
+ additions: [srv, redis],
37
+ relationships: [{
38
+ insert: [redis, 'name'],
39
+ into: [srv, 'requires', 'name']
40
+ }]
41
+ })
42
+ }
43
+ }
44
+ }
@@ -1,8 +1,5 @@
1
1
  {
2
2
  {{#isNodejs}}
3
- "dependencies": {
4
- "redis": "^4"
5
- },
6
3
  "cds": {
7
4
  {{/isNodejs}}
8
5
  "requires": {
@@ -2,10 +2,17 @@ const cds = require('../../../cds')
2
2
  const { read } = cds.utils
3
3
  const { readProject } = require('../../projectReader')
4
4
  const { merge } = require('../../merge')
5
- const { srv4, redis } = require('../../registries/mta')
6
5
 
7
6
  module.exports = class RedisMessagingTemplate extends require('../../plugin') {
8
7
 
8
+ static help() {
9
+ return 'messaging via Redis'
10
+ }
11
+
12
+ requires() {
13
+ return ['redis']
14
+ }
15
+
9
16
  async canRun() {
10
17
  const { hasMta, hasHelm, hasHelmUnifiedRuntime, isJava } = readProject()
11
18
  const onlyHelm = !hasMta && (hasHelmUnifiedRuntime || hasHelm)
@@ -24,21 +31,4 @@ module.exports = class RedisMessagingTemplate extends require('../../plugin') {
24
31
  project.shortcut = !(await read(configFile)).cds?.requires?.messaging?.kind
25
32
  await merge(__dirname, 'files/package.json.hbs').into(configFile, { project })
26
33
  }
27
-
28
- async combine() {
29
- const project = readProject()
30
- const { hasMta, srvPath } = project
31
-
32
- if (hasMta) {
33
- const srv = srv4(srvPath)
34
- await merge(__dirname, 'files/mta.yaml.hbs').into('mta.yaml', {
35
- project,
36
- additions: [srv, redis],
37
- relationships: [{
38
- insert: [redis, 'name'],
39
- into: [srv, 'requires', 'name']
40
- }]
41
- })
42
- }
43
- }
44
34
  }
@@ -0,0 +1,3 @@
1
+ appTitle=Bücher verwalten
2
+ appSubTitle=Verwalten Sie den Bestand der Buchhandlung
3
+ appDescription=Verwalten Sie den Bestand Ihrer Buchhandlung ganz einfach.
@@ -0,0 +1,3 @@
1
+ appTitle=Manage Books
2
+ appSubTitle=Manage bookshop inventory
3
+ appDescription=Manage your bookshop inventory with ease.
@@ -11,12 +11,24 @@
11
11
  "i18n": "i18n/i18n.properties",
12
12
  "dataSources": {
13
13
  "AdminService": {
14
- "uri": "/odata/v4/admin/",
14
+ "uri": "odata/v4/admin/",
15
15
  "type": "OData",
16
16
  "settings": {
17
17
  "odataVersion": "4.0"
18
18
  }
19
19
  }
20
+ },
21
+ "crossNavigation": {
22
+ "inbounds": {
23
+ "intent-Books-manage": {
24
+ "signature": {
25
+ "parameters": {},
26
+ "additionalParameters": "allowed"
27
+ },
28
+ "semanticObject": "Books",
29
+ "action": "manage"
30
+ }
31
+ }
20
32
  }
21
33
  },
22
34
  "sap.ui": {
@@ -1,4 +1,4 @@
1
1
  appTitle=Browse Books
2
- appSubTitle=Find all your favorite books
2
+ appSubTitle=All books in one place
3
3
  appDescription=This application lets you find the next books you want to read.
4
- appInfo=This is an app info field
4
+ appInfo=Find your favorite books
@@ -0,0 +1,3 @@
1
+ appTitle=Bücher anschauen
2
+ appSubTitle=Finden sie ihre nächste Lektüre
3
+ appDescription=Finden Sie die nachsten Bücher, die Sie lesen möchten.
@@ -0,0 +1,4 @@
1
+ appTitle=Browse Books
2
+ appSubTitle=All books in one place
3
+ appDescription=This application lets you find the next books you want to read.
4
+ appInfo=Find your favorite books
@@ -11,7 +11,7 @@
11
11
  "i18n": "i18n/i18n.properties",
12
12
  "dataSources": {
13
13
  "CatalogService": {
14
- "uri": "/odata/v4/catalog/",
14
+ "uri": "odata/v4/catalog/",
15
15
  "type": "OData",
16
16
  "settings": {
17
17
  "odataVersion": "4.0"
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "crossNavigation": {
22
22
  "inbounds": {
23
- "intent1": {
23
+ "Books-display": {
24
24
  "signature": {
25
25
  "parameters": {
26
26
  "Books.ID": {
@@ -30,7 +30,7 @@
30
30
  "renameTo": "ID"
31
31
  }
32
32
  },
33
- "additionalParameters": "ignored"
33
+ "additionalParameters": "allowed"
34
34
  },
35
35
  "semanticObject": "Books",
36
36
  "action": "display",
@@ -24,7 +24,7 @@
24
24
  data-sap-ui-frameOptions="allow"
25
25
  ></script>
26
26
  <script>
27
- sap.ui.getCore().attachInit(()=> sap.ushell.Container.createRenderer().placeAt("content"))
27
+ sap.ui.getCore().attachInit(() => sap.ushell.Container.createRenderer().placeAt("content"))
28
28
  </script>
29
29
 
30
30
  </head>
@@ -1,5 +1,5 @@
1
- ID;name;dateOfBirth;placeOfBirth;dateOfDeath;placeOfDeath
2
- 101;Emily Brontë;1818-07-30;Thornton, Yorkshire;1848-12-19;Haworth, Yorkshire
3
- 107;Charlotte Brontë;1818-04-21;Thornton, Yorkshire;1855-03-31;Haworth, Yorkshire
4
- 150;Edgar Allen Poe;1809-01-19;Boston, Massachusetts;1849-10-07;Baltimore, Maryland
5
- 170;Richard Carpenter;1929-08-14;King’s Lynn, Norfolk;2012-02-26;Hertfordshire, England
1
+ ID,name,dateOfBirth,placeOfBirth,dateOfDeath,placeOfDeath
2
+ 101,Emily Brontë,1818-07-30,"Thornton, Yorkshire",1848-12-19,"Haworth, Yorkshire"
3
+ 107,Charlotte Brontë,1818-04-21,"Thornton, Yorkshire",1855-03-31,"Haworth, Yorkshire"
4
+ 150,Edgar Allen Poe,1809-01-19,"Boston, Massachusetts",1849-10-07,"Baltimore, Maryland"
5
+ 170,Richard Carpenter,1929-08-14,"King’s Lynn, Norfolk",2012-02-26,"Hertfordshire, England"
@@ -1,6 +1,6 @@
1
- ID;title;descr;author_ID;stock;price;currency_code;genre_ID
2
- 201;Wuthering Heights;"Wuthering Heights, Emily Brontë's only novel, was published in 1847 under the pseudonym ""Ellis Bell"". It was written between October 1845 and June 1846. Wuthering Heights and Anne Brontë's Agnes Grey were accepted by publisher Thomas Newby before the success of their sister Charlotte's novel Jane Eyre. After Emily's death, Charlotte edited the manuscript of Wuthering Heights and arranged for the edited version to be published as a posthumous second edition in 1850.";101;12;11.11;GBP;11
3
- 207;Jane Eyre;"Jane Eyre /ɛər/ (originally published as Jane Eyre: An Autobiography) is a novel by English writer Charlotte Brontë, published under the pen name ""Currer Bell"", on 16 October 1847, by Smith, Elder & Co. of London. The first American edition was published the following year by Harper & Brothers of New York. Primarily a bildungsroman, Jane Eyre follows the experiences of its eponymous heroine, including her growth to adulthood and her love for Mr. Rochester, the brooding master of Thornfield Hall. The novel revolutionised prose fiction in that the focus on Jane's moral and spiritual development is told through an intimate, first-person narrative, where actions and events are coloured by a psychological intensity. The book contains elements of social criticism, with a strong sense of Christian morality at its core and is considered by many to be ahead of its time because of Jane's individualistic character and how the novel approaches the topics of class, sexuality, religion and feminism.";107;11;12.34;GBP;11
4
- 251;The Raven;"""The Raven"" is a narrative poem by American writer Edgar Allan Poe. First published in January 1845, the poem is often noted for its musicality, stylized language, and supernatural atmosphere. It tells of a talking raven's mysterious visit to a distraught lover, tracing the man's slow fall into madness. The lover, often identified as being a student, is lamenting the loss of his love, Lenore. Sitting on a bust of Pallas, the raven seems to further distress the protagonist with its constant repetition of the word ""Nevermore"". The poem makes use of folk, mythological, religious, and classical references.";150;333;13.13;USD;16
5
- 252;Eleonora;"""Eleonora"" is a short story by Edgar Allan Poe, first published in 1842 in Philadelphia in the literary annual The Gift. It is often regarded as somewhat autobiographical and has a relatively ""happy"" ending.";150;555;14;USD;16
6
- 271;Catweazle;Catweazle is a British fantasy television series, starring Geoffrey Bayldon in the title role, and created by Richard Carpenter for London Weekend Television. The first series, produced and directed by Quentin Lawrence, was screened in the UK on ITV in 1970. The second series, directed by David Reid and David Lane, was shown in 1971. Each series had thirteen episodes, most but not all written by Carpenter, who also published two books based on the scripts.;170;22;150;JPY;13
1
+ ID,title,descr,author_ID,stock,price,currency_code,genre_ID
2
+ 201,Wuthering Heights,"Wuthering Heights, Emily Brontë's only novel, was published in 1847 under the pseudonym ""Ellis Bell"". It was written between October 1845 and June 1846. Wuthering Heights and Anne Brontë's Agnes Grey were accepted by publisher Thomas Newby before the success of their sister Charlotte's novel Jane Eyre. After Emily's death, Charlotte edited the manuscript of Wuthering Heights and arranged for the edited version to be published as a posthumous second edition in 1850.",101,12,11.11,GBP,11
3
+ 207,Jane Eyre,"Jane Eyre /ɛər/ (originally published as Jane Eyre: An Autobiography) is a novel by English writer Charlotte Brontë, published under the pen name ""Currer Bell"", on 16 October 1847, by Smith, Elder & Co. of London. The first American edition was published the following year by Harper & Brothers of New York. Primarily a bildungsroman, Jane Eyre follows the experiences of its eponymous heroine, including her growth to adulthood and her love for Mr. Rochester, the brooding master of Thornfield Hall. The novel revolutionised prose fiction in that the focus on Jane's moral and spiritual development is told through an intimate, first-person narrative, where actions and events are coloured by a psychological intensity. The book contains elements of social criticism, with a strong sense of Christian morality at its core and is considered by many to be ahead of its time because of Jane's individualistic character and how the novel approaches the topics of class, sexuality, religion and feminism.",107,11,12.34,GBP,11
4
+ 251,The Raven,"""The Raven"" is a narrative poem by American writer Edgar Allan Poe. First published in January 1845, the poem is often noted for its musicality, stylized language, and supernatural atmosphere. It tells of a talking raven's mysterious visit to a distraught lover, tracing the man's slow fall into madness. The lover, often identified as being a student, is lamenting the loss of his love, Lenore. Sitting on a bust of Pallas, the raven seems to further distress the protagonist with its constant repetition of the word ""Nevermore"". The poem makes use of folk, mythological, religious, and classical references.",150,333,13.13,USD,16
5
+ 252,Eleonora,"""Eleonora"" is a short story by Edgar Allan Poe, first published in 1842 in Philadelphia in the literary annual The Gift. It is often regarded as somewhat autobiographical and has a relatively ""happy"" ending.",150,555,14,USD,16
6
+ 271,Catweazle,"Catweazle is a British fantasy television series, starring Geoffrey Bayldon in the title role, and created by Richard Carpenter for London Weekend Television. The first series, produced and directed by Quentin Lawrence, was screened in the UK on ITV in 1970. The second series, directed by David Reid and David Lane, was shown in 1971. Each series had thirteen episodes, most but not all written by Carpenter, who also published two books based on the scripts.",170,22,150,JPY,13
@@ -1,5 +1,5 @@
1
- ID_texts;ID;locale;title;descr
2
- 52eee553-266d-4fdd-a5ca-909910e76ae4;201;de;Sturmhöhe;Sturmhöhe (Originaltitel: Wuthering Heights) ist der einzige Roman der englischen Schriftstellerin Emily Brontë (1818–1848). Der 1847 unter dem Pseudonym Ellis Bell veröffentlichte Roman wurde vom viktorianischen Publikum weitgehend abgelehnt, heute gilt er als ein Klassiker der britischen Romanliteratur des 19. Jahrhunderts.
3
- 54e58142-f06e-49c1-a51d-138f86cea34e;201;fr;Les Hauts de Hurlevent;Les Hauts de Hurlevent (titre original : Wuthering Heights), parfois orthographié Les Hauts de Hurle-Vent, est l'unique roman d'Emily Brontë, publié pour la première fois en 1847 sous le pseudonyme d’Ellis Bell. Loin d'être un récit moralisateur, Emily Brontë achève néanmoins le roman dans une atmosphère sereine, suggérant le triomphe de la paix et du Bien sur la vengeance et le Mal.
4
- bbbf8a88-797d-4790-af1c-1cc857718ee0;207;de;Jane Eyre;Jane Eyre. Eine Autobiographie (Originaltitel: Jane Eyre. An Autobiography), erstmals erschienen im Jahr 1847 unter dem Pseudonym Currer Bell, ist der erste veröffentlichte Roman der britischen Autorin Charlotte Brontë und ein Klassiker der viktorianischen Romanliteratur des 19. Jahrhunderts. Der Roman erzählt in Form einer Ich-Erzählung die Lebensgeschichte von Jane Eyre (ausgesprochen /ˌdʒeɪn ˈɛə/), die nach einer schweren Kindheit eine Stelle als Gouvernante annimmt und sich in ihren Arbeitgeber verliebt, jedoch immer wieder um ihre Freiheit und Selbstbestimmung kämpfen muss. Als klein, dünn, blass, stets schlicht dunkel gekleidet und mit strengem Mittelscheitel beschrieben, gilt die Heldin des Romans Jane Eyre nicht zuletzt aufgrund der Kino- und Fernsehversionen der melodramatischen Romanvorlage als die bekannteste englische Gouvernante der Literaturgeschichte
5
- a90d4378-1a3e-48e7-b60b-5670e78807e1;252;de;Eleonora;“Eleonora” ist eine Erzählung von Edgar Allan Poe. Sie wurde 1841 erstveröffentlicht. In ihr geht es um das Paradox der Treue in der Treulosigkeit.
1
+ ID_texts,ID,locale,title,descr
2
+ 52eee553-266d-4fdd-a5ca-909910e76ae4,201,de,Sturmhöhe,"Sturmhöhe (Originaltitel: Wuthering Heights) ist der einzige Roman der englischen Schriftstellerin Emily Brontë (1818–1848). Der 1847 unter dem Pseudonym Ellis Bell veröffentlichte Roman wurde vom viktorianischen Publikum weitgehend abgelehnt, heute gilt er als ein Klassiker der britischen Romanliteratur des 19. Jahrhunderts."
3
+ 54e58142-f06e-49c1-a51d-138f86cea34e,201,fr,Les Hauts de Hurlevent,"Les Hauts de Hurlevent (titre original : Wuthering Heights), parfois orthographié Les Hauts de Hurle-Vent, est l'unique roman d'Emily Brontë, publié pour la première fois en 1847 sous le pseudonyme d’Ellis Bell. Loin d'être un récit moralisateur, Emily Brontë achève néanmoins le roman dans une atmosphère sereine, suggérant le triomphe de la paix et du Bien sur la vengeance et le Mal."
4
+ bbbf8a88-797d-4790-af1c-1cc857718ee0,207,de,Jane Eyre,"Jane Eyre. Eine Autobiographie (Originaltitel: Jane Eyre. An Autobiography), erstmals erschienen im Jahr 1847 unter dem Pseudonym Currer Bell, ist der erste veröffentlichte Roman der britischen Autorin Charlotte Brontë und ein Klassiker der viktorianischen Romanliteratur des 19. Jahrhunderts. Der Roman erzählt in Form einer Ich-Erzählung die Lebensgeschichte von Jane Eyre (ausgesprochen /ˌdʒeɪn ˈɛə/), die nach einer schweren Kindheit eine Stelle als Gouvernante annimmt und sich in ihren Arbeitgeber verliebt, jedoch immer wieder um ihre Freiheit und Selbstbestimmung kämpfen muss. Als klein, dünn, blass, stets schlicht dunkel gekleidet und mit strengem Mittelscheitel beschrieben, gilt die Heldin des Romans Jane Eyre nicht zuletzt aufgrund der Kino- und Fernsehversionen der melodramatischen Romanvorlage als die bekannteste englische Gouvernante der Literaturgeschichte"
5
+ a90d4378-1a3e-48e7-b60b-5670e78807e1,252,de,Eleonora,“Eleonora” ist eine Erzählung von Edgar Allan Poe. Sie wurde 1841 erstveröffentlicht. In ihr geht es um das Paradox der Treue in der Treulosigkeit.
@@ -1,16 +1,16 @@
1
- ID;parent_ID;name
2
- 10;;Fiction
3
- 11;10;Drama
4
- 12;10;Poetry
5
- 13;10;Fantasy
6
- 14;10;Science Fiction
7
- 15;10;Romance
8
- 16;10;Mystery
9
- 17;10;Thriller
10
- 18;10;Dystopia
11
- 19;10;Fairy Tale
12
- 20;;Non-Fiction
13
- 21;20;Biography
14
- 22;21;Autobiography
15
- 23;20;Essay
16
- 24;20;Speech
1
+ ID,parent_ID,name
2
+ 10,,Fiction
3
+ 11,10,Drama
4
+ 12,10,Poetry
5
+ 13,10,Fantasy
6
+ 14,10,Science Fiction
7
+ 15,10,Romance
8
+ 16,10,Mystery
9
+ 17,10,Thriller
10
+ 18,10,Dystopia
11
+ 19,10,Fairy Tale
12
+ 20,,Non-Fiction
13
+ 21,20,Biography
14
+ 22,21,Autobiography
15
+ 23,20,Essay
16
+ 24,20,Speech