Coder Social home page Coder Social logo

无法删除旧的配置 about apollo HOT 7 CLOSED

cjdxhjj avatar cjdxhjj commented on June 11, 2024
无法删除旧的配置

from apollo.

Comments (7)

dosubot avatar dosubot commented on June 11, 2024 2

To address the issue of not being able to delete an old configuration and the interface not accurately reflecting the most recent update or refresh times, you can follow these steps:

  1. Deleting an Old Configuration: Look for the delete link for each configuration item in the Apollo interface. This link triggers the removeItem function, which is responsible for removing items from the synchronization process. This function operates on createItems and updateItems, representing items to be created and updated, respectively. For more technical details, you can refer to the SyncConfigController.js file in the Apollo repository.

  2. Ensuring Accurate Reflection of Update/Refresh Times: The interface's reflection of update or refresh times might require ensuring that the AngularJS controller associated with the page updates the model and view accordingly. This involves calling backend APIs to fetch the latest configuration state and then updating the AngularJS model, which updates the view.

  3. Manual Refresh Option: If automatic updates do not reflect, consider implementing a manual refresh option. In the Apollo interface, there's a button that calls the refreshNamespace() function, which can be a starting point for implementing or troubleshooting this functionality.

Ensure that the backend and AngularJS services are correctly integrated and support the necessary functionality for deletion and fetching the latest configuration state. If issues persist, checking error messages and confirming that you have the necessary permissions to delete configurations might provide further insights.

The version of Apollo you're working with is identified as 2.3.0-SNAPSHOT in the pom.xml file, which might be relevant when looking into documentation or seeking specific help for your version.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

from apollo.

nobodyiam avatar nobodyiam commented on June 11, 2024 1

可以 debug 或者使用 arthas 看下是哪里引用了 application namespace

from apollo.

nobodyiam avatar nobodyiam commented on June 11, 2024

说明这几个实例还连着。配置获取时间是指第一次拿到这个配置的时间。

from apollo.

cjdxhjj avatar cjdxhjj commented on June 11, 2024

我代码里早已去除了其引用

from apollo.

cjdxhjj avatar cjdxhjj commented on June 11, 2024

image
通过日志发现,client会一直试图加载application 这个namespace

from apollo.

stale avatar stale commented on June 11, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

from apollo.

stale avatar stale commented on June 11, 2024

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.