From 584e43ea1c3c6dcfed2de65ec97e4ca135d6ca2a Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 27 Apr 2020 11:41:09 +0100 Subject: [PATCH] Update LARSClient to use tolerates info --- .../ibm/ws/massive/esa/MassiveEsaTest.java | 35 ++++++++++- .../assetInfo.properties | 3 + .../lafiles/cs.html | 24 ++++++++ .../lafiles/de.html | 25 ++++++++ .../lafiles/el.html | 25 ++++++++ .../lafiles/en.html | 23 +++++++ .../lafiles/es.html | 25 ++++++++ .../lafiles/fr.html | 28 +++++++++ .../lafiles/in.html | 24 ++++++++ .../lafiles/it.html | 24 ++++++++ .../lafiles/ja.html | 19 ++++++ .../lafiles/ko.html | 18 ++++++ .../lafiles/lt.html | 23 +++++++ .../lafiles/pl.html | 24 ++++++++ .../lafiles/pt.html | 25 ++++++++ .../lafiles/ru.html | 25 ++++++++ .../lafiles/sl.html | 23 +++++++ .../lafiles/tr.html | 24 ++++++++ .../lafiles/zh.html | 16 +++++ .../lafiles/zh_TW.html | 17 ++++++ .../OSGI-INF/SUBSYSTEM.MF | 24 ++++++++ .../OSGI-INF/checksums.cs | 8 +++ .../wlp/lafiles/LA_en | Bin 0 -> 23030 bytes .../com/ibm/ws/massive/esa/MassiveEsa.java | 40 +++++++----- .../ws/massive/esa/internal/EsaManifest.java | 57 +++++++++++++++--- 25 files changed, 553 insertions(+), 26 deletions(-) create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/assetInfo.properties create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/cs.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/de.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/el.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/en.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/es.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/fr.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/in.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/it.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ja.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ko.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/lt.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pl.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pt.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ru.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/sl.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/tr.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh_TW.html create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/SUBSYSTEM.MF create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/checksums.cs create mode 100644 upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/wlp/lafiles/LA_en diff --git a/upload-lib/src/fat/java/com/ibm/ws/massive/esa/MassiveEsaTest.java b/upload-lib/src/fat/java/com/ibm/ws/massive/esa/MassiveEsaTest.java index 8f2d95e..1d82ce0 100644 --- a/upload-lib/src/fat/java/com/ibm/ws/massive/esa/MassiveEsaTest.java +++ b/upload-lib/src/fat/java/com/ibm/ws/massive/esa/MassiveEsaTest.java @@ -47,6 +47,7 @@ import java.util.List; import java.util.Locale; import java.util.Map; +import java.util.Map.Entry; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; @@ -1231,6 +1232,38 @@ public void testNoSupersedesOrSuperseded() throws RepositoryException { } + @Test + public void testTolerates() throws RepositoryException { + /** + * For reference this is a copy of the subsytem content for this asset Subsystem-Content: + * com.ibm.websphere.appserver.javax.servlet-3.0; ibm.tolerates:="3.1,4.0"; apiJar=false; + * type="osgi.subsystem.feature", com.ibm.websphere.appserver.classloading-1.0; + * type="osgi.subsystem.feature", com.ibm.websphere.appserver.ltpa-1.0; + * type="osgi.subsystem.feature", com.ibm.ws.security.authentication; version="[1.0.0,1.0.200)", + * com.ibm.ws.security.credentials.wscred; version="[1.0.0,1.0.200)", com.ibm.websphere.security; + * version="[1.1.0,1.1.200)", com.ibm.ws.security.jaas.common; version="[1.0.0,1.0.200)", + * com.ibm.ws.security.authentication.builtin; version="[1.0.0,1.0.200)", + * com.ibm.ws.security.mp.jwt.proxy; version="[1.0.0,1.0.200)" + */ + File toleratesEsa = new File(esaDir, "com.ibm.websphere.appserver.builtInAuthentication-1.0.esa"); + EsaResourceImpl resource = (EsaResourceImpl) uploadAsset(toleratesEsa); + Map> toleratesInfo = resource.getRequireFeatureWithTolerates(); + for (Entry> entry : toleratesInfo.entrySet()) { + switch (entry.getKey()) { + // The servlet feature prefers 3.0 but will tolerate 3.1 and 4.0 + case "com.ibm.websphere.appserver.javax.servlet-3.0": + assertEquals("There should be 2 tolerates entries for servlet dependancy", 2, entry.getValue().size()); + for (String s : entry.getValue()) { + assertTrue("Tolerates should be either 3.1 or 4.0", (s.equals("3.1") || s.equals("4.0"))); + } + break; + default: + // No other features have tolerates info in them + assertTrue("The tolerates entries for " + entry.getKey() + " should be empty but wasn't", entry.getValue().isEmpty()); + } + } + } + private void assertLinkEquals(String expectedLabel, String expectedLinkLabelPrefix, String expectedLinkLabelSuffix, @@ -1374,7 +1407,7 @@ public void testExtendedPackage() throws Throwable { /** * Based on a small set of features make searches to see whether the correct results match each * query - * + * * @throws Throwable */ public void testSimpleFinds() throws Throwable { diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/assetInfo.properties b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/assetInfo.properties new file mode 100644 index 0000000..9af88ee --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/assetInfo.properties @@ -0,0 +1,3 @@ +#Thu Mar 20 11:26:09 GMT 2014 +licenseType=UNSPECIFIED +longDescription=test diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/cs.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/cs.html new file mode 100644 index 0000000..259ffc0 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/cs.html @@ -0,0 +1,24 @@ + + + +Additional Terms + + +Dodatečné podmínky týkající se funkcí:
+
+Klepnutím na tlačítko "Souhlasím" vyjadřujete svůj souhlas +s tím, že se na programový kód, vzory, aktualizace, opravy a +související licencované materiály, jako jsou například klíče a +dokumentace ("Kód"), které zamýšlíte stáhnout, vztahují podmínky +licenční smlouvy, s níž jste vyjádřili souhlas při zakoupení +Programu, pro nějž jste Kód získali. Dále souhlasíte s tím, že Kód +budete instalovat nebo užívat výhradně jako součást Programu, pro +který máte platnou smlouvu nebo dokument o oprávnění (Proof of +Entitlement). Výrazy "Program" a "dokument o oprávnění (Proof of +Entitlement)" mají stejný význam jako v Mezinárodní licenční smlouvě IBM +pro Programy (IPLA). Smlouva IPLA je uvedena na adrese http: +//www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/de.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/de.html new file mode 100644 index 0000000..9417175 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/de.html @@ -0,0 +1,25 @@ + + + +Additional Terms + + +Zusätzliche Bedingungen für Features
+
+Durch Klicken auf "Anerkennen" erklären Sie sich damit +einverstanden, dass der Programmcode sowie die Beispiele, Updates, Fixes +und die zugehörigen lizenzierten Materialien wie z. B. +Schlüssel und Dokumentation ("Code"), die Sie jetzt herunterladen, +den Bedingungen der Lizenzvereinbarung unterliegen, die Sie +beim Erwerb des Programms akzeptiert haben, für das Sie den Code +herunterladen. Sie erklären sich ferner damit einverstanden, dass Sie den +Code ausschließlich als Teil eines Programms, für das Sie eine +gültige Vereinbarung oder einen gültigen Berechtigungsnachweis +besitzen, installieren oder nutzen werden. Die Begriffe "Programm" +und "Berechtigungsnachweis" haben dieselbe Bedeutung wie in den +Internationalen Nutzungsbedingungen für Programmpakete ("IPLA"). Der IPLA +kann unter http://www.ibm.com/software/sla/ eingesehen werden.
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/el.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/el.html new file mode 100644 index 0000000..d5d8d42 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/el.html @@ -0,0 +1,25 @@ + + + +Additional Terms + + +Όροι και Προϋποθέσεις για Πρόσθετες Λειτουργίες:
+
+Πατώντας το κουμπί "Συμφωνώ", συμφωνείτε ότι ο κώδικας του +προγράμματος, τα δείγματα, οι ενημερώσεις, οι επιδιορθώσεις και τα +σχετικά κατοχυρωμένα με άδεια χρήσης υλικά όπως π.χ. κλειδιά και η +τεκμηρίωση ("Κώδικας") που πρόκειται να μεταφορτώσετε (download) +υπόκεινται στους όρους της σύμβασης άδειας χρήσης που αποδεχθήκατε +όταν αποκτήσατε το Πρόγραμμα για το οποίο αποκτάτε τον Κώδικα. +Συμφωνείτε επίσης ότι θα εγκαθιστάτε και θα χρησιμοποιείτε τον Κώδικα +μόνο ως τμήμα ενός Προγράμματος για το οποίο διαθέτετε έγκυρη +σύμβαση ή Απόδειξη Δικαιώματος. Οι όροι "Πρόγραμμα" και "Απόδειξη +Δικαιώματος" έχουν την ίδια σημασία που έχουν στη Διεθνή Σύμβαση Άδειας +Χρήσης Προγράμματος της IBM (IBM International Program License +Agreement - "Σύμβαση IPLA"). Η Σύμβαση IPLA είναι διαθέσιμη για +αναφορά στην ιστοσελίδα http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/en.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/en.html new file mode 100644 index 0000000..697bcb8 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/en.html @@ -0,0 +1,23 @@ + + + +Additional Terms + + +Additional Features Terms & Conditions:
+
+By clicking on the "I agree" button , you agree that the +program code, samples, updates, fixes and related licensed +materials such as keys and documentation ("Code") that you are about +to download are subject to the terms of the license agreement +that you accepted when you acquired the Program for which you +are obtaining the Code. You further agree that you will install +or use the Code solely as part of a Program for which you have +a valid agreement or Proof of Entitlement. The terms +"Program" and "Proof of Entitlement" have the same meaning as in the +IBM International Program License Agreement ("IPLA"). The IPLA +is available for reference at http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/es.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/es.html new file mode 100644 index 0000000..81be0ec --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/es.html @@ -0,0 +1,25 @@ + + + +Additional Terms + + +
+Términos y condiciones de las funciones adicionales
+
+Al pulsar el botón "I agree", el Licenciatario acepta que +el código del programa, muestras, actualizaciones, +correcciones y materiales relacionados, sujetos a licencia, tales como +claves o documentación ("Código") que está a punto de descargar se +sometan a los términos del acuerdo de licencia que el Licenciatario +aceptara cuando adquirió el Programa para el que obtiene el Código. +El Licenciatario también acepta instalar o utilizar el Código +únicamente como parte de un Programa para el cual haya adquirido un +Documento de Titularidad válido. Los términos "Programa" y "Documento +de Titularidad" tienen el mismo significado que en el Acuerdo +Internacional de Programas bajo Licencia de IBM ("IPLA"). El IPLA se +puede consultar en http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/fr.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/fr.html new file mode 100644 index 0000000..5b47852 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/fr.html @@ -0,0 +1,28 @@ + + + +Additional Terms + + +Dispositions relatives aux fonctionnalités supplémentaires :
+
+En cliquant sur le bouton "J'accepte", Vous reconnaissez +que le code programme, les exemples, les mises à jour, les +correctifs et les éléments associés sous licence tels que les clés et +la documentation (le "Code") que Vous êtes sur le point de +télécharger sont soumis aux dispositions du Contrat de Licence que Vous +avez accepté lorsque Vous avez acquis le Logiciel pour lequel +Vous avez obtenu le Code. Vous vous engagez en outre à installer +ou à utiliser le Code uniquement dans le cadre de +l'utilisation du Logiciel pour lequel Vous possédez un Contrat de Licence +ou une Autorisation d'Utilisation du Logiciel acquis en toute +légalité. Les termes "Logiciel" et "Autorisation d'Utilisation du +Logiciel" possèdent les mêmes significations que celles figurant dans +les Conditions Internationales d'Utilisation de Logiciels IBM +("IPLA"). Les Conditions Internationales d'Utilisation de Logiciels +sont disponibles pour référence à l'adresse http://www.ibm. +com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/in.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/in.html new file mode 100644 index 0000000..513f865 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/in.html @@ -0,0 +1,24 @@ + + + +Additional Terms + + +Syarat & Ketentuan Fitur Tambahan:
+
+Dengan mengeklik tombol "Saya setuju", Anda menyetujui +bahwa kode, sampel, pembaruan, perbaikan dan materi yang +dilisensikan yang terdapat pada program seperti kode dan dokumentasi +("Kode") yang akan Anda unduh tunduk pada syarat-syarat perjanjian +lisensi yang Anda terima ketika Anda memperoleh Program yang +untuknya Anda mendapatkan Kode. Anda selanjutnya menyetujui bahwa +Anda akan menginstal atau menggunakan Kode semata-mata sebagai +bagian dari Program yang untuknya Anda memiliki perjanjian atau +Bukti Kepemilikan yang valid. Istilah "Program" dan "Bukti +Kepemilikan" memiliki arti yang sama dengan yang ada dalam Perjanjian +Lisensi Program Internasional IBM ("IPLA"). IPLA tersedia sebagai +referensi di http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/it.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/it.html new file mode 100644 index 0000000..c5254bc --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/it.html @@ -0,0 +1,24 @@ + + + +Additional Terms + + +Clausole & Condizioni per Funzioni Aggiuntive:
+
+Facendo clic sul pulsante "Accetto", il licenziatario +accetta che il codice programma, gli esempi, gli aggiornamenti, le +fix e i materiali correlati concessi in licenza, come chiavi e +documentazione ("Codice") che il licenziatario sta per scaricare, sono +soggetti alle clausole dell'accordo di licenza accettato +all'acquisizione del Programma per cui si sta ottenendo il Codice. Inoltre +il licenziatario accetta di installare o utilizzare il Codice +solo come parte di un Programma per cui possiede un accordo o +Prova di Titolarità validi. I termini "Programma" e "Prova di +Titolarità" hanno lo stesso significato che nell'IBM International +Program License Agreement ("IPLA"). L'IPLA è disponibile per +riferimento su http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ja.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ja.html new file mode 100644 index 0000000..2104d7e --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ja.html @@ -0,0 +1,19 @@ + + + +Additional Terms + + +追加機能の使用条件:
+
+お客様は、「同意します」ボタンをクリックすることで、ダウンロードしようとしているプログラム・コード、サンプル、更新、 +フィックス、およびキーや文書などの関連するライセンス資料 (以下併せて「コード」といいます。) には、お客様が「コード」を取得 +しようとしている「プログラム」を購入した際に同意した使用条件が適用されることに同意するものとします。また、お客様は、有効な +契約またはライセンス証書を有する「プログラム」の一部としてのみ「コード」を導入または使用することに同意するものとします。 +「プログラム」および「ライセンス証書」という用語は、「IBM プログラムのご使用条件」 (以下「IPLA」といいます。) で +のそれらと同じ意味を持ちます。IPLA は、http://www.ibm.com/software/sla/ で参照できま +す。
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ko.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ko.html new file mode 100644 index 0000000..be2fcae --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ko.html @@ -0,0 +1,18 @@ + + + +Additional Terms + + +추가 기능 이용 약관
+
+"동의합니다" 단추를 클릭함으로써, 귀하는 다운로드하고자 하는 프로그램 코드, 샘플, 업데이트, 수정사항 +및 라이센스가 있는 관련 자료(예: 키 및 문서)(이하 "코드")에 해당 코드가 제공되는 본 프로그램 취득 시 +귀하가 승인한 라이센스 계약의 조항이 적용된다는 것에 동의합니다. 귀하는 유효한 계약이나 라이센스 증서를 보유한 +프로그램의 일부로만 코드를 설치하거나 사용할 것에도 동의합니다. "프로그램" 및 "라이센스 증서"의 의미는 IBM +국제 프로그램 라이센스 계약(이하 "IPLA")에서 사용된 의미와 동일하게 사용됩니다. IPLA은 http: +//www.ibm.com/software/sla/에서 참조할 수 있습니다.
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/lt.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/lt.html new file mode 100644 index 0000000..0da76e1 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/lt.html @@ -0,0 +1,23 @@ + + + +Additional Terms + + +Papildomos priemonės sąlygos:
+
+Spustelėję mygtuką „Sutinku“, sutinkate, kad programos +kodui, pavyzdžiams, naujinimams, pataisoms ir susijusiai +licencijuotajai medžiagai, pvz., raktams ir dokumentams („Kodui“), kurį +ruošiatės atsisiųsti, taikomos licencinės sutarties sąlygos, su +kuriomis sutikote įsigiję Programą, kurios Kodą norite gauti. Taip +pat sutinkate, kad Kodą diegsite arba naudosite tik kaip +Programos, kurios galiojančią sutartį arba Teisių suteikimo dokumentą +turite, dalį. Terminai „Programa“ ir „Teisių suteikimo dokumentas“ +reiškia tą patį, ką ir IBM tarptautinės programos licencinė +sutartis (IPLA). IPLA galite peržiūrėti adresu http://www.ibm. +com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pl.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pl.html new file mode 100644 index 0000000..9e6ff62 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pl.html @@ -0,0 +1,24 @@ + + + +Additional Terms + + +Warunki używania dodatkowych funkcji
+
+Kliknięcie przycisku "Zgadzam się" oznacza zgodę na to, że +kod programu, przykłady, aktualizacje, poprawki i powiązane +materiały licencjonowane, takie jak klucze i dokumentacja, (zwane +dalej "Kodem"), które Użytkownik za chwilę pobierze, podlegają +warunkom umowy licencyjnej zaakceptowanej w chwili pozyskania +Programu, do którego pobierany jest Kod. Ponadto Użytkownik +zobowiązuje się zainstalować i używać Kod wyłącznie jako część +Programu, dla którego dysponuje ważną umową lub dokumentem Proof of +Entitlement. Terminy "Program" i "Proof of Entitlement" mają znaczenie +nadane im w Międzynarodowej Umowie Licencyjnej IBM na Program +("Umowa IPLA"). Umowa IPLA jest dostępna do wglądu pod adresem http: +//www.ibm.com/software/sla/.
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pt.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pt.html new file mode 100644 index 0000000..389760d --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/pt.html @@ -0,0 +1,25 @@ + + + +Additional Terms + + +Condições dos Termos de Funcionalidades Adicionais:
+
+Ao clicar no botão "Concordo", o Cliente concorda que o +código, as amostras, atualizações/actualizações, correções e +materiais licenciados relacionados do programa, como chaves e +documentação ("Código") que o Cliente está prestes a transferir por +download, estão sujeitos aos termos do contrato de licença/acordo de +licenciamento que o Cliente aceitou ao adquirir o Programa para o qual o +Cliente está obtendo o Código. O Cliente concorda também que +instalará ou usará o Código somente como parte de um Programa para o +qual o Cliente possui um contrato/acordo válido ou uma Prova de +Titularidade. Os termos "Programa" e "Prova de Titularidade" possuem o +mesmo significado que o visto no Contrato Internacional de +Licença de Programas IBM ("IPLA"). O IPLA está disponível para +referência em http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ru.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ru.html new file mode 100644 index 0000000..7b9cbac --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/ru.html @@ -0,0 +1,25 @@ + + + +Additional Terms + + +Положения и Условия, относящиеся к дополнительным функциям
+
+Нажимая кнопку "Согласен", вы соглашаетесь с тем, что +программный код, образцы, обновления, исправления и сопутствующие +лицензионные материалы, такие как ключи и документация ("Код"), которые +вы собираетесь загрузить, являются предметом положений +лицензионного соглашения, принятого вами при приобретении Программы, для +которой вы получаете Код. Вы также согласны с тем, что будете +устанавливать или использовать Код только в составе Программы, для +которой у вас есть действительное соглашение или Свидетельство о +Правах. Термины "Программа" и "Свидетельство о Правах" имеют те же +значения, что и в Международном Лицензионном Соглашении IBM в +отношении Программ (IBM International Program License Agreement, +IPLA). Соглашение IPLA доступно для справки по адресу http://www. +ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/sl.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/sl.html new file mode 100644 index 0000000..ae00d10 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/sl.html @@ -0,0 +1,23 @@ + + + +Additional Terms + + +Določila in pogoji za dodatne funkcije:
+
+Če kliknete gumb "Sprejmem", soglašate, da so programska +koda, vzorci, posodobitve, popravki in druga povezana licencirana +gradiva, kot so ključi in dokumentacija (v nadaljevanju "koda"), ki +jih boste prenesli, predmet določil licenčne pogodbe, ki ste jo +sprejeli, ko ste pridobili program, za katerega prenašate kodo. +Nadalje soglašate, da boste kodo namestili in uporabljali samo kot +del programa, za katerega imate veljavno pogodbo ali dokazilo o +upravičenosti. Izraza "program" in "dokazilo o upravičenosti" imata enak +pomen kot v IBM-ovi mednarodni licenčni pogodbi za program +("IPLA"). IPLA je na voljo za referenco na naslovu http://www.ibm. +com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/tr.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/tr.html new file mode 100644 index 0000000..c863319 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/tr.html @@ -0,0 +1,24 @@ + + + +Additional Terms + + +
+Ek Özelliklere ilişkin Kayıt ve Koşullar:
+
+"Kabul ediyorum" düğmesini tıklatarak, karşıdan yüklemekte +olduğunuz program kodunun, örneklerin, güncellemelerin, düzeltmelerin +ve anahtarlar ve belgeler gibi ilişkili lisanslı malzemelerin +("Kod"), kendisine ilişkin Kodu edindiğiniz Programı aldığınızda +kabul ettiğiniz lisans sözleşmesindeki koşullara tabi olduğunu +kabul edersiniz. Ayrıca, Kodu, yalnızca, kendisine ilişkin +geçerli bir sözleşme ya da Yetki Belgesi edinmiş olduğunuz bir +Programın parçası olarak kurmayı ya da kullanmayı da kabul edersiniz. +"Program" ve "Yetki Belgesi" terimleri, IBM Uluslararası Program +Lisans Sözleşmesindeki ("UPLS") anlamlarıyla kullanılmıştır. UPLS +belgesine http://www.ibm.com/software/sla/ adresinden erişebilirsiniz.
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh.html new file mode 100644 index 0000000..02aa02b --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh.html @@ -0,0 +1,16 @@ + + + +Additional Terms + + +其他功能部件的条款和条件:
+
+单击“我同意”按钮,即表示您同意:您打算下载的程序代码、样本、更新、修订以及密钥和文档之类的相关许可材料(统称“代码”) +遵循您在购买要为其获得代码的程序时所接受的许可协议条款。您还同意,您将“代码”仅作为自己具有有效协议或权利证明的程序的一部 +分进行安装或使用。术语“程序”和“权利证明”在 IBM 国际程序许可协议(“IPLA”)中的含义相同。要了解 IPLA,可 +参阅:http://www.ibm.com/software/sla/
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh_TW.html b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh_TW.html new file mode 100644 index 0000000..2ddeb91 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa.metadata.zip/lafiles/zh_TW.html @@ -0,0 +1,17 @@ + + + +Additional Terms + + +其他特性條款
+
+一按下「我同意」按鈕,即表示 貴客戶同意: 貴客戶擬將下載之程式碼、範例、更新、修正程式及相關授權著作(例如:金鑰及 +說明文件(「程式碼」)),應受 貴客戶於為取得「程式碼」之本程式時所接受之授權合約之條款拘束。 貴客戶進一步同意, +貴客戶應以 貴客戶所擁有有效合約或權利證明書之本程式之一部分而單獨安裝或使用本程式碼。「程式」及「權利證明書」等名詞與 +IBM 國際程式授權合約 ("IPLA") 中之該等名詞具相同意義。IPLA 提供於 http://www.ibm. +com/software/sla/,以茲參考。
+
+
+ + diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/SUBSYSTEM.MF b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/SUBSYSTEM.MF new file mode 100644 index 0000000..b544ad8 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/SUBSYSTEM.MF @@ -0,0 +1,24 @@ +Created-By: 11.0.2 (Eclipse OpenJ9) +IBM-AppliesTo: io.openliberty;productVersion="20.0.0.4" +IBM-Feature-Version: 2 +IBM-InstallTo: core +IBM-License-Agreement: wlp/lafiles/LA +IBM-ProductID: io.openliberty +Subsystem-Content: com.ibm.websphere.appserver.javax.servlet-3.0; ibm.tolerates:="3.1,4.0"; apiJar=false; type="osgi.subsystem.feature", + com.ibm.websphere.appserver.classloading-1.0; type="osgi.subsystem.feature", + com.ibm.websphere.appserver.ltpa-1.0; type="osgi.subsystem.feature", + com.ibm.ws.security.authentication; version="[1.0.0,1.0.200)", + com.ibm.ws.security.credentials.wscred; version="[1.0.0,1.0.200)", + com.ibm.websphere.security; version="[1.1.0,1.1.200)", + com.ibm.ws.security.jaas.common; version="[1.0.0,1.0.200)", + com.ibm.ws.security.authentication.builtin; version="[1.0.0,1.0.200)", + com.ibm.ws.security.mp.jwt.proxy; version="[1.0.0,1.0.200)" +Subsystem-Description: %description +Subsystem-License: https://www.eclipse.org/legal/epl-v10.html +Subsystem-Localization: OSGI-INF/l10n/com.ibm.websphere.appserver.builtinAuthentication-1.0 +Subsystem-ManifestVersion: 1 +Subsystem-SymbolicName: com.ibm.websphere.appserver.builtinAuthentication-1.0; visibility:=private; singleton:=false +Subsystem-Type: osgi.subsystem.feature +Subsystem-Vendor: IBM Corp. +Subsystem-Version: 1.0.0 +Tool: Bnd-4.3.0.201909301554 diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/checksums.cs b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/checksums.cs new file mode 100644 index 0000000..e2b6181 --- /dev/null +++ b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/OSGI-INF/checksums.cs @@ -0,0 +1,8 @@ +#Wed Apr 01 19:10:12 BST 2020 +com.ibm.ws.security.jaas.common_1.0.39.jar=e40d01d153431fa0a765086850fa4d01 +com.ibm.ws.security.credentials.wscred_1.0.39.jar=dc2ed662175df8d2fbc5a19dcbb0e4d2 +com.ibm.ws.security.authentication.builtin_1.0.39.jar=3145ffd876d9ffefbf17413339bb85db +OSGI-INF/SUBSYSTEM.MF=a586be295e823d3cbbc0d7eef0ae78b2 +com.ibm.ws.security.authentication_1.0.39.jar=13ed66d444e38049a729f0cf46aef581 +com.ibm.websphere.security_1.1.39.jar=712301a62f3e3a7487f1181a5e54b406 +com.ibm.ws.security.mp.jwt.proxy_1.0.39.jar=81757234b3b3dfaa5df7911b50dbe18e diff --git a/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/wlp/lafiles/LA_en b/upload-lib/src/fat/testResources/com.ibm.websphere.appserver.builtInAuthentication-1.0.esa/wlp/lafiles/LA_en new file mode 100644 index 0000000000000000000000000000000000000000..47cc6a0b87c61192dd59a38520e37251dfe326b4 GIT binary patch literal 23030 zcmd^{TXPl16@};d{EAb&m{i$L;@qn2Cs_zg1q%fU+dK+MfMOvL1a|oIN%q(4Ebs2= z9(1ssyrfhhotf$GeO>#~J?CHlp7y4b>0&ycUQO52*|eSxrnl46a^)mGJ%~Feas6_0 z_mjBxL;U;w^y&1wX%#<5(^oOadfJ(GzQAp1&W(-=6iTeEzzOcsSkN+|dksvEG9ie-L+};2>uBvRv5> zy126&*Y`JfZ%?;keW=)rpRdcEqqz2)-~{TS7#f)Co2SCgBwGV*Pi;ViCeJ)T1A&*REj{CGy_(Q2!Z#?9O! zpOcWpI_AS~kiv2$8)2La_H?tfE zuSmc;ylJK{idHqpk42wIL%fKqIbD*?Z-W{n`JwBr%eeF41YM&&R(n>sds*g_o{x)G zETbizKAqmh7_5hx)`4J*gLiD?qI_D?fP8**SJuA{?}Nvd*6X-xs%ol7^GHJH#V63n zdipUaLL-uz?DBnjUWYxwA(ka=^uEd}rifLrzl*Y_HFOzs;2}sFTSY$D8M?raZ<_t1 zLi5uYkDQqs+4Yo2Zt#bfu4C@2SSx9}jI}R<6MOWBSt`$A687i@b?~5K=jBcq_#27^c z#<%eR$zxe~9cv;{Bqgg8`XQUvLq}2;Mk$tz>1lHi;=n=SPpe!vlnDjE72*S$0|(9n zHCd;Y^Kp3BMUjuZ>^ScCRxN(g_H1#hnE$Nk>^f$~iq2y;xW!_?26>shJdp~0yp0k3 z*4&I19ny`wctneliRbOnNgo`qf}*S7^=VmMYu{v})_N=ZxwdWJy@YDNAIDz#5ZD8C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9Tp_IErks_M-0tuyY&TVPG1SFMTB`T?L2zqalz{j^>31Xowpry^1ZSloy2>&bJFJyMY; z>0C*x5p0Wy=Gd4uB2xP*M*kSJYPXwM+w&wmS=#&C)_<~NV2j76k&N~puJJ(*?FJz?;`03+;c{jw z>gw-z5Rc{wgc5FD2F~#p-n>sbm_;~{nUO0TuZ^x1si;M^(QR4+mE<-n+9u%|Z9Z=#CQG^bEks$85H)4j z%bPw4K9#m;A5`>&+l-3XsA>@BK6RE1ukQLT*=22M*hf#1I-__OJM%n47L0XcIYexq zB9Z5Do(E5`AGUq~9n>z&#M|Sk|9Or(@|Mw#ma`PRCUtdDB={~U5r!m{*sBmv*aJQ< zf8)-a`Z}u|S#;YEuFvl&heNN>gxwIQBuTPNvJFYJ{k}BSs+r#)@iE41Svr#{O(*EI8y zb8@}jML^Q4plY7I$op%&107V2qKTzbMz#eg28Da+W>+Yqy^wl@0%WFGGrbLUIp*)i zAyH(Y4hivxxfXF1KWD<0QJ>NUw$GuGDp ugZM&ub7TS=~#ETH`+hI<=et literal 0 HcmV?d00001 diff --git a/upload-lib/src/main/java/com/ibm/ws/massive/esa/MassiveEsa.java b/upload-lib/src/main/java/com/ibm/ws/massive/esa/MassiveEsa.java index c756dcb..d96b481 100644 --- a/upload-lib/src/main/java/com/ibm/ws/massive/esa/MassiveEsa.java +++ b/upload-lib/src/main/java/com/ibm/ws/massive/esa/MassiveEsa.java @@ -20,7 +20,9 @@ import java.io.IOException; import java.util.Collection; import java.util.HashSet; +import java.util.List; import java.util.Locale; +import java.util.Map; import java.util.StringTokenizer; import java.util.zip.ZipException; @@ -61,8 +63,7 @@ public class MassiveEsa extends MassiveUploader implements RepositoryUploader> requiredFeaturesWithTolerates = feature.getRequiredFeatureWithTolerates(); + for (Map.Entry> entry : requiredFeaturesWithTolerates.entrySet()) { + resource.addRequireFeatureWithTolerates(entry.getKey(), entry.getValue()); } + // Old version which does not collect and store tolerates info + // Calculate which features this relies on +// for (String requiredFeature : feature.getRequiredFeatures()) { +// resource.addRequireFeature(requiredFeature); +// } + // feature.supersededBy is a comma-separated list of shortNames. Add // each of the elements to either supersededBy or supersededByOptional. String supersededBy = feature.getSupersededBy(); @@ -281,6 +287,8 @@ public EsaResourceWritable uploadFile(File esa, UploadStrategy strategy, String } catch (RepositoryException re) { throw re; } + + resource.dump(System.out); return resource; } diff --git a/upload-lib/src/main/java/com/ibm/ws/massive/esa/internal/EsaManifest.java b/upload-lib/src/main/java/com/ibm/ws/massive/esa/internal/EsaManifest.java index 0ccc383..e246650 100644 --- a/upload-lib/src/main/java/com/ibm/ws/massive/esa/internal/EsaManifest.java +++ b/upload-lib/src/main/java/com/ibm/ws/massive/esa/internal/EsaManifest.java @@ -25,12 +25,14 @@ import java.util.Collections; import java.util.Enumeration; import java.util.HashSet; +import java.util.Hashtable; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; +import java.util.StringTokenizer; import java.util.jar.Manifest; import java.util.zip.ZipEntry; import java.util.zip.ZipException; @@ -55,8 +57,7 @@ public class EsaManifest { * @throws ZipException * @throws IOException */ - public static EsaManifest constructInstance(File esa) - throws ZipException, IOException { + public static EsaManifest constructInstance(File esa) throws ZipException, IOException { // Find the manifest - case isn't guaranteed so do a search ZipFile zip = new ZipFile(esa); Enumeration zipEntries = zip.entries(); @@ -67,8 +68,7 @@ public static EsaManifest constructInstance(File esa) subsystemEntry = nextEntry; } } - return new EsaManifest( - zip.getInputStream(subsystemEntry), zip); + return new EsaManifest(zip.getInputStream(subsystemEntry), zip); } private final ZipFile esa; @@ -105,11 +105,11 @@ private Properties getLocaleTranslations(Locale locale) { } ZipEntry[] entries = new ZipEntry[] { - this.esa.getEntry(localizationLocation + "_" - + locale.toString() + ".properties"), - this.esa.getEntry(localizationLocation + "_" - + locale.getLanguage() + ".properties"), - this.esa.getEntry(localizationLocation + ".properties") }; + this.esa.getEntry(localizationLocation + "_" + + locale.toString() + ".properties"), + this.esa.getEntry(localizationLocation + "_" + + locale.getLanguage() + ".properties"), + this.esa.getEntry(localizationLocation + ".properties") }; for (ZipEntry entry : entries) { if (entry != null) { @@ -246,4 +246,43 @@ public List getRequiredFeatures() { return result; } + /** + * Parse the subsystem manifest to find the required features and any tolerates info they may have. + * + * @return + */ + public Map> getRequiredFeatureWithTolerates() { + Hashtable> result = new Hashtable>(); + + // Find the Subsystem-Content section which contains the required features + Map> featureContentMap = ManifestHeaderProcessor.parseImportString(getHeader("Subsystem-Content")); + + // Check every feature + for (Entry> contentEntry : featureContentMap.entrySet()) { + + String symbolicName = contentEntry.getKey(); + Map attributes = contentEntry.getValue(); + + // Check if we are looking at a feature + if ("osgi.subsystem.feature".equals(attributes.get("type"))) { + + // Now check if we have a tolerates + String tolerates = attributes.get("ibm.tolerates:"); + List toleratedVersions = new ArrayList(); + // We do have tolerates so parse out the comma separated string into a List of strings + if (tolerates != null) { + StringTokenizer tokenizer = new StringTokenizer(tolerates, ","); + while (tokenizer.hasMoreTokens()) { + toleratedVersions.add(tokenizer.nextToken()); + } + } + + // Store the required features along with it tolerates info (which could be an empty list if no tolerates was found) + result.put(symbolicName, toleratedVersions); + } + } + + return result; + } + }