BIM 360 Field Forge - Retrieve Container ID - postman

I am ultimately trying to build a custom integration with BIM360 Field to track and monitor field issues generated on a specific project.
Currently in the trial stage I am using Postman to make URI calls, mostly based on Sam Nseir's post Export BIM 360 Project Data via Autodesk Forge
I have everything from that post working correctly, Authentication, Projects list, and was able to extract my Hub Id with a https://developer.api.autodesk.com/project/v1/hubs call.
I am getting hung up trying to determine my Container ID based on this Forge Help Doc. I am only ever able to return a empty Data set "data":[] as shown in the output image below. I have tried adapting the filter logic from the help docs, but end up with the exact same result.
Output Image
I am using an Autodesk sample project, which I am the account admin of, so I don't believe permissions should be an issue. My custom integration has Account admin, and Document management access.

Related

WSO2 Identity Server - Get Role's Permissions

refer to this link we integrated CustomPermissionClaimHandler to our server without any errors but still we can't get the permissions of the users... I know how to create custom claims refer to this link and if I follow these 2 links' steps, I can create permission field like a textbox as shown on picture (testClaim and organizationID are examples about that from picture)... I thought that after integrating CustomPermissionClaimHandler I would see permissions like Role field as shown on picture with blue line but still it comes with empty textbox as shown on picture with green line. Is there any way to get the permissions?
EDIT: I can get JWT including my custom claims and if I decode it I see like this (as you see it doesn't contain permissions):
By looking at the JWT response, I can say you have done either or both of the following.
It seems there is a mistake in the guide of configuring the application-authentication extension.
If you have added,
[authentication.framework.extensions]
claim_handler="com.wso2.sample.claim.handler.CustomClaimHandler"
in to the deployment.toml, but you use the jar by building the code, there is a mismatch in the package name. You have to use the following config.
[authentication.framework.extensions]
claim_handler="org.wso2.custom.claim.PermissionClaimHandler"
Because of this configuration issue, your custom handler may not get executed even though that service got activated properly.
If the claim handler is active and the configuration is correct as step one, you might have missed something when mapping the custom claim to an oidc claim / adding it as an OIDC sope / configuring service provider claims

What's next: after successful token created for django all-auth; how to sync google calendars?

Ok, I hope I don't get too beat up here for this question as it is kind of complex. At least in my view, with what I know so far. So the details first:
I built a nice app with django that brings in event data for users, utilizes that data for many things (not relevant to this question) but one of the things is that it syncs these events to the users Google calendar. I made the google app within the developer console, and it uses the provided credentials.json file to allow users to authenticate the app, thus creating individual user token.json files per user, then I have another script (not within django, just a custom python file) that runs from a cron job to automatically sync/ update the calendar info from the database to the google calendars.
Now, the new problem is having this work without my help. IE: a new user logs in and creates a profile, then if they should choose to sync to their Google calendars I have to be there, running the authentication process from my personal server. So I did that, by moving the whole app to a hosted platform and brought it up to speed in production mode.
Users can create a profile, using django-allauth it works to make an initial user account where they can fill in the rest of the profile. It does populate the token string for their account, but here is where I'm stuck.
What process is there to make the token.json file OR use the existing token string (the one it saves now on the server version) to allow the system to sync the calendars? Once the token files are created, the rest of this works. I just can't get the right answers to how django-allauth will handshake with Google and do this?
Thanks for any help!
Update: ultimately wound up using a service account with google api, and directing my users to combine the service account email (adding it as a shared user to the specific calendar) and they copy/paste the shared calendar ID in their profile on my app. All the logic now just uses this share function to sync the calendars, and it works great.

Transaction based monitoring service for rails

I am looking for a service for my rails application to monitor and alert/notify based on transaction based tests. I already looked at pingdom but it doesn't support uploading files and that's crucial to my use case. what other services i can use to test and monitor my transaction. My use case is as follows:
User logs in to their iTunesConnect account via our login form
User selects multiple image(s) to upload to iTunesConnect
The images get uploaded locally
User see the preview screen to preview the images and pass validations
Final upload which is through a background service where the images get uploaded to users' iTunesConnect account.
WDT.io can be used to monitor transactions with an "on-demand timer". At the beginning of your transaction, your code makes an HTTP request to wdt.io, and then again at the end of the transaction. If the second request doesn't come in within predefined time, you'll get an alert.
I'm not familiar with iTunesConnect, so this may not help. Also, if you have multiple transactions running concurrently, this won't be of help either.

Sitecore Custom profile

Using Sitecore 7.1, we have defined a custom profile with a custom user profile .Net object so that the user's values can be updated in the Security Manager.
In our site, we have a page to display the current user's profile.
If I update a user's details in the Security User Manager, I expect them to be updated on this page. This works fine locally but when we deploy to test (which has separate authoring and delivery servers), the updated details aren't displayed on the page. We have a custom database table that does contain the correct values so I don't know where the incorrect values are coming from (should I be looking at aspnet_Profile table?) ..
We are using IAuthenticationManeger.GetActiveUser().Profile to get the user to display.
Any ideas? Let me know if supplying any other code would help ...
If your are overriding the Sitecore.Security.UserProfile class and using SetCustomProperty method, then yes the values are saved in the aspnet_Profile database. If you update a user profile in a dev environment, you would need to copy those changes to your test environment via serialization or package to see them there.
If you are doing something else, then you may want to post the code for your profile class so we can get a better idea of what is going on.

Service now rest API, get Incidents for Project

I have a Java application.
I want to get incidents, requirements, and all details from Service Now using its REST API.
From the demo service now, I am trying to get the JSON. If I give a URL like following for a project with Project name, I am getting the Project details only.
https://demochannel.service-now.com/pm_project_list.do?JSONv2&sysparm_action=getRecords&displayvalue=all&displayvariables=true&sysparm_query=short_description=Demo%20project%20(small)
Based on this, I want to get incidents, requirements and other aspects what Service now provides.
If I give URL like
https://demochannel.service-now.com/incident.do?JSONv2&sysparm_action=getRecords&displayvalue=all&displayvariables=true
It will give all the incidents, which is more than 10000 in the demo. In both project and
It has system id, and number and all. From Project if I take sys_id and query incidents by sys_id, I am getting empty response.
I found only Project task under Project, and I think I can query project tasks by parent sys id.
How I can I relate the project and other aspects like incidents, requirements, change, resources, and all others and query them based on Project?
I would check out the REST API as opposed to the JSONv2 API: https://wiki.servicenow.com/index.php?title=CSHelp:REST_API