* Revert the recent AWSApiRequestJob and ServiceRequestJob and use forward declaring to fix the GCC issue
Signed-off-by: Junbo Liang <68558268+junbo75@users.noreply.github.com>
* Move the queued-events constructors for AWSApiClientJob and ServiceRequestJob from public to protected, and add short description for them
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Updates and fixes to support GCC for Linux
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Unify resource mapping json schema across cpp and python usage
Signed-off-by: onecent1101 <liug@amazon.com>
* Update based on feedback
Signed-off-by: onecent1101 <liug@amazon.com>
* Add empty line at end of file
Signed-off-by: onecent1101 <liug@amazon.com>
* Enable and fix AWS Resource Mapping Tool on Linux
- Enable the trait AWSCORE_EDITOR_RESOURCE_MAPPING_TOOL_ENABLED for Linux
- Add additional traits to handle launching o3de local python on Linux
- Update the resource_mapping_tool.py to support preloading the shared libraries for Pyside (like the QtForPython gem) in order to resolve the local pyside2 libraries
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Update pyside2 to a RUNTIME dependency
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Update special linux preloading comments for clarity
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Add CR at the end of traits files
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* - Remove unnecessary extra argument '--executable-path' and use '--binaries-path' instead
- Add linux only loading of pyside modules to 'setup_qt_environment' instead
- Update README.md
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Updated unit tests for test_environment_utils.py
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Fix indentation for Linux specific logic in environment_utils.py
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Fix (more) indentation for Linux specific logic in environment_utils.py
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Replace exit with return in setup_qt_environment
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
* Removed ununeeded includes from EBus EBus.h and Policies.h
Updated the locations which needed those includes
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Adding missing include for <memory> to AWsClientAuthBus.h
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Remove the while true loop in the EBusQueuePolicy Execute() function
The while true loop in Execute was for allowing additional functions to be queued in the middle of execution of current list of functions.
That functionality was dangerous, because if a queued function added itself during execution unconditionally, then it would result in an infinite loop
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Updated the AssetManager::DispatchEvents function to pump the AssetBus event queue until empty
Queued Events on the AssetBus is able to queue additional events on that Bus during execution of those events.
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Changed the AssetManager::DispatchEvents function to only execute the
AssetBus queued events once
Changed the AssetJobsFloodTest.AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed test to dispatch events until the OnAssetContainerReady callback is signaled.
This happens after every asset load to make sure that the
expiring AssetContainer instances are removed from `AssetManager::m_ownedAssetContainer` container before retrying to load the same asset.
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Added a MaxTimeoutSeconds constant for the maximum amount of the time to run a single DispatchEvents loop
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Create AWS Core automation for the interacting with AWS resources via the AWS Core gem.
Signed-off-by: junbo <junbo@amazon.com>
Co-authored-by: clujames <clujames@amazon.com>
[LYN-4915] [iOS] [Android] awscoreconfiguration.setreg, awsMetricsClientConfiguration.setreg and authenticationProvider.setreg couldn't be loaded when the application starts
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com>
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com>
* LYN-3601: Provide skeleton classes for AWS Attribution (#31)
Provide skeleton classes for AWS Attribution, along with some basic unit tests
* Add AWS Attribution UI and settings (#56)
* Adding AWS Attributions UX and corresponding editor preference s setting
* Fix serialized field description
* Fixed update frequency to be a day
* Handling editor startup with default values for AWSAttribution
* Add missing header and remove AWSCoreSystemComponentMock fron test
* Generate and post AWSAttribution metric (#69)
* Adding AWS Attribution Api service job
* Adding support for config endpoint override
* Update Api endpoint formatting, fix default region
* Remove extra header
* Fixes for link issues
* Fix Unittest namespace
* Instantiating AWSAttributionSystemComponent in AWS.Editor module
* Update AttributionMetric with engine version and AWS enabled gems (#77)
* Update AttributionMetric with engine version and AWS enabled gems
* Fix warnings
* Undoing accidental change
* Saving level PrefabLevel_OpensLevelWithEntities
* Remove overriding editorprefrences.setreg
* Revert "Saving level PrefabLevel_OpensLevelWithEntities"
This reverts commit 529af70c55ece70fc6bc29ceb83bef60413713a3.
* Move AWS preferences to its own temp settings file
* Undo accidental file add
* Add missing string params in warning messages
Co-authored-by: Pip Potter <61438964+lmbr-pip@users.noreply.github.com>
## Details
After migrating to engine python environment, there is no extra step required to launch resource mapping tool in editor.
1. This change is to migrate the editor tool launching process to engine python environment.
2. Add messagebox to show errors while using the tool
3. Note - as Qt binaries are not well organized in build directory, so separate out *AWSCore.ResourceMappintTool* target to group Qt binaries into independent build sub folder to solve the issue (temporarily, fix can be tracked by https://jira.agscollab.com/browse/LYN-2669, once fix is done, we can just remove this individual target)
## Testing
Runs AWSCore.Editor.Tests
```
[----------] Global test environment tear-down
[==========] 8 tests from 4 test cases ran. (161 ms total)
[ PASSED ] 8 tests.
```