hguerrero / 3scale-cms Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kristianalnaes/3scale-cms
To maintain 3scale CMS files locally
License: MIT License
This project forked from kristianalnaes/3scale-cms
To maintain 3scale CMS files locally
License: MIT License
Using: 3scale-2.8.1.GA-onprem on OCP 4.4.12
Trying to upload file with following structure topics/api-management/open-banking.html.liquid
fails. This folder and sub-folder structure doesn't exist as Developer Portal sections hierarchy.
[user@localhost tmp]$ cms <PROVIDER_KEY> <URL> upload topics/api-management/open-banking.html.liquid
Loaded ignore file list from '/tmp/.cmsignore'
Analyzing local files under '/tmp'
Getting CMS content from https://domain.com/admin/api/cms
Failed to create 'topics/api-management/open-banking.html.liquid': Failed to create required section 'topics' for 'topics/api-management/open-banking.html.liquid' : 403 Forbidden
Attempt to upload stylesheet file from local folder to 3scale CMS fails.
[user@locahost tmp]$ cmd <PROVIDER_KEY> <URL> upload css/developers-theme-1.css
Loaded ignore file list from '/tmp/.cmsignore'
Analyzing local files under '/tmp'
Getting CMS content from https://domain.com/admin/api/cms
Failed to create 'css/developers-theme-1.css': 403 Forbidden
This is a fork of a fork but is intended to be the current working site for this project. Let's update the readme accordling.
Using: 3scale-2.8.1.GA-onprem on OCP 4.4.12
Where should I look for the Swagger or ActiveDocs for the CMS API ?
At path "/p/admin/api_docs#/account_management_api" of admin portal it's not displayed on any of following sections/operations categories:
Either cannot locate the API definition for "/admin/api/cms" at https://github.com/3scale/porta/tree/3scale-2.8.1-GA
cms -k --directory=. --access-token=${ADMIN_PORTAL_URL_B2B_TOKEN} ${ADMIN_PORTAL_URL_B2B_TOKEN} https://${ADMIN_PORTAL_URL_B2B}/ download -u
Downloading accounts/users/index.html.liquid (published)
Downloading messages/_menu.html.liquid (published)
Downloading applications/alerts/index.html.liquid (published)
Downloading login
java.lang.NullPointerException
at com.fwmotion.threescale.cms.cli.DownloadCommand.performDownload(DownloadCommand.java:170)
at com.fwmotion.threescale.cms.cli.DownloadCommand.call(DownloadCommand.java:147)
at com.fwmotion.threescale.cms.cli.DownloadCommand.call(DownloadCommand.java:26)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at io.quarkus.picocli.runtime.PicocliRunner$EventExecutionStrategy.execute(PicocliRunner.java:26)
at picocli.CommandLine.execute(CommandLine.java:2078)
at io.quarkus.picocli.runtime.PicocliRunner.run(PicocliRunner.java:40)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:131)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:69)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:42)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:60)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:31)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.