Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

baw_gov
Community profile baw_gov Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 23-03-2021 1:46:16 PM
Offline
Top badges earned by baw_gov
Customize the badges you want to showcase on your profile
Multifield with composite(not string array)
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
I want to have a multifield with data migration.It is not populating in the dialog when reopen in Touch UI dialog but I do see data in JCR. composite="{Boolean}false" I need to have composite="{Boolean}false". How to make it possible with it? The issue is I do not see it being populated in dialog when reopen dialog.

Views

87

Likes

0

Replies

2
How to set Secret Environment Variable in AEMaaCS
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
How do I configure secret environment variable for OSGI config in AEM as a Cloud Service?For example, I have a secret value that I do not want to expose on code repo how to make it possible?

Views

118

Likes

0

Replies

2
How to mock SlingSettingsService run modes in Junit5?
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
I am trying to Mock SlingSettingsService with run modes in Junit5. In my h.java file, in Activate method I have.srun = slingSettingsService.getRunModes().contains("runMode");How do I mock this in my htest.java file? This is for Junit5.

Views

119

Likes

0

Replies

2
How to mock CloseableHttpClient for Junit5 test case?
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager

Views

126

Likes

0

Replies

1
Re: How to write a Junit5 Test case for resource resolver...
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
Hi @KiranVedantam1992 thank you for your reply. I am sorry I meant system user only and this is for Junit5. The link you shared above looks like is for Junit4. Do you have any suggestions for Junit5?

Views

114

Likes

0

Replies

0
How to write a Junit5 Test case for resource resolver admin user ?
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
I have a admin user who is trying to get client id from osgi config. How can I write a Mock Junit5 test case for user and client id?

Views

140

Likes

0

Replies

2
Re: Junit5 Mockito for Acitvate method
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
Thank you for your prompt reply @koenve..I will try this method. Can you please also suggest me how to write setup method with the example you gave above?

Views

152

Likes

0

Replies

0
Junit5 Mockito for Acitvate method
Avatar
Ignite 1
Level 1
baw_gov
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
baw_gov
- Adobe Experience Manager
I have an activate method in service implementation class that is using OSGI configuration. I am looking for how to write Junit5 Test Cases for Activate method.

Views

212

Likes

0

Replies

5