IN-CORE / pyincore

pyIncore is a component of IN-CORE. It is a python package consisting of two primary components: 1) a set of service classes to interact with the IN-CORE web services, and 2) IN-CORE analyses . The pyIncore allows users to apply various hazards to infrastructure in selected areas, propagating the effect of physical infrastructure damage and loss of functionality to social and economic impacts.
Mozilla Public License 2.0
25 stars 7 forks source link

Create Internal client #609

Closed longshuicy closed 2 months ago

longshuicy commented 3 months ago

Handle Internal Connection with IN-CORE Services Behind the Firewall No need to pass JWT token for internal connections. Instead, use x-user-info and x-group-info headers.


Use Case: For DataWolf workflow executions, passing the IN-CORE token each time is cumbersome and unnecessary since everything is behind the IN-CORE-auth gateway.