mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-02 03:28:00 +00:00
WIFI-1171: Organization ID or RCOI config failure
This commit is contained in:
@@ -3713,11 +3713,9 @@ public class OvsdbDao {
|
||||
Hotspot20OsuProviders hotspot2OsuProviders = osuProviders
|
||||
.get(providerProfile.getOsuServerUri());
|
||||
|
||||
StringBuffer roamingOiOctets = new StringBuffer();
|
||||
providerProfile.getRoamingOi().stream().forEach(o -> {
|
||||
roamingOiOctets.append(Byte.toString(o));
|
||||
roamingOis.add(new Atom<>(o));
|
||||
});
|
||||
roamingOis.add(new Atom<>(roamingOiOctets.toString()));
|
||||
osuProvidersUuids.add(hotspot2OsuProviders.uuid);
|
||||
osuIconUuids.addAll(hotspot2OsuProviders.osuIcons);
|
||||
domainNames.add(new Atom<>(providerProfile.getDomainName()));
|
||||
|
||||
@@ -121,11 +121,12 @@ public class OvsdbDaoTestUtilities {
|
||||
mccMncList.add(passpointMccMnc);
|
||||
Set<String> naiRealms = new HashSet<>();
|
||||
naiRealms.add(naiRealm);
|
||||
List<Byte> roamingOi = new ArrayList<>();
|
||||
roamingOi.add(Byte.valueOf("1"));
|
||||
roamingOi.add(Byte.valueOf("2"));
|
||||
roamingOi.add(Byte.valueOf("3"));
|
||||
roamingOi.add(Byte.valueOf("4"));
|
||||
List<String> roamingOi = new ArrayList<>();
|
||||
roamingOi.add("BAA2D00100");
|
||||
roamingOi.add("BAA2D00000");
|
||||
roamingOi.add("F4F5E8F5F4");
|
||||
roamingOi.add("005014");
|
||||
roamingOi.add("004096");
|
||||
hotspot20IdProviderProfile = createOsuProviderProfile(customerId, hotspot20IdProviderProfile, mccMncList,
|
||||
naiRealms, "https://example.com/osu/" + naiRealm.split("/.com")[0], naiRealm.split(".com")[0], naiRealm,
|
||||
roamingOi);
|
||||
@@ -211,7 +212,7 @@ public class OvsdbDaoTestUtilities {
|
||||
|
||||
static Profile createOsuProviderProfile(int customerId, Profile hotspot20IdProviderProfile,
|
||||
List<PasspointMccMnc> mccMncList, Set<String> realms, String serverUri, String suffix, String domainName,
|
||||
List<Byte> roamingOi) {
|
||||
List<String> roamingOi) {
|
||||
|
||||
PasspointOsuProviderProfile passpointIdProviderProfile = PasspointOsuProviderProfile.createWithDefaults();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user