Dec 03, 2021
12:44 PM
I installed the Edge Server and responds to some calls like: /uai/2.0/updates/manifests but I get "404 page not found" for the events API call as documented in Events REST API in FNO_2021-10_UserGuide: /uai/2.0/events Sending 'events' which I can retrieve and analyze later is actually my goal, and it works well with the Cloud event server, as followed: https://{serverID}-ns-uat.flexnetoperations.com/uai/2.0/events Does Edge Server support that API call? Thanks
... View more
Nov 30, 2021
11:17 AM
1 Kudo
Hi @kiangorji ,
The Edge Server can now be downloaded at the published location.
Best regards,
Jim
... View more
Oct 06, 2020
09:12 PM
Hi @fuyili ,
In the License Server Producer Guide there is an example python script for generating a JWT signed using a private key. Here's a snippet from the example:
# Setup the JWT's payload payload = { # Subject field must be present but content is not significant 'sub': 'Authorization', # Claim must include 'roles' as ROLE_CAPABILITY 'roles': 'ROLE_CAPABILITY', # Other JWT, such as expiration, are optional 'exp': datetime.datetime.utcnow() + datetime.timedelta(days=365) }
'sub' = Subject which must be present but as state the content is not significant. The 'roles':'ROLE_CAPABILITY' is mandatory, the 'exp' is optional.
The JWT is created with the private key. FlexNet Operations uses the uploaded public key to verify the authenticity of the JWT.
Thanks,
... View more
Sep 23, 2020
09:27 PM
1 Kudo
Hi @kiangorji ,
You'll want to use the FlexNet Authentication web service. The wsdl for your UAT site would be https://flex1685-uat.flexnetoperations.com/flexnet/services/FlexnetAuthentication?wsdl
There are 2 users involved in this process. When you request a secure token you will pass in the username (email address) of the end customer that you wish to sign in via SSO to the FlexNet Operations Customer Portal. This user must exist as a customer user in FlexNet Operations. If you wish to first create this user via Web services you could use the createUser request in the UserAcctHierarchyService,https://flex1685-uat.flexnetoperations.com/flexnet/services/v3/UserAcctHierarchyService?wsdl The second user is the Producer user with web services permissions whose credentials you will use for authentication in the secureTokenRequest web service call. This is typically a Producer user with a System Administrator role. You only need to create one user for this function so typically it will be done manually in the Producer Portal. I have attached a SOAP UI screenshot of the secureTokenRequest and the FlexNet Operations response with the token. Once you have the secure token you can then construct the URL the customer will use to SSO to the FlexNet Operations Customer Portal (example also in attached screenshot).
I am not aware of any C# sharp examples for the token generation, if I find something I'll update this post.
Thanks,
... View more
Sep 17, 2020
01:07 PM
Hi @kiangorji ,
You can use the REST API from the "manage-device-service-rest-controller" to obtain a list of all Server IDs.
The link to the Swagger page is here: https://flexNNNN.flexnetoperations.com/flexnet/swagger-ui.html#/manage45device45service45rest45controller
Send a POST to https://flexNNNN .flexnetoperations.com/flexnet/operations/manageDevice/1.0/devices
with the following query
"queryParams" : {
"deviceTypes" : {
"deviceType" : [
"SERVER"
]
To retrieve all SERVER devices. Note that this will include LOCAL servers as well. There is no query parameter in the REST API to distinguish between local and cloud based servers using this API. Alternatively you could use a SOAP Web Service to get only Cloud Servers via the searchDevices call in the V3 ManageDeviceService wsdl (https://flexNNNN.flexnetoperations.com/flexnet/services/v3/ManageDeviceService?wsdl). A sample Request body is shown below:
< soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn = "urn:v3.fne.webservices.operations.flexnet.com">
< soapenv:Header/ >
< soapenv:Body >
< urn:searchDevicesRequest >
<!--Optional:-->
< urn:queryParams >
< urn:deviceClasses >
<!--1 or more repetitions:-->
<!--type: WSDeviceType - enumeration: [CLIENT,SERVER,SERVED_CLIENT]-->
<urn:deviceClass>SERVER</urn:deviceClass>
</ urn:deviceClasses >
<urn:hosted>true</urn:hosted>
</ urn:queryParams >
<!--Optional:-->
< urn:responseConfig >
< urn:name > true </ urn:name >
</ urn:responseConfig >
<!--Optional:-->
< urn:sortBys >
< urn:sortBy >
<!--type: deviceSortKey - enumeration: [DEVICE_ID,NAME,LAST_MODIFIED_DATE,SOLD_TO_ACCOUNT_ID,SOLD_TO_ACCOUNT_NAME,DEVICE_ID_TYPE,DEVICE_CLASS,HOST_TYPE_NAME,HOST_TYPE_ALIAS,HOST_SERIES_NAME,SIGNATURE_NAME,STATUS,PARENT_IDENTIFIER,USER,MACHINE_TYPE]-->
<urn:sortKey>DEVICE_ID</urn:sortKey>
<!--type: boolean-->
< urn:ascending > true </ urn:ascending >
</ urn:sortBy >
</ urn:sortBys >
< urn:pageNumber > 1 </ urn:pageNumber >
< urn:batchSize > 100 </ urn:batchSize >
</ urn:searchDevicesRequest >
</ soapenv:Body >
</ soapenv:Envelope >
Thanks,
... View more
Latest posts by kiangorji
Subject | Views | Posted |
---|---|---|
193 | Dec 03, 2021 12:44 PM | |
382 | Nov 30, 2021 07:14 AM | |
409 | Nov 29, 2021 10:34 AM | |
751 | Sep 23, 2020 01:56 PM | |
651 | Sep 17, 2020 11:24 AM | |
2118 | Sep 17, 2020 07:01 AM | |
2733 | May 15, 2020 09:35 AM | |
2743 | May 14, 2020 03:43 PM | |
2752 | May 14, 2020 02:27 PM |
Activity Feed
- Posted Edge Server's (UAI) REST does not supporting events URI? on FlexNet Embedded Forum. Dec 03, 2021 12:44 PM
- Kudoed Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? for jberthold. Nov 30, 2021 12:13 PM
- Posted Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? on FlexNet Embedded Forum. Nov 30, 2021 07:14 AM
- Kudoed Re: Is the Updates And Insights (UAI) REST interface available on Local License Server? for jberthold. Nov 29, 2021 02:45 PM
- Posted Is the Updates And Insights (UAI) REST interface available on Local License Server? on FlexNet Embedded Forum. Nov 29, 2021 10:34 AM
- Posted UseAdministration Web Service on FlexNet Operations Forum. Sep 23, 2020 01:56 PM
- Posted How to get list of HOSTIDS for all Cloud License Servers? on FlexNet Operations Forum. Sep 17, 2020 11:24 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. Sep 17, 2020 07:01 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 15, 2020 09:35 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 03:43 PM
- Posted REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 02:27 PM