Skip to content

Commit

Permalink
enhanced test app for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasqueck committed Jun 7, 2023
1 parent 4524f43 commit 900f0fb
Show file tree
Hide file tree
Showing 10 changed files with 21,642 additions and 4 deletions.
9,020 changes: 9,020 additions & 0 deletions packages/ui5-proxy-middleware/test/test-input/app/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"@sap-ux/ui5-proxy-middleware": "workspace:*",
"@sap-ux/ui5-proxy-middleware": "../../..",
"@ui5/cli": "2.14.1"
},
"scripts": {
"build": "ui5 build",
"config": "fiori add deploy-config",
"start": "fiori run --open manifest.json",
"deploy": "ui5 build preload --clean-dest --config ui5-deploy.yaml --include-task=generateManifestBundle generateCachebusterInfo"
"start": "ui5 serve"
},
"ui5": {
"dependencies": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
specVersion: '1.0'
metadata:
name: test-project
type: application
resources:
configuration:
paths:
webapp: app/webapp
server:
customMiddleware:
- name: ui5-proxy-middleware
afterMiddleware: compression
configuration:
ui5:
- path: /resources|/test-resources
url: https://ui5.sap.com
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sap.ui.define(['sap/suite/ui/generic/template/lib/AppComponent'], function (AppComponent) {
return AppComponent.extend('test-project.Component', {
metadata: {
manifest: 'json'
}
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"_version": "1.8.0",
"sap.app": {
"id": "test-project",
"type": "application",
"i18n": "i18n/i18n.properties",
"applicationVersion": {
"version": "1.0.0"
},
"title": "Test App",
"description": "test app",
"tags": {
"keywords": []
},
"ach": "",
"resources": "resources.json",
"dataSources": {
"mainService": {
"uri": "/my/odata/service",
"type": "OData",
"settings": {
"annotations": [],
"localUri": "localService/metadata.xml"
}
}
},
"offline": false,
"sourceTemplate": {
"id": "ui5template.smartTemplate",
"version": "1.40.12"
}
},
"sap.ui": {
"technology": "UI5",
"icons": {
"icon": "",
"favIcon": "",
"phone": "",
"phone@2": "",
"tablet": "",
"tablet@2": ""
},
"deviceTypes": {
"desktop": true,
"tablet": true,
"phone": true
},
"supportedThemes": ["sap_hcb", "sap_belize"]
},
"sap.ui5": {
"resources": {
"js": [],
"css": []
},
"dependencies": {
"minUI5Version": "1.90.0",
"libs": {},
"components": {}
},
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"uri": "i18n/i18n.properties"
},
"": {
"dataSource": "mainService",
"preload": true,
"settings": {
"defaultBindingMode": "TwoWay",
"defaultCountMode": "Inline",
"refreshAfterChange": false,
"metadataUrlParams": {
"sap-value-list": "none"
}
}
}
},
"extends": {
"extensions": {}
},
"contentDensities": {
"compact": true,
"cozy": true
}
},
"sap.ui.generic.app": {
"_version": "1.3.0",
"settings": {
"forceGlobalRefresh": false,
"objectPageHeaderType": "Dynamic",
"showDraftToggle": false
},
"pages": {
"ListReport|MyEntity": {
"entitySet": "MyEntity",
"component": {
"name": "sap.suite.ui.generic.template.ListReport",
"list": true,
"settings": {
"condensedTableLayout": true,
"smartVariantManagement": true,
"enableTableFilterInPageVariant": true
}
},
"pages": {
"ObjectPage|MyEntity": {
"entitySet": "MyEntity",
"component": {
"name": "sap.suite.ui.generic.template.ObjectPage"
}
}
}
}
}
},
"sap.platform.abap": {
"uri": ""
},
"sap.fiori": {
"registrationIds": [],
"archeType": "transactional"
},
"sap.platform.hcp": {
"uri": ""
}
}
Loading

0 comments on commit 900f0fb

Please sign in to comment.