Comments (11)
Im calling it up over VPN too.
I think i will activate logLevel of this proxy to debug and other proxys to error debugLevel (next version), then in vscode menu: Help > Toggle Developer Tools > Console so you can check the logs, i hope we can find some helpfull messages...
By the way, you can check it now but all proxy are in info debugLevel.
from ui5-tools.
- Other odataProxy configuration
- MountPath configuration
- ODATA auth
from ui5-tools.
I published a new version with mountpath configurable, it works with odataProxy "Other" configuration.
You can change it in the workspace configuration or with command ui5-tools.configurator.odataProvider
from ui5-tools.
I have tested it with the north wind service, but it does not seem to work.
from ui5-tools.
Hi,
could you try now with version 0.1.8?
Additionally, when Other odataProxy is configured, odataUri and odataMountPath accepts multiple entries:
You can check it with the example workspace included in this repo.
Thanks for de feedback!
from ui5-tools.
Great, now it works!
That would help a lot of people in the development.
Only in a special case does it get complicated. If mine calls up a server/gateway with a port in the URL https://my.internal.Server:com:8443/
Then the following error appears:
GET http://localhost:3000/mydestination 500 (Internal Server Error)
Error occured while trying to proxy to: localhost:3000
from ui5-tools.
I dont know how to check this error, i use this config in work that use ports in the url:
Your url https://my.internal.Server:com:8443/
contains two :
, i dont know if this could be the problem...
That config "is the same" that this one:
By the way, if you think its necessary, i can concatenate the odataMountPath
with odataUri
in order to avoid this configuration, so it will look like in the future:
I dont like this, because then you cant customice odataMountPath with "random" string and forces to exist that path in odataUri server)
Also i think its necessary another config property to separate resourcesUri
and odataUri
, and Other
option to resourcesProxy
that allows to customice resourcesUri
from ui5-tools.
The : behind com was accidental.
Probably that are my own network problems. Because I call it up over VPN.
I can access Gateway's OData service directly from the browser, but not the proxy.
from ui5-tools.
Now you can create a .env file in root workspace with:
UI5TOOLS_ODATA_USER=user1
UI5TOOLS_ODATA_PASSWORD=pass1
If you have multiple destinations, then the next ones:
UI5TOOLS_ODATA_USER_2=user2
UI5TOOLS_ODATA_PASSWORD_2=pass2
UI5TOOLS_ODATA_USER_3=user3
UI5TOOLS_ODATA_PASSWORD_3=pass3
...
Can you have a look, please?
Thanks!
from ui5-tools.
that works with authentication. also with the mutiple mountpath/destionation
thanks with the dev tools tip
My own mistake is that the gateway has a self-signed certificate. Either you would have to install the certificate on your device, or you could disable this SSL check, like in Postman or in the ui5-tooling-middleware (see screenshots)
from ui5-tools.
Hi!
In 0.3.1 ssl check is disabled by default. I hope this solves the problem...
from ui5-tools.
Related Issues (13)
- Asking to clear or remove the dist folder? HOT 9
- Extension issue
- Extension issue HOT 1
- Server: redirect to SAP system with different clients HOT 5
- Gateway proxy option working different since 0.6.8
- Multiple destinations HOT 5
- Publish to Open VSX HOT 1
- Bug on update vscode HOT 1
- import from gateway no work HOT 1
- ui5-tools.srcFolder - not webapp HOT 2
- Set UI5 version HOT 6
- Multiple Destinations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui5-tools.