Skip to content

mgmt, proof of concept, patch test-jar to module#12864

Closed
weidongxu-microsoft wants to merge 2 commits intoAzure:masterfrom
weidongxu-microsoft:mgmt_poc_module-info_test-jar
Closed

mgmt, proof of concept, patch test-jar to module#12864
weidongxu-microsoft wants to merge 2 commits intoAzure:masterfrom
weidongxu-microsoft:mgmt_poc_module-info_test-jar

Conversation

@weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Jul 7, 2020

On this, I can run playback on resources and authorization modules.

Also need this #12863

package com.azure.resourcemanager.resources.core;

import com.azure.core.credential.TokenCredential;
import com.azure.core.implementation.TypeUtil;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChenTanyi

Please try find time to remove dependency on implementation package.

Comment on lines +142 to +145
--patch-module com.azure.resourcemanager.resources=../../resources/mgmt/target/test-classes
--add-opens com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.core=com.fasterxml.jackson.databind,com.azure.core
--add-exports com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.core=ALL-UNNAMED,com.azure.resourcemanager.authorization
--add-reads com.azure.resourcemanager.resources=ALL-UNNAMED
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black magic here...

It patches test-jar into the resources module.

@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_poc_module-info_test-jar branch September 9, 2020 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant